Skip to content
Pwnversity
TOOL-FFUFintermediate · 10 min · upd. 2026-11

ffuf & gobuster

ffuf and gobuster are web fuzzers: they try words from a wordlist against the target and show you what answers differently. They’re used to discover hidden content (directories, files, backups), virtual hosts, undocumented parameters and values that change the application’s behaviour. The tool is the easy part; what decides the outcome is filtering the baseline response properly and choosing the right wordlist.

  • ffuf (Fuzz Faster U Fool): very fast and flexible. The FUZZ keyword marks where to inject, and it can go in the URL, any header or the body.
  • gobuster: simple and robust, with dedicated modes (dir, vhost, dns, fuzz).
  • feroxbuster: recursive by default with automatic filtering of repeats; good for a first broad sweep.
Ventana de terminal
sudo apt install ffuf gobuster feroxbuster seclists # Kali/Parrot; SecLists in /usr/share/seclists
# or with Go
go install github.com/ffuf/ffuf/v2@latest
go install github.com/OJ/gobuster/v3@latest

Before fuzzing, look at how the server responds to something that doesn’t exist. That’s the baseline response, and the whole job is hiding it.

Ventana de terminal
curl -s -o /dev/null -w '%{http_code} %{size_download}\n' https://host/does-not-exist-123
# 200 4521 → the server answers 200 to everything (soft-404): filtering by status is useless
Option What it does
-mc · -fc Show · hide by status (by default ffuf already shows 200-299, 301, 302, 307, 401, 403, 405, 500)
-ms · -fs By size in bytes
-mw · -fw By word count
-ml · -fl By line count
-mr · -fr By regular expression on the response
-ac Auto-calibration: learns the baseline with test requests and filters it by itself
-acc Adds your own calibration strings

A reliable strategy: -mc all (see everything) plus a baseline filter (-fs, -fw or -ac). If -ac over- or under-filters, calibrate by hand with the baseline’s size or word count.

Ventana de terminal
ffuf -u https://host/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words.txt -mc all -fs 4521
ffuf -u https://host/FUZZ -w wl.txt -ac
Ventana de terminal
# Quick first sweep
ffuf -u https://host/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -ac
# Files with the extensions of the detected stack
ffuf -u https://host/FUZZ -w wl.txt -e .php,.bak,.old,.txt -ac
# Bounded recursion
ffuf -u https://host/FUZZ -w wl.txt -recursion -recursion-depth 2 -ac
# gobuster and feroxbuster equivalents
gobuster dir -u https://host -w wl.txt -x php,bak
feroxbuster -u https://host -w wl.txt -x php,bak -d 2
Stack Extensions worth adding
PHP .php, .phtml, .php.bak, .inc
.NET .aspx, .ashx, .asmx, .config
Java .jsp, .do, .action
Any .bak, .old, .zip, .tar.gz, .txt, ~

Pick extensions based on the stack fingerprint: adding all of them multiplies requests without improving results.

The same IP can serve several sites depending on the Host header. A vhost doesn’t need a public DNS record, so it only shows up when you fuzz that header.

Subdomain Vhost
DNS Has its own record May have none
IP Can point to another machine Same IP, different Host
How you find it DNS sources, certificates, DNS brute force Fuzzing the Host header
Ventana de terminal
# Baseline for a made-up Host
curl -s -o /dev/null -w '%{size_download}\n' -H 'Host: zzzz.domain.htb' http://10.10.10.5/
# Vhost fuzzing
ffuf -u http://10.10.10.5/ -H 'Host: FUZZ.domain.htb' \
-w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -fs <baseline-size>
# gobuster: --append-domain appends the domain to each word
gobuster vhost -u http://domain.htb -w subs.txt --append-domain

Every vhost you find goes into /etc/hosts and gets fuzzed again as if it were another site.

Ventana de terminal
# Hidden GET parameters: FUZZ in the NAME
ffuf -u 'https://host/page.php?FUZZ=test' \
-w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt -fs <baseline-size>
# POST parameters: you must set the Content-Type yourself
ffuf -u https://host/page.php -X POST -d 'FUZZ=test' \
-H 'Content-Type: application/x-www-form-urlencoded' -w params.txt -fs <baseline-size>
# JSON body
ffuf -u https://host/api/items -X POST -d '{"FUZZ":"test"}' \
-H 'Content-Type: application/json' -w params.txt -fs <baseline-size>
# Values: FUZZ in the VALUE (IDs for IDOR, file names, actions)
seq 1 500 > ids.txt
ffuf -u 'https://host/api/users?id=FUZZ' -w ids.txt -mc 200 -fs <baseline-size>
# Headers that change the logic ("localhost only")
ffuf -u https://host/admin -H 'X-Forwarded-For: FUZZ' -w ips.txt -mc all -fc 403
# Methods against a 403
ffuf -u https://host/admin -X FUZZ -w <(printf 'GET\nPOST\nPUT\nPATCH\nDELETE\nOPTIONS\nHEAD\n') -mc all

For hidden parameters there are also dedicated tools (arjun, x8) that try many names per request and compare responses.

Each list gets its own keyword (-w list.txt:KEYWORD), and the mode decides how they combine:

Mode How it combines Typical use
clusterbomb (default) Every combination across lists Users × passwords in a lab
pitchfork In parallel: line 1 with line 1, 2 with 2… Known pairs (a user and their leaked password)
Ventana de terminal
ffuf -u https://host/login -X POST -d 'user=USR&pass=PWD' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-w users.txt:USR -w passwords.txt:PWD -mode clusterbomb -fc 401
Ventana de terminal
ffuf -u https://host/FUZZ -w wl.txt -ac -o out.json -of json # save results
ffuf -u https://host/FUZZ -w wl.txt -t 20 -rate 50 # threads and requests per second
ffuf -u https://host/FUZZ -w wl.txt -x http://127.0.0.1:8080 # route through Burp to review
flowchart TD
  A[Web host in scope] --> B["Baseline response (curl)"]
  B --> C["ffuf content + stack extensions"]
  B --> D["ffuf vhosts (Host: FUZZ)"]
  D --> E["New vhosts → /etc/hosts → repeat"]
  C --> F{"Interesting paths"}
  F -->|"directories"| G["Recursion"]
  F -->|"endpoints"| H["Parameters: name and value"]
  F -->|"403"| I["Methods and headers"]
  H --> J["IDOR / LFI / injections"]
  • Fuzzing produces bursts of 404s (or identical responses) from a single IP: visible in access logs and the WAF.
  • Default User-Agent strings (Fuzz Faster U Fool, gobuster/3.x) give the tool away.
  • Vhost fuzzing produces many requests to the same IP with a changing Host and default-site responses.
  • Useful defences: per-IP rate limiting, consistent 404 responses (that don’t leak existence through size or timing), and alerts on error volume.
  • Target within the authorised scope and pace agreed.
  • Baseline response measured and filtered (-fs/-fw/-ac).
  • Extensions chosen according to the stack.
  • Vhosts fuzzed and added to /etc/hosts.
  • Parameters tried by name and by value, GET and POST (with Content-Type).
  • 403s reviewed with methods and headers.
  • Results saved.
  • Wordlists — which list to pick for each kind of fuzzing.
  • Content discovery — what to look for and what to do with what turns up.