NMAP Cheat Sheet
Scan a subnet
- nmap 10.10.0.0/24
Scan list of ip addresses
- nmap 10.10.0.1, 10.10.0.2, 10.10.0.99
Scan from a custom list file
- nmap -iL IpList.txt
List all IP for a given subnet
- nmap -iS -n 192.168.50.0/24
List all IP remove additional info
- nmap -sL -n 16.178.61.0/24 | grep 'Nmap scan report for' | cut -f 5 -d ' '