+86 1525 3141 880
HOME >> Support and Service >> CNC Blogs
Gobuster is a tool used for directory/file & DNS busting (bruteforcing). Common use cases:
Gobuster is a fast, command-line tool written in used for brute-forcing URIs (directories and files), DNS subdomains, and virtual hosts. Below are the most useful commands and flags based on common penetration testing and bug bounty workflows. Core Execution Modes
Gobuster operates in specific "modes" depending on your target: HackerTarget.com Утилиты red team: Gobuster - Positive Research
Gobuster is a high-performance brute-forcing tool written in Go, widely used by security professionals for enumerating web directories, DNS subdomains, and virtual hosts. 🚀 Updated Core Commands
As of the latest releases (v3.x), Gobuster uses a modular command structure. You must specify the mode first, followed by its respective flags.
dir (Directory Enumeration): Discover hidden files and folders. gobuster dir -u
dns (Subdomain Discovery): Bruteforce subdomains for a domain. gobuster dns -d gobuster commands upd
vhost (Virtual Host Discovery): Find virtual hosts on a web server. gobuster vhost -u s3 (Bucket Enumeration): Enumerate open Amazon S3 buckets. gobuster s3 -w
fuzz (Custom Fuzzing): Flexible fuzzing for any part of an HTTP request.
gcs & tftp: Newer modes for Google Cloud Storage and TFTP server discovery. 🛠️ Key Performance & Logic Flags
Optimizing your scans is crucial for speed and avoiding detection.
Concurrency (-t): Sets the number of concurrent threads. Default is 10, but 50-100 is common for faster scans.
Extensions (-x): Search for specific file types (e.g., -x php,html,txt). Status Code Filtering: Use -b to exclude status codes (e.g., -b 404,403). Gobuster is a tool used for directory/file &
Use -s to include only specific codes (e.g., -s 200,204,301,302,307). Output (-o): Save results to a file for later analysis.
Quiet Mode (-q): Suppresses banners and progress bars for cleaner logs.
No Progress (--no-progress): Useful when redirecting output to other tools. ⚠️ Recent Updates & Version Changes
New CLI Library: The latest updates introduced more short options and user-friendly error messages.
Debug Flag: The -v (verbose) flag has been replaced by --debug for more granular logging.
Wordlist Comments: Strings starting with # are no longer ignored, which may affect legacy custom wordlists. Renamed Flags: In DNS mode, show-cname is now check-cname. gobuster dir -u https://redacted
💡 Pro Tip: Use wordlists from repositories like SecLists for the most effective enumeration results. If you'd like, I can help you: Draft a cheat sheet for your specific workflow Troubleshoot a "command not found" error Compare Gobuster with tools like FFUF or Feroxbuster
Gobuster is a multi-threaded brute-force/directory/file/DNS busting tool written in Go. It is commonly used in penetration testing, CTFs, and bug bounties to discover hidden web directories, files, virtual hosts, subdomains, and even AWS S3 buckets.
Its key strengths:
gobuster dir -u https://redacted.com -w /opt/seclists/Discovery/Web-Content/big.txt -t 100 -x pdf,zip,bak,old,sql -s 200,204,301,302,307 -b 400,401,403,404,429 --no-tls-validation -H "X-Forwarded-For: 127.0.0.1" -o bounty_results.txt
To see the IP addresses of found subdomains, use the -v flag.
gobuster dns -d target.com -w wordlist.txt -t 30 -v
If you are copying commands from old blogs, they might fail. Here is what changed:
Here are some key commands and options you might find useful:
jq 'select(.status==200) .url' "gobuster_$(date +%Y%m%d).json"