NMap Cheatsheet

NMap Cheatsheet

Scan a Host

nmap <host>
nmap localhost

Note: You can use IP or website as hostname

Scan a range of IP

nmap 192.168.43.1-100

Scan a subnet

nmap 192.168.43.1.0/24

Scan targets from a file

nmap -iL <filename>

Enable service version detection

nmap -sV <host>

Specify Port Number

nmap -p80 <host>

Fingerprint WAF

nmap --script=http-waf-fingerprint <host>

Fingerprint WAF (Intensive)

nmap --script=http-waf-fingerprint --script-args http-waf-fingerprint.intensive=1 <host>

Original:  Updated: