Certified Ethical Hacker (CEH v12) — Question 283
What would be the purpose of running "wget 192.168.0.15 -q -S" against a web server?
Answer options
- A. Performing content enumeration on the web server to discover hidden folders
- B. Using wget to perform banner grabbing on the webserver
- C. Flooding the web server with requests to perform a DoS attack
- D. Downloading all the contents of the web page locally for further examination
Correct answer: B
Explanation
The correct answer, B, is accurate because the '-S' option in wget is used for retrieving the server's response headers, which is a method for banner grabbing. Options A and D are incorrect as they describe different functionalities of wget, while option C is not applicable since the command does not flood the server but rather retrieves data.