Skip to content
Payload Playground

Gobuster Directory Fuzzing Cheatsheet

Complete gobuster reference for directory brute-forcing, DNS subdomain discovery, vhost enumeration, and fuzzing. (26 payloads)

Build custom Gobuster payloads in the Local File Inclusion generator

Directory Mode (dir)

(6)
gobuster dir -u http://target.com -w /usr/share/seclists/Discovery/Web-Content/common.txt
Basic directory scan
gobuster dir -u http://target.com -w wordlist.txt -x php,html,txt,bak,zip
Scan with file extensions
gobuster dir -u http://target.com -w wordlist.txt -s 200,204,301,302,307,403
Show specific status codes only
gobuster dir -u http://target.com -w wordlist.txt -b 404,500
Blacklist (hide) specific status codes
gobuster dir -u http://target.com -w wordlist.txt -t 50
Use 50 threads
gobuster dir -u http://target.com -w wordlist.txt -o results.txt
Save output to file

DNS Subdomain Mode (dns)

(4)
gobuster dns -d target.com -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
Subdomain enumeration
gobuster dns -d target.com -w subdomains.txt --show-cname
Show CNAME records (useful for subdomain takeover)
gobuster dns -d target.com -w subdomains.txt -r 8.8.8.8
Use specific DNS resolver (Google DNS)
gobuster dns -d target.com -w subdomains.txt -t 100
Use 100 threads for faster enumeration

VHost Mode (vhost)

(3)
gobuster vhost -u http://target.com -w subdomains.txt
Virtual host discovery via Host header
gobuster vhost -u http://target.com -w subdomains.txt --append-domain
Append base domain to each word (word.target.com)
gobuster vhost -u http://10.10.10.10 -w subdomains.txt -H "Host: FUZZ.target.com"
VHost fuzzing against IP address

Fuzz Mode (fuzz)

(3)
gobuster fuzz -u "http://target.com/page?id=FUZZ" -w ids.txt
Fuzz URL parameter value
gobuster fuzz -u "http://target.com/FUZZ/page" -w wordlist.txt
Fuzz path segment
gobuster fuzz -u http://target.com -H "X-FUZZ: test" -w headers.txt
Fuzz custom header value

Authentication & Options

(5)
gobuster dir -u http://target.com -w wordlist.txt -c "session=abc123"
Add cookie for authentication
gobuster dir -u http://target.com -w wordlist.txt -H "Authorization: Bearer eyJ..."
Add Authorization header
gobuster dir -u http://target.com -w wordlist.txt -U admin -P password
HTTP Basic authentication
gobuster dir -u http://target.com -w wordlist.txt -k
Skip TLS certificate verification
gobuster dir -u http://target.com -w wordlist.txt -p http://127.0.0.1:8080
Use proxy (Burp Suite)

Common Wordlists

(5)
/usr/share/seclists/Discovery/Web-Content/common.txt
Common files and directories (~4k entries)
/usr/share/seclists/Discovery/Web-Content/raft-large-directories.txt
Large directory list (~62k entries)
/usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
Top 5000 subdomains
/usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
DirBuster medium list (~220k entries)
/usr/share/seclists/Discovery/Web-Content/api/objects.txt
API endpoint wordlist
ShareXLinkedInReddit

Level up your security testing

Related Generators

Related Cheat Sheets

Frequently asked questions

What is the Gobuster Directory Fuzzing Cheatsheet?+

It's a quick-reference collection of 26 Gobuster payloads for testing Gobuster Directory Fuzzing Cheatsheet vulnerabilities during authorized penetration testing, bug bounties, and CTFs. Every payload is copy-ready and grouped by attack context.

How do I use these Gobuster payloads?+

Copy any payload straight into your authorized test, or open the Local File Inclusion generator to build customized Gobuster variants with encoding and WAF-bypass options. Only test systems you have explicit permission to assess.

Are these Gobuster payloads free to use?+

Yes — this cheat sheet and all Gobuster payloads are completely free, with no account required. Everything runs in your browser.

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/cheatsheets/gobuster) and your browser. If you’re signed in, we include your account ID and plan so support can prioritize Pro requests. Please leave out secrets and client data.