312-50V13 · Question #481
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. Explanation Running wget 192.168.0.15 -q -S performs banner grabbing because the -S flag instructs wget to print the server response headers (such as the web server type, version, and OS information), while the -q flag suppresses the normal output so only the headers are…
Question
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
(45 responses)- A2% (1)
- B89% (40)
- C2% (1)
- D7% (3)
Explanation
Explanation
Running wget 192.168.0.15 -q -S performs banner grabbing because the -S flag instructs wget to print the server response headers (such as the web server type, version, and OS information), while the -q flag suppresses the normal output so only the headers are displayed - making it a clean, targeted technique for identifying server software. This is a common reconnaissance technique used by penetration testers to fingerprint a target web server without downloading its content. Option A is incorrect because content enumeration requires tools like Dirb or Gobuster that iterate through wordlists, not a single wget request. Option C is wrong because a DoS flood requires rapid, repeated requests - a single wget command with these flags does none of that. Option D is incorrect because -q (quiet mode) suppresses content download output, and -S shifts the focus entirely to headers, not page content.
Memory Tip: Think "-S = Server Secrets" - the -S flag reveals what the server says about itself in its response headers, which is the definition of banner grabbing. If you see -S in a wget command on the exam, think reconnaissance/fingerprinting.
Topics
Community Discussion
No community discussion yet for this question.