-
Notifications
You must be signed in to change notification settings - Fork 14
nmapAutomator
lethanhtung01011980 edited this page Oct 21, 2019
·
1 revision
Automate nmap scans. Always have some recon running in the background.
Installation:
- wget https://github.com/21y4d/nmapAutomator/raw/master/nmapAutomator.sh
- chmod 755 nmapAutomator.sh
- apt-get install gobuster --only-upgrade
Installation for nmap_vulners
- https://github.com/vulnersCom/nmap-vulners
- (For Vulns) cd /usr/share/nmap/scripts
- (For Vulns) wget https://github.com/vulnersCom/nmap-vulners/raw/master/vulners.nse
- nmap --script-updatedb
Sampe commmands
- ./nmapAutomator.sh
- ./nmapAutomator.sh victim_ip All
- ./nmapAutomator.sh victim_ip Basic
- ./nmapAutomator.sh victim_ip Recon
- ./nmapAutomator.sh victim_ip Vulns
If you want to use it anywhere on the system, create a shortcut using:
- ln -s /PATH-TO-FOLDER/nmapAutomator.sh /usr/local/bin/
Mode:
- Quick: Shows all open ports quickly (~15 seconds)
- Basic: Runs Quick Scan, then a runs more thorough scan on found ports (~5 minutes)
- UDP: Runs "Basic" on UDP ports (~5 minutes)
- Full: Runs a full range port scan, then runs a thorough scan on new ports (~5-10 minutes)
- Vulns: Runs CVE scan and nmap Vulns scan on all found ports (~5-15 minutes)
- Recon: Runs "Basic" scan "if not yet run", then suggests recon commands "i.e. gobuster, nikto, smbmap" based on the found ports, then prompts to automatically run them
- All: Runs all the scans consecutively (~20-30 minutes)