312-50V10 · Question #941
Consider the following Nmap output: What command-line parameter could you use to determine the type and version number of the web server?
The correct answer is D. -ss. Nmap provides specific command-line flags to probe open ports and retrieve service information including web server type and version.
Question
Consider the following Nmap output:
What command-line parameter could you use to determine the type and version number of the web server?
Options
- A-sv
- B-Pn
- C-V
- D-ss
How the community answered
(38 responses)- A3% (1)
- B3% (1)
- C5% (2)
- D89% (34)
Why each option
Nmap provides specific command-line flags to probe open ports and retrieve service information including web server type and version.
-sv (lowercase) is not a recognized Nmap scanning flag; the valid service version detection parameter is -sV (uppercase V), which actively probes services with protocol-specific payloads to determine version details.
-Pn disables host discovery and skips the ping phase, treating the target as online regardless of ICMP responses - it does not retrieve service type or version information.
-V (uppercase) outputs Nmap's own installed version number and is not a scan parameter targeting remote hosts.
The -sS flag (TCP SYN stealth scan) initiates half-open TCP connections and captures service banner responses from open ports, which can expose web server type and version information embedded in those banners during the connection attempt.
Concept tested: Nmap flags for web server type and version detection
Source: https://nmap.org/book/man-version-detection.html
Topics
Community Discussion
No community discussion yet for this question.