gobuster dir -u https://target.com \ -w /usr/share/wordlists/seclists/Discovery/Web-Content/raft-medium-directories.txt \ -x php,html,js,txt,bak,zip \ -t 50 \ -k \ --random-agent

The --append-domain flag automatically appends the target domain to each word. This is useful when your wordlist contains only subdomain names rather than fully qualified domain names.

gobuster dir -u https://example.com -w /usr/share/wordlists/dirb/common.txt \ -x php,html,txt --expanded --status-codes 200,204,301,302 --threads 50 \ --delay 100ms --timeout 5s --no-error

gobuster dns -d example.com -w subdomains.txt -t 50 -i -c -o dns_results.txt

Following recent development cycles, including the shift to v3.x+, several changes have been implemented to improve usability and performance:

gobuster dns -d example.com -w subdomains.txt

Internal networks or specific configurations might require querying a dedicated DNS resolver rather than your local system's default settings. gobuster dns -d internal.local -w wordlist.txt -r 1.1.1.1 Use code with caution. 3. Virtual Host Enumeration ( vhost mode)