No Port Scan
A no port scan prevents Nmap from doing a port scan after host discovery. It is specified with the
-sn option. Used by itself, it is also known as a “ping” scan. It is less intrusive and attracts less attention than a full port scan.
Note: This option is often combined with a no ping scan (
nmap -sn <target>
This performs a scan of
<target> without doing a port scan.
The following example runs a no ping scan on the site scanme.nmap.org:
nmap -sn scanme.nmap.org
scanme.nmap.orgis a domain set up explicitly for people to test Nmap with.
This results in the following output:
Starting Nmap 7.93 ( https://nmap.org ) at 2022-11-29 12:45 Eastern Standard TimeNmap scan report for scanme.nmap.org (18.104.22.168)Host is up (0.093s latency).Other addresses for scanme.nmap.org (not scanned): 2600:3c01::f03c:91ff:fe18:bb2fNmap done: 1 IP address (1 host up) scanned in 11.48 seconds