nmap
commands
find which hosts are up
nmap -sn 192.168.1.0/24
-snPing scan, disable port scan
aggressive scan
nmap -v -A scanme.nmap.org
-vverbose, use-vvfor more verbosity-Aenable OS, version detection, script scanning, and traceroute
fast port scan
nmap -sS -F 192.168.1.0/24
-sSsend a SYN packet-Ffast mode, scan fewer ports
other flags
-Pnno pingoA <file>sends to output filesSsends SYN packetsUUDPsVversion scan