htr-tech / zphisher

An automated phishing tool with 30+ templates. This Tool is made for educational purpose only ! Author will not be responsible for any misuse of this toolkit !
GNU General Public License v3.0
11.46k stars 3.85k forks source link

server/.cld.log: No such file or directory #772

Open smoke-wolf opened 1 year ago

smoke-wolf commented 1 year ago

Which environment you are using ?

Linux / Desktop

Describe the bug

on macOS and am running into a server/.cld.log: No such file or directory This issue was already flagged and closed, however, when originaly opened it was on a windows device. The same error occurs on mac.

Provide log output [Optional]

[-] Launching Cloudflared...grep: .server/.cld.log: No such file or directory

  ░▀▀█░█▀█░█░█░▀█▀░█▀▀░█░█░█▀▀░█▀▄
  ░▄▀░░█▀▀░█▀█░░█░░▀▀█░█▀█░█▀▀░█▀▄
  ░▀▀▀░▀░░░▀░▀░▀▀▀░▀▀▀░▀░▀░▀▀▀░▀░▀ 2.3.5

[?] Do you want to change Mask URL? [y/N] : n
zphisher.sh: line 552: ${mask_op,,}: bad substitution
smoke-wolf commented 1 year ago

Substitution error was with the function:

Corrected function here:

custom_mask() { { sleep .5; clear; banner_small; echo; } read -n1 -p "${RED}[${WHITE}?${RED}]${ORANGE} Do you want to change Mask URL? ${GREEN}[${CYAN}y${GREEN}/${CYAN}N${GREEN}] :${ORANGE} " mask_op echo if [[ $(echo "$mask_op" | tr '[:upper:]' '[:lower:]') == "y" ]]; then echo -e "\n${RED}[${WHITE}-${RED}]${GREEN} Enter your custom URL below ${CYAN}(${ORANGE}Example: https://get-free-followers.com${CYAN})\n" read -e -p "${WHITE} ==> ${ORANGE}" -i "https://" mask_url if [[ ${mask_url//:} =~ ^([h][t][t][p][s]?)$ || ${mask_url::3} == "www" ]] && [[ ${mask_url#http//} =~ ^[^,~!@%:\=#\;\^*\"\'|\?+\<>({)}\/]+$ ]]; then mask=$mask_url echo -e "\n${RED}[${WHITE}-${RED}]${CYAN} Using custom Masked Url :${GREEN} $mask" else echo -e "\n${RED}[${WHITE}!${RED}]${ORANGE} Invalid URL type.. Using the default one.." fi fi }

aravkr14 commented 9 months ago

Substitution error was with the function:

Corrected function here:

custom_mask() { { sleep .5; clear; banner_small; echo; } read -n1 -p "${RED}[${WHITE}?${RED}]${ORANGE} Do you want to change Mask URL? ${GREEN}[${CYAN}y${GREEN}/${CYAN}N${GREEN}] :${ORANGE} " mask_op echo if [[ $(echo "$mask_op" | tr '[:upper:]' '[:lower:]') == "y" ]]; then echo -e "\n${RED}[${WHITE}-${RED}]${GREEN} Enter your custom URL below ${CYAN}(${ORANGE}Example: https://get-free-followers.com${CYAN})\n%5Cn)" read -e -p "${WHITE} ==> ${ORANGE}" -i "https://" mask_url if [[ ${maskurl//:} =~ ^([h][t][t][p][s]?)$ || ${mask_url::3} == "www" ]] && [[ ${maskurl#http//} =~ ^[^,~!@%:\=#\;\^*\"\'|\?+\<>({)}\/]+$ ]]; then mask=$mask_url echo -e "\n${RED}[${WHITE}-${RED}]${CYAN} Using custom Masked Url :${GREEN} $mask" else echo -e "\n${RED}[${WHITE}!${RED}]${ORANGE} Invalid URL type.. Using the default one.." fi fi }

please tell me in simple language how to fix it... while I am pressing y for Do you want to change Mask URL? [y/N] this option -zphisher.sh: line 552: ${mask_op,,}: bad substitution this is coming how to fix??

Cadennw7 commented 1 month ago

any fix to this at all? im having the same issue

Cadennw7 commented 1 month ago

[01] Localhost [02] Cloudflared [Auto Detects] [03] LocalXpose [NEW! Max 15Min]

[-] Select a port forwarding service : 2

[-] Enter Your Custom 4-digit Port [1024-9999] : 5000

[-] Initializing... ( http://127.0.0.1:5000 )

[-] Setting up server...

[-] Starting PHP server...

[-] Launching Cloudflared...grep: .server/.cld.log: No such file or directory

Aryamanu221 commented 1 month ago

En beku nimge heli nane kodthini

On Tue, 1 Oct 2024, 8:17 am Chewmint, @.***> wrote:

[01] Localhost [02] Cloudflared [Auto Detects] [03] LocalXpose [NEW! Max 15Min]

[-] Select a port forwarding service : 2

[-] Enter Your Custom 4-digit Port [1024-9999] : 5000

[-] Initializing... ( http://127.0.0.1:5000 )

[-] Setting up server...

[-] Starting PHP server...

[-] Launching Cloudflared...grep: .server/.cld.log: No such file or directory

— Reply to this email directly, view it on GitHub https://github.com/htr-tech/zphisher/issues/772#issuecomment-2384672099, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXNHLQ7E4XQKPDCCVQBVVN3ZZIENDAVCNFSM6AAAAABPETC276VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUGY3TEMBZHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>