Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for target in $(cat /media/khunerable/796D-4229/abc/Desktop/PunyaKhun/target.txt); do
- for backup in $(cat /media/khunerable/796D-4229/abc/Desktop/PunyaKhun/list.txt); do
- res=$(curl -sL -w "%{http_code}\\n" -H "User-Agent: *" "$target$backup" -o /dev/null)
- echo "[+] $target$backup => $res"
- if (($res == 200))
- then
- #echo "[*] Downloading $backup ...."
- #exec wget -q $target$backup
- #echo "[*] Done!"
- echo "$target$backup" >> result.txt
- fi
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment