link not showing
sir the direct link is not showing
sir the direct link is not showing
Mine also, link not generating If anyone can ,then please help
Open hotspot
On Sun, Aug 22, 2021, 12:54 maartand @.***> wrote:
sir the direct link is not showing
Mine also, link not generating If anyone can ,then please help
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/techchipnet/CamPhish/issues/76#issuecomment-903226178, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQNBIUGF5HNDB5ZFYF3VZLT6CQ2NANCNFSM5CR7XLBA .
Open hotspot … On Sun, Aug 22, 2021, 12:54 maartand @.***> wrote: sir the direct link is not showing Mine also, link not generating If anyone can ,then please help — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#76 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQNBIUGF5HNDB5ZFYF3VZLT6CQ2NANCNFSM5CR7XLBA .
but i'm in pc
Same here, everything seems to work properly but the direct link does not show up, its empty.
Hello, Hope you doing well I find a solution for you : Solution Click here.
Let me if it work for you too.
sir the direct link is not showing
Hello, Hope you doing well I find a solution for you : Solution Click here.
i found the reason for why the link is not showing up.
i checked the ngrok dashboard and saw the link was generated but its not showing up in the console on my computer. so i edited the camphish.sh file and modified
LINE: 209 (line number can be different on your file)
replace the $link variable with
$(curl -s -N http://127.0.0.1:4040/api/tunnels | python3 -c "import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])" )
for some reason the grep is not working there so i used python to filter (parse) json which conatins the direct link.
Just make sure to edit line 209
printf "\e[1;92m[\e[0m*\e[1;92m] Direct link:\e[0m\e[1;77m %s\e[0m\n" $link
and in replace $link variable with $(curl -s -N http://127.0.0.1:4040/api/tunnels | python3 -c "import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])" )
then save the file and restart camphish.sh
Я нашел причину, по которой ссылка не отображается. Я проверил панель управления ngrok и увидел, что ссылка была сгенерирована, но не отображается в консоли на моем компьютере. поэтому я отредактировал файл camphish.sh и изменил LINE: 209 (номер строки может быть другим в вашем файле) заменил
$linkпеременную на
$(curl -s -N http://127.0.0.1:4040/api/tunnels | python3 -c "import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])" )по какой-то причине grep там не работает, поэтому я использовал python для фильтрации (синтаксического анализа) json, который содержит прямую ссылку.
Только не забудьте отредактировать строку 209
printf "\e[1;92m[\e[0m*\e[1;92m] Direct link:\e[0m\e[1;77m %s\e[0m\n" $linkи замените
$linkпеременную на,$(curl -s -N http://127.0.0.1:4040/api/tunnels | python3 -c "import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])" )затем сохраните файл и перезапустите camphish.sh
не работает