nerdexam
EC-Council

312-50V12 · Question #301

What would be the purpose of running "wget 192.168.0.15 -q -S" against a web server?

The correct answer is B. Using wget to perform banner grabbing on the webserver. The wget command with the -q and -S flags is used to perform banner grabbing by retrieving and displaying HTTP server response headers without downloading the page content.

Submitted by chen.hong· Mar 4, 2026Reconnaissance Techniques

Question

What would be the purpose of running "wget 192.168.0.15 -q -S" against a web server?

Options

  • APerforming content enumeration on the web server to discover hidden folders
  • BUsing wget to perform banner grabbing on the webserver
  • CFlooding the web server with requests to perform a DoS attack
  • DDownloading all the contents of the web page locally for further examination

How the community answered

(64 responses)
  • A
    2% (1)
  • B
    91% (58)
  • C
    5% (3)
  • D
    3% (2)

Why each option

The `wget` command with the `-q` and `-S` flags is used to perform banner grabbing by retrieving and displaying HTTP server response headers without downloading the page content.

APerforming content enumeration on the web server to discover hidden folders

The command does not include options for recursive scanning or directory bruteforcing, which are required for content enumeration or discovering hidden folders.

BUsing wget to perform banner grabbing on the webserverCorrect

The `-S` (or `--server-response`) option instructs `wget` to print HTTP response headers, which frequently contain the server's banner information such as the web server software and version. The `-q` (or `--quiet`) option suppresses all other output, making it ideal for retrieving only these headers for banner grabbing without downloading the full page.

CFlooding the web server with requests to perform a DoS attack

A single `wget` command makes only one or a few requests and does not generate enough traffic to flood a web server and perform a Denial-of-Service attack.

DDownloading all the contents of the web page locally for further examination

The `-q` and `-S` options are used to suppress the download and display of the actual web page content, instead focusing on retrieving and printing the server's response headers.

Concept tested: `wget` command options for banner grabbing

Source: https://www.gnu.org/software/wget/manual/wget.html

Topics

#banner grabbing#wget#web server enumeration#reconnaissance tools

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice