Gobuster Commands Upd Jun 2026
This mode checks if the server responds differently when changing the Host header in the HTTP request. Basic Vhost Scan
To find specific files (like configuration leaks or backup scripts), append extensions to your wordlist payload using the -x flag.
gobuster dir -u https://target.com -w words.txt --exclude-length 0,4321
/usr/share/wordlists/SecLists/Discovery/DNS/ (The gold standard repository for subdomains and vhosts) gobuster commands upd
The Ultimate Gobuster Commands Guide: Directory, DNS, and VHost Enumeration
| Mode | Command | Use Case | | :--- | :--- | :--- | | | gobuster dir -u URL -w list.txt -x php,txt | Find folders/files. | | DNS | gobuster dns -d domain.com -w list.txt | Find subdomains. | | VHost | gobuster vhost -u URL -w list.txt --append-domain | Find virtual hosts (internal sites). | | Fuzz | gobuster fuzz -u URL/FUZZ -w list.txt | Custom brute forcing. |
Web servers often serve a default "Catch-All" page for any unrecognized Host header, giving false positive 200 OK responses for every single word in your list.To bypass this, look at the content size or line count of a fake host response, then use flags like --exclude-length to filter them out. This mode checks if the server responds differently
While tools like Dirbuster, Feroxbuster, and Wfuzz offer similar functionality, Gobuster remains highly popular due to its predictability and performance:
Gobuster operates in several distinct modes depending on your target:
: It natively handles directories, DNS subdomains, virtual hosts (VHosts), Cloud buckets, and TFTP servers. | | DNS | gobuster dns -d domain
Where <mode> is one of:
Gobuster remains the standard for speed and reliability. Updating your syntax to match version 3.x ensures your scans run smoothly and you don't miss critical vulnerabilities hidden behind virtual hosts or specific file extensions.
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
