QuestionQ55

VerifiedSecurity Operations

A security analyst performs an Nmap scan against a host that has multiple open ports by using this command: nmap 10.10.10.1 -p-

The following output is returned after the scan:

Starting Nmap 7.95 ( https://nmap.org ) at 2025-07-15 15:55 UTC  
Note: Host seems down.  
Nmap done: 1 IP address (0 hosts up) scanned in 3.16 seconds  

Which of the following is the most accurate command to scan the target IP for open ports?

Explanation

Nmap normally performs host discovery before port scanning and scans only hosts it considers up. The -Pn option bypasses host discovery and attempts the requested scan against the target even when ping-style discovery is blocked; -p- scans all TCP ports. The -sn option is unsuitable because it disables port scanning.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!