Reconnaissance and Enumeration

A tester runs gobuster in dir mode against a PHP site and wants each wordlist entry also tried with the .php and .bak extensions. Which option does this?

Show the answer

Correct answerA. -x php,bak

AWhy this is right: This appends each listed extension to every wordlist word, finding files like config.bak.

BWhy not this: This supplies a username for authentication and has no effect on the names tried.

CWhy not this: This sets 50 concurrent threads, which changes speed and not the names requested.

DWhy not this: This skips TLS certificate verification and does not add extensions.

The -x option appends each listed extension to every wordlist entry, so config also becomes config.php and config.bak. The -t option only sets the number of threads and does not change what is requested.