Security is Everyone's Job
Scan a single IP: nmap 192.168.1.1
nmap 192.168.1.1
Scan specific IPsnmap 192.168.1.1 192.168.2.1
nmap 192.168.1.1 192.168.2.1
Scan a rangenmap 192.168.1.1-254
nmap 192.168.1.1-254
Scan a domainnmap scanme.nmap.org
nmap scanme.nmap.org
Scan using CIDR notationnmap 192.168.1.0/24
nmap 192.168.1.0/24
Scan targets from a filenmap -iL targets.txt
nmap -iL targets.txt
Exclude listed hostsnmap -exclude 192.168.1.1
nmap -exclude 192.168.1.1
Disable host discoverynmap 192.168.1.1-5 -Pn
nmap 192.168.1.1-5 -Pn
TCP SYN discovery on portnmap 192.168.1.1-5 -PS22-25,80
nmap 192.168.1.1-5 -PS22-25,80
TCP ACK discovery on portnmap 192.168.1.1-5 -PA22-25,80
nmap 192.168.1.1-5 -PA22-25,80
ARP discovery on localnmap 192.168.1.1-1/24 -PR
nmap 192.168.1.1-1/24 -PR
Port scan for port xnmap 192.168.1.1 -p 21
nmap 192.168.1.1 -p 21
Port scan from service namenmap 192.168.1.1 -p http,https
nmap 192.168.1.1 -p http,https
Port scan the top x portsnmap 192.168.1.1 -top-ports 2000
nmap 192.168.1.1 -top-ports 2000
Port scan multiple TCP and UDP ports: nmap 192.168.1.1 -p U:53,T:21-25,80
nmap 192.168.1.1 -p U:53,T:21-25,80
Fast port scan (100 ports)nmap 192.168.1.1 -F
nmap 192.168.1.1 -F