Certified Ethical Hacker (CEH v11) — Question 340
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 is B because the command 'wget 192.168.0.15 -q -S' is used to fetch the HTTP headers from the web server, which is a method of banner grabbing. Options A, C, and D do not accurately describe the function of this command, as it does not involve content enumeration, DoS attacks, or downloading all webpage contents.