Feroxbuster
Table of Contents
Fast, recursive content discovery tool written in Rust. Preferred over Gobuster for web enumeration — automatically recurses into discovered directories without re-invocation. Use feroxbuster for directory and file discovery; use ffuf when the fuzz point is a parameter, header, or virtual host rather than a URL path.
Related: Content Discovery Subdomain Enumeration Web Application Testing Methodology IIS Penetration Testing
Core Flags
| Flag | Description |
|---|---|
-u |
Target URL (required) |
-w |
Wordlist path |
-x |
File extensions e.g. -x php,html,txt |
-t |
Threads (default: 50) |
-d |
Recursion depth (default: 4 — use -d 2 to limit) |
--no-recursion |
Disable automatic recursion entirely |
-T |
Request timeout in seconds |
-H |
Add header e.g. -H "Cookie: session=abc" |
-b |
Add cookie |
-p |
Proxy e.g. -p http://127.0.0.1:8080 |
-k |
Disable TLS certificate verification |
-U / -P |
Basic auth username / password |
-o |
Output to file |
-q |
Quiet mode — suppress banner and progress bars |
--resume-from |
Resume a previously interrupted scan from state file |
Filtering
| Flag | Description |
|---|---|
-s |
Status codes to include (default: 200,204,301,302 etc) |
--filter-status |
Exclude specific status codes e.g. --filter-status 404,403 |
-S / --filter-size |
Filter by response size in bytes |
--filter-words |
Filter by word count |
--filter-lines |
Filter by line count |
--filter-regex |
Filter responses matching a regex |
Wordlists
| Wordlist | Use case |
|---|---|
Discovery/Web-Content/common.txt |
General, fast |
Discovery/Web-Content/raft-medium-directories.txt |
Broader coverage |
Discovery/Web-Content/directory-list-2.3-medium.txt |
Classic, comprehensive |
Discovery/Web-Content/raft-medium-files.txt |
File discovery |
All under /usr/share/seclists/. Install: sudo apt install seclists
Common Workflows
Initial scan
feroxbuster -u http://$IP \ -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt \ -x php,html,txt,bak \ -o ferox_initial.txt
Filter noise by size and status
feroxbuster -u http://$IP \ -w /usr/share/seclists/Discovery/Web-Content/common.txt \ --filter-status 404,403 --filter-size 0
IIS target — ASPX extensions
feroxbuster -u http://$IP \ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files.txt \ -x aspx,asp,config,txt \ --filter-status 404
Authenticated scan with session cookie
feroxbuster -u http://$IP \ -w /usr/share/seclists/Discovery/Web-Content/common.txt \ -H "Cookie: session=<token>"
HTTPS target
feroxbuster -u https://$IP -k \ -w /usr/share/seclists/Discovery/Web-Content/common.txt
Route through Burp for inspection
feroxbuster -u http://$IP \ -w /usr/share/seclists/Discovery/Web-Content/common.txt \ -p http://127.0.0.1:8080 -k
Tips
- Start with
-d 2— unlimited recursion on large sites can run indefinitely and generate excessive noise - Filter by size (
-S) rather than status code when a site returns 200 for everything — a consistent response size indicates a generic error page masquerading as a valid response - Save output with
-o— results scroll past quickly in long scans - Start with
common.txtfor speed; follow up withraft-medium-directories.txton interesting paths only - State file is saved automatically — use
--resume-fromto continue an interrupted scan without starting over - Combine with ffuf for parameter fuzzing once directories are found
- On rate-limited targets reduce threads with
-t 10