Host Discovery
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-sL | nmap 192.168.1.1-3 -sL | No Scan. List targets only |
-sn | nmap 192.168.1.1/24 -sn | Disable port scanning. Host discovery only. |
-Pn | nmap 192.168.1.1-5 -Pn | Disable host discovery. Port scan only. |
-PS | nmap 192.168.1.1-5 -PS22-25,80 | TCP SYN discovery on port x. |
Port 80 by default | ||
-PA | nmap 192.168.1.1-5 -PA22-25,80 | TCP ACK discovery on port x. |
Port 80 by default | ||
-PU | nmap 192.168.1.1-5 -PU53 | UDP discovery on port x. |
Port 40125 by default | ||
-PR | nmap 192.168.1.1-1/24 -PR | ARP discovery on local network |
-n | nmap 192.168.1.1 -n | Never do DNS resolution |
Comments
Related