Nmap cheatsheet
listing ip adddress from system
- nmap -sn 192.168.0.0/24
-
nmap 192.168.0.0/24 Service scan report -
nmap -v [ip] Verbose scanning -
nmap [ip1] [ip2] [ip3] Scanning Multiple Host -
nmap 192.168.0.* Scanning an entire subnet -
nmap 192.168.0.101,102,103,104 Scanning multiple systems -
nmap -iL file.txt A file which contains ip -
nmap 192.168.0.101-110 Range of ip -
nmap [ip] –exclude [ipx] Exclude ipx -
nmap -A [ip] OS detection, traceroute etc -
nmap -O [ip] Os guessing -
nmap -sA [ip] detects if firewall is being used -
nmap -sP 192.168.0.* check alive nodes in network -
-F Fast scan -
-V Version -
-r Scan ports consecutively -
–iflist Host interface and route info -
-p T/U[ports] scan specific (T/U)cp/dp port