nerdexam
EC-Council

312-50V11 · Question #170

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 -S flag prints the server response headers, making it a tool for banner grabbing to fingerprint a web server.

Footprinting and Reconnaissance

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

(44 responses)
  • A
    5% (2)
  • B
    93% (41)
  • D
    2% (1)

Why each option

The wget command with the -S flag prints the server response headers, making it a tool for banner grabbing to fingerprint a web server.

APerforming content enumeration on the web server to discover hidden folders

Content enumeration for hidden directories typically involves tools like dirb or gobuster that iterate over wordlists of paths; wget -S against a single IP does not enumerate directories.

BUsing wget to perform banner grabbing on the webserverCorrect

The -S flag in wget instructs it to print the HTTP response headers received from the server, which typically includes the Server field revealing the web server software and version. The -q flag suppresses progress output to keep results clean. Together these flags make wget behave as a banner grabbing tool rather than a file downloader.

CFlooding the web server with requests to perform a DoS attack

A DoS flood requires sending high volumes of repeated requests rapidly; a single wget command with -q -S fetches one response and exits, producing no flooding effect.

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

Downloading page content locally is the default wget behavior without flags; the -q flag suppresses download output and -S redirects focus to headers, not content retrieval.

Concept tested: Using wget -S flag for banner grabbing

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

Topics

#banner grabbing#wget#web server fingerprinting#HTTP headers

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice