nerdexam
EC-Council

312-50V11 · 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 A. -sv. The Nmap -sV flag enables service and version detection, revealing the type and version number of services such as web servers running on open ports.

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?

Exhibit

312-50V11 question #941 exhibit

Options

  • A-sv
  • B-Pn
  • C-V
  • D-ss

How the community answered

(43 responses)
  • A
    93% (40)
  • C
    2% (1)
  • D
    5% (2)

Why each option

The Nmap -sV flag enables service and version detection, revealing the type and version number of services such as web servers running on open ports.

A-svCorrect

The -sV flag in Nmap enables version detection by probing open ports and interrogating running services to determine the application name and version number, which would identify the web server type (e.g., Apache 2.4.51 or nginx 1.18). This is the correct parameter for gathering service version information from a target host.

B-Pn

-Pn skips host discovery (ping probing) and treats all hosts as online, which has no effect on identifying service versions.

C-V

-V (uppercase) displays the Nmap version number itself, not information about target services or applications.

D-ss

-sS performs a TCP SYN (stealth) port scan to identify open ports, but does not detect service types or version numbers.

Concept tested: Nmap service and version detection flag

Source: https://nmap.org/book/man-version-detection.html

Topics

#Nmap#service version detection#banner grabbing#web server fingerprinting

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice