ffuf Basics: Fuzz Your Own Web App to Find Hidden Endpoints (Legally)
Every web app has pages nobody links to — admin panels, old backups, test endpoints, API routes. Attackers find them by fuzzing: sending thousands of guessed URLs and watching which ones answer. ffuf is the fast, free tool built exactly for that. Here is how to use it on your own websites.
What Is ffuf?
ffuf (Fuzz Faster U Fool) is a command-line web fuzzer written in Go. You give it a wordlist of possible names and a URL with a placeholder, and it fires requests at high speed, filtering the noise so only interesting responses stand out. It is a staple in bug bounty hunting and web security testing.
Installing ffuf
# On Kali or Debian-based Linuxsudo apt install ffuf# Or with Gogo install github.com/ffuf/ffuf/v2@latest
Your First Fuzz
The placeholder FUZZ marks where each wordlist entry goes:
ffuf -w /usr/share/wordlists/dirb/common.txt \ -u http://your-own-site.local/FUZZ
ffuf will try every word in the list as a path on your site and report status codes. A 200 means the page exists; 403 means it exists but is forbidden; 404 means nothing is there.
Filtering the Noise
Raw fuzzing output is mostly 404s. Filter it down to what matters:
# Only show responses that are NOT 404ffuf -w wordlist.txt -u http://your-own-site.local/FUZZ -fc 404# Only show 200 and 301 responsesffuf -w wordlist.txt -u http://your-own-site.local/FUZZ -mc 200,301# Hide responses of a specific size (common for custom 404 pages)ffuf -w wordlist.txt -u http://your-own-site.local/FUZZ -fs 1234
The -fs size filter is the secret weapon. Many sites return a 200 status for missing pages with a custom error body — filtering by response size removes those false positives.
Fuzzing More Than Paths
ffuf can fuzz almost any part of a request:
# Fuzz GET parametersffuf -w params.txt -u "http://your-own-site.local/page.php?FUZZ=test" -fs 0# Fuzz subdomains with a Host headerffuf -w subdomains.txt -u http://your-own-site.local/ -H "Host: FUZZ.your-own-site.local" -fc 404# Fuzz file extensionsffuf -w wordlist.txt -u http://your-own-site.local/FUZZ -e .php,.bak,.old,.txt
That last one is how testers find backup files like config.php.bak — files that should never be public.
Staying Fast Without Breaking Things
- Rate-limit yourself. Add -t 20 to cap threads and -p 0.1 to add a small delay between requests. Flooding your own server teaches you nothing if it crashes.
- Use recursion carefully. -recursion follows discovered directories deeper, but it multiplies requests fast. Use it on small scopes first.
- Save output. -o results.json -of json keeps a clean record for your report.
The Golden Rule
Fuzzing sends thousands of requests to a server. That is fine on your own site or a lab, but pointing it at someone else’s site without written permission is unauthorized testing — and it can look like an attack to their monitoring. Only test systems you own or have written permission to test.
ffuf will not make you a hacker by itself. But it will show you, in minutes, how much of your own web app is hiding in plain sight. Fix what it finds before someone else does.



Comments
Post a Comment