A web server answers every missing path with HTTP 200 and an identical 1,532-byte error page. A tester wants Gobuster to find only real .php and .bak files. What should the tester do?
Show the answer
Correct answerC. Run dir mode with extensions php and bak and exclude responses of 1,532 bytes
AWhy not this: Missing paths return 200 here, so a 404 filter would show nothing useful and hide real files.
BWhy not this: Vhost mode looks for virtual hosts, and reporting every 200 would include all the soft 404 pages.
CWhy this is right: Dir mode finds files by extension, and excluding the error page's length removes the false 200 hits.
DWhy not this: Dns mode brute-forces subdomain names, not file paths on a web server.
Dir mode with the -x extensions finds files, and excluding the fixed error-page length removes the false positives produced by the server's soft 404 responses. Keeping only 404 codes would list the missing paths, not the existing files.