Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cat << "EOF"
- ____ ____ ___ ____ _____ _ _ _____ _____
- | __ ) / ___/ _ \| _ \| ____| | \ | | ____|_ _|
- | _ \| | | | | | | | | _| | \| | _| | |
- | |_) | |__| |_| | |_| | |___ _| |\ | |___ | |
- |____/ \____\___/|____/|_____(_)_| \_|_____| |_|
- GRAB ALL DOMAIN ZH
- Ccocot | ccocot@bc0de.net
- Thank For Zombie-Root
- EOF
- ngegrab(){
- local COOKIE="ZH=24aea5f3d8f5b8f6c12c92bb94afb1a9; PHPSESSID=s776iurb0se9hp936ifrubim66;"
- local UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
- local MIRROR_ID=$(curl -s "http://www.zone-h.org/archive/published=0/page=${1}" --cookie "${COOKIE}" -A "${UA}" | grep -Po "(?<=/mirror/id/)[^\"]*")
- for id in ${MIRROR_ID}; do
- URL=$(curl "http://www.zone-h.org/mirror/id/${id}" -s --cookie "${COOKIE}" -A "${UA}" | grep -Po "(?<=Domain:</strong>)[^<]*" | cut -d'/' -f3)
- printf "[+] ${URL}\n"
- echo ${URL} >> web.txt
- done
- }
- for (( i = 3; i < 30; i++ )); do
- printf "[ ==== PAGE ${i} ==== ]\n"
- ngegrab ${i}
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement