Here are a small series of NMap scanning scripts:
Read out all NMap vulnerabilites from /usr/share/nmap/scripts to “all_nmap_vulns” first
#!/bin/bash
# Scan given target with all NMap vulnerability scripts
# <usage> ./nmap_vulns.sh <target>
for script in $(cat all_nmap_vulns); do nmap $1 –script $script –unprivileged -sV -P0 -T4; done
Same script but using proxy chains:
#!/bin/bash
# Scan given target with all NMap vulnerability scripts
# <usage> ./nmap_vulns.sh <target>
for script in $(cat all_nmap_vulns); do proxychains nmap $1 –script $script; done
Leave a comment