Skip to content

Commit d8ae171

Browse files
author
Yisus7u7
authored
Fix cloudflared link
When you run zphisher again, the previous link is saved in the log file.
1 parent 75bc77c commit d8ae171

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zphisher.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ start_ngrok() {
410410

411411
## Start Cloudflared
412412
start_cloudflared() {
413+
rm .cld.log > /dev/null 2>&1 &
413414
echo -e "\n${RED}[${WHITE}-${RED}]${GREEN} Initializing... ${GREEN}( ${CYAN}http://$HOST:$PORT ${GREEN})"
414415
{ sleep 1; setup_site; }
415416
echo -ne "\n\n${RED}[${WHITE}-${RED}]${GREEN} Launching Cloudflared..."

0 commit comments

Comments
 (0)