November 2012
Intermediate to advanced
318 pages
6h 36m
English
Ping scans are used for detecting live hosts in networks. Nmap's default ping scan (-sP) uses a TCP ACK and an ICMP echo request to determine if a host is responding, but if a firewall is blocking these requests, we will miss this host. Fortunately, Nmap supports a scanning technique called the TCP SYN ping scan that is very handy in these situations, where system administrators could have been more flexible with other firewall rules.
This recipe will talk about the TCP SYN ping scan and its related options.
Open your terminal and enter the following command:
$ nmap -sP -PS 192.168.1.1/24
You should see the list of hosts found using the TCP SYN ping scan:
$ nmap -sP -PS 192.168.1.1/24 Read now
Unlock full access