ffuf Executor¶
Category: Web Application Scanners
Script: ffuf.py
Integration: CLI
Faraday Plugin: Raw JSON
Website: ffuf/ffuf
Description¶
Runs ffuf to discover web content (paths, files, parameters) by fuzzing a URL with a wordlist, and imports each match into Faraday. Every discovered resource becomes a vulnerability on the target host, with its HTTP status, response size and content type.
Prerequisites¶
ffufinstalled and available in the agent'sPATH(checked withffuf -V)- A wordlist file readable by the agent (for Docker deployments, mount it into the container)
- Network access from the agent to the target, and authorization to test it
Configuration¶
Environment Variables (Setup)¶
This executor does not require setup environment variables.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
FFUF_TARGET |
url | Yes | URL to fuzz. It must contain the FUZZ keyword where the wordlist entries go (e.g., https://example.com/FUZZ). |
FFUF_WORDLIST |
string | Yes | Path to the wordlist, as seen by the agent (e.g., /usr/share/wordlists/common.txt) |
FFUF_THREADS |
integer | No | Number of concurrent threads (default: 40) |
FFUF_MATCH_CODES |
list | No | HTTP status codes to report (default: 200,204,301,302,307,401,403) |
FFUF_FILTER_SIZE |
string | No | Response sizes to ignore, passed to ffuf -fs (e.g., 0 or 4242,1024) |
FFUF_EXTENSIONS |
list | No | File extensions to append to each word (e.g., .php,.bak) |
FFUF_SEVERITY |
string | No | Severity given to every finding: info, low, medium or high (default: info) |
YAML Configuration Example¶
executors:
ffuf:
repo_executor: ffuf.py
max_size: 65536
varenvs: {}
params:
FFUF_TARGET:
mandatory: true
type: url
base: string
FFUF_WORDLIST:
mandatory: true
type: string
base: string
FFUF_THREADS:
mandatory: false
type: integer
base: integer
FFUF_MATCH_CODES:
mandatory: false
type: list
base: list
FFUF_FILTER_SIZE:
mandatory: false
type: string
base: string
FFUF_EXTENSIONS:
mandatory: false
type: list
base: list
FFUF_SEVERITY:
mandatory: false
type: string
base: string
How It Works¶
- Checks that
FFUF_TARGETandFFUF_WORDLISTare set and that the target containsFUZZ - Runs
ffufwith the configured threads, match codes, size filter and extensions, writing JSON output to a temporary file - Creates one vulnerability per match, named
Discovered path: <url>, with the status, length, words, lines and content type in the description - Sends everything to Faraday under one host for the target
Notes¶
- The host is the target's hostname taken from
FFUF_TARGET(it can be a domain name, not only an IP). - All findings get the same severity from
FFUF_SEVERITY. Any other value (includingcritical) falls back toinfo. - The run fails if ffuf does not produce an output file.
- The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor.