nmap Cheatsheet

Default Scanning as Non-root with no Flags/Options
nmap 192.168.1.0/24 = nmap -sT 192.168.1.0/24
(noisy)
Default Scanning as Root with no Flags/Options
nmap 192.168.1.0/24 = nmap -sS 192.168.1.0/24
(quiet)
Process
The Noisy Way
When to use: When you need detailed information quickly and stealth is not a concern. Consideration: This method generates a lot of traffic and is likely to be detected by IDS/IPS systems.
nmap -sT -vv -oA network-topology <ip.addr/24>
grep open network-topology.gnmap | cut -d" " -f 2 > device_list.txt
nmap -A --excludefile device_list.txt <ip.addr/24>
echo "<IP_ADDRESS>" >> device_list.txt
nmap -Pn -A -iL device_list.txt










