Gobuster on Parrot OS: directory and DNS discovery
Gobuster on Parrot OS is a fast, Go-based command-line tool that brute-forces hidden paths, files, DNS subdomains and virtual hosts. It sends a wordlist at a web server and reads the HTTP status codes that come back, so an unlinked admin panel or backup file gives itself away. Defenders use it to check what their own sites expose beyond the sitemap. Testers use it to hand a client a repeatable list of forgotten endpoints.
This post covers what Gobuster is, when to reach for it, how to install it on Parrot OS, the legal limits that apply, a worked example against a lab VM you own, and the defences that make its results dull. The install steps follow Parrot’s own documentation and the official gobuster repository.
What Gobuster on Parrot OS is and when to use it
Gobuster is an open-source brute-forcing tool written in Go, created by Christian Mehlmauer and OJ Reeves. The project describes it as a high-performance directory/file, DNS and virtual host brute-forcing tool. In practice it has several modes: dir for web paths, dns for subdomains, vhost for virtual hosts, plus fuzz, s3, gcs and tftp modes.
Reach for it after you have mapped a host with Nmap and confirmed a web server is listening. Directory and content discovery is the next reflex: admin panels, backup files, old test scripts and API endpoints often sit at predictable paths with no link pointing to them. Gobuster throws a list of common names at the server and watches the status codes, so a 200 or 301 on /admin tells you something is there even when the homepage never mentions it.
It is not a vulnerability scanner. Gobuster finds what exists; it does not tell you whether a found endpoint is safe. Pair the output with a proxy such as Burp Suite for hand testing, and use SpiderFoot earlier for passive subdomain and OSINT context.
Installing it on Parrot OS
Parrot OS Security Edition ships Gobuster in its standard toolset, so it is often already present. Check first:
gobuster version
If it is missing, install it from Parrot’s repositories:
sudo apt update
sudo apt install gobuster
Parrot bundles the SecLists collection and the classic dirb and dirbuster wordlists. Check what is available:
ls /usr/share/wordlists/
ls /usr/share/seclists/Discovery/Web-Content/
If SecLists is missing, install it with sudo apt install seclists. For a first pass, /usr/share/seclists/Discovery/Web-Content/common.txt is small and fast. When you want deeper coverage, step up to directory-list-2.3-medium.txt. Bigger lists find more but take far longer and generate far more requests, so match the list to your patience and the target. Keep Parrot current with sudo parrot-upgrade so gobuster and its dependencies stay patched.
Ethical and lawful use
Only run Gobuster against systems you own or have written permission to test. In the UK, unauthorised access to a system or data can engage the Computer Misuse Act 1990. Gobuster is noisy by design: a wordlist scan sends hundreds or thousands of requests, which can look like an attack to the target’s logs and can degrade a shared host.
The practical rules: agree scope in writing, name the target and the time window, keep thread counts reasonable on shared lab infrastructure, and save output so you can reproduce every finding. Hammering a third-party website with a wordlist is both noisy and, in most places, illegal.
Worked example on a lab target
Lab target: a local web server you own on an isolated host-only network — for example DVWA or a plain Apache or nginx container on your own VM. Nothing below touches a real system. If you still need a lab, see our guide to creating a pentesting environment with Parrot OS and Kali Linux on VirtualBox.
Confirm the target is up, then run a small directory sweep:
gobuster dir -u https://192.168.56.101 -w /usr/share/seclists/Discovery/Web-Content/common.txt -t 10
What this does: dir selects directory and file enumeration, -u names the target URL including the scheme, -w points at the wordlist, and -t 10 keeps the default thread count. Gobuster prints each found path with its status code and size, for example:
/admin (Status: 301) [Size: 312] [--> /admin/]
/index.php (Status: 200) [Size: 5124]
/backup (Status: 403) [Size: 278]
To add file extensions and save the results:
gobuster dir -u https://192.168.56.101 -w /usr/share/seclists/Discovery/Web-Content/common.txt -x php,txt,bak -t 10 -o gobuster-dir.txt
-x appends each extension to every wordlist entry, so a hit can surface as login.php or config.bak, and -o writes the findings to a file you can review without re-running.
Two filtering habits keep the output honest. If the server returns 200 for every path, blacklist it with -b 200, whitelist the codes you care about with -s 200,301,302,403, or filter by response size with --exclude-length using the byte count of a known missing page. If everything looks like a 301 redirect, -r follows the redirects so you see the real destination. After you have found endpoints, inspect the same traffic in Wireshark to confirm what was actually served.
DNS mode is a separate sweep against a domain you control:
gobuster dns -do lab.example -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -t 10
Use it on your own lab domain only.
Defences and detections
Gobuster succeeds when a web server exposes more than it means to. Fix that and the tool has nothing useful to return.
- Remove default and unused pages. Delete the default landing page, sample scripts,
/backupcopies and old.bakfiles. Most gobuster hits are not hidden features; they are leftovers. - Return a consistent 404. Serve the same small 404 page for every missing path and disable directory listing, so enumeration cannot distinguish a real path from a missing one.
- Restrict sensitive paths at the server. Require authentication for admin panels and management endpoints, and block
.bak,.old,.zipand similar extensions at the reverse proxy. - Rate-limit and alert. A burst of hundreds of 404s from one address in a short window is a detection signal. Log the source, throttle it, and alert in your SIEM or WAF. Web server access logs are the evidence.
- Patch and minimise the stack. Remove unused software, plugins and virtual hosts. Gobuster’s
vhostmode only finds what the server still answers for. - Scan your own estate first. Run gobuster yourself against a staging copy or your own lab and close what it finds before someone else does.
Gobuster on Parrot OS is a quick, repeatable way to see what your web presence gives away. Keep it pointed at systems you own, and fix the leftovers it finds before an attacker tries the same list.
Sources
- gobuster repository and documentation — Apache-2.0 licence; the authoritative source for modes, flags and installation.
- Parrot Linux guide to Gobuster and ffuf — install steps, wordlist locations and lab enumeration habits on Parrot OS.
- Kali Linux tools page for gobuster — package summary and the standard
sudo apt install gobustermethod.







