Gobuster Commands Upd May 2026
gobuster dir -u https://example.com -w wordlist.txt -x php,txt -t Use code with caution. Copied to clipboard π DNS Mode ( Used for subdomain enumeration. Target domain gobuster dns -d example.com Subdomain wordlist -w subdomains.txt Show IP addresses Use custom DNS resolver -r 8.8.8.8 Show CNAME records --wildcard Force scan even if wildcard DNS is found --wildcard Example Command:
gobuster dns -d example.com -w /path/to/subdomains.txt -i -t Use code with caution. Copied to clipboard π₯οΈ VHost Mode ( Identifies virtual hosts by changing the gobuster vhost -u
Hereβs a detailed review of gobuster commands, covering its purpose, core command structure, essential flags, practical use cases, and best practices. gobuster commands upd
Scenario B: CTF Challenge with Rate Limiting
gobuster dir -u http://ctf.challenge.local -w small.txt -t 5 --delay 500ms --exclude-length 0,1234
Modes
Gobuster operates in several modes:
-
dir: This is the default mode, used for directory and file brute-forcing. gobuster dir -u https://examplegobuster dir -u https://example.com -w /path/to/wordlist.txt -
dns: Used for DNS subdomain brute-forcing.gobuster dns -d example.com -w /path/to/wordlist.txt -
vhost: Used for virtual host brute-forcing. Scenario B: CTF Challenge with Rate Limiting gobustergobuster vhost -u https://example.com -w /path/to/wordlist.txt -
fuzz: Used for fuzzing.gobuster fuzz -u https://example.com/FUZZ -w /path/to/wordlist.txt
Updated Output Formats
For automation, request JSON:
gobuster dns -d example.com -w words.txt -o dns_results.json -j
The -j flag produces line-delimited JSON, ready for jq parsing.
5. Performance & Stability Updates (v3.4+)
- Reduced memory footprint β streams wordlist instead of loading all at once
- Proper context cancellation β Ctrl+C now exits cleanly
- Improved wildcard detection β better false-positive handling for DNS
- Random user-agent rotation (optional via
--useragent)
3. Deprecated / Removed Commands
β gobuster -m flag β removed in v3.0 (mode must be subcommand)
β -r for follow redirect β now --follow-redirect
β -q quiet flag β replaced by --quiet
β --plain β removed (use --no-tls-validation instead)
β --proxy β still exists but moved under global flags
