Guest User

httpenum.sh

a guest
Feb 2nd, 2017
374
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. if [ $# -ne 3 ]
  3. then
  4. echo "HTTP Enumeration Script V2"
  5. echo "Usage httpenum.sh <target> <port> <DirSearch Extension Module (e.g PHP, ASP, ALL)>"
  6. exit
  7. fi
  8.  
  9. echo "Running DirSearch..."
  10. python3 /root/Desktop/dirsearch-master/dirsearch.py -u http://$1:$2 -e $3 --plain-text-report=./$1/dirsearch-report.txt --random-agents | tee
  11.  
  12. echo "Running NMap HTTP Enumeration"
  13. nmap --script=http-enum $1 | tee -a ./$1/http-enum.txt
  14.  
  15. echo "Running Nikto Vulnerability Assessment"
  16. nikto -h http://$1:$2 | tee -a ./$1/nikto.txt
  17.  
  18. echo "Running NMap HTTP Vuln Assessment"
  19. nmap --script=http-vuln* $1 | tee -a ./$1/http-vuln.txt
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×