nerdexam
EC-Council

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.

Scanning Networks

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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    5% (2)
  • D
    89% (34)

Why each option

Nmap provides specific command-line flags to probe open ports and retrieve service information including web server type and version.

A-sv

-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.

B-Pn

-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.

C-V

-V (uppercase) outputs Nmap's own installed version number and is not a scan parameter targeting remote hosts.

D-ssCorrect

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

#Nmap#-sV flag#version detection#web server fingerprinting

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice