Skills Agentes

Ffuf Web Fuzzing

Guía experta para el fuzzing web con ffuf en pentesting autorizado: descubrimiento de directorios y subdominios, fuzzing de parámetros, peticiones autenticadas y análisis de resultados.

Oficial

Reemplaza a: Burp Suite, Nuclei

Solicitabashreadwriteeditgrepglob
Estrellas
548

en todo el repo

Actividad
14

0–100, la ruta de este skill

Actualizado
hace 9 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.7k tok

81 tok en reposo

Paquete
3 archivos

13 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add trailofbits/skills-curated --skill ffuf-web-fuzzing --agent claude-code

Se instala solo en este repositorio.

Este skill runs shell commands, writes to your files, makes network requests.

Qué hace

  • Guía el uso de ffuf para descubrimiento de directorios, subdominios y parámetros en pentesting autorizado
  • Aplica reglas obligatorias como auto-calibración (-ac), guardado de resultados (-o) y limitación de tasa
  • Gestiona el fuzzing autenticado con ficheros de petición raw (--request req.txt)
  • Ayuda a analizar la salida JSON de ffuf en busca de anomalías

Úsalo cuando

  • Se ejecuta descubrimiento de directorios, ficheros o subdominios contra objetivos web
  • Se fuzzean endpoints de API, parámetros o datos POST
  • Se necesita fuzzing autenticado con peticiones HTTP raw
  • Se analiza la salida JSON de ffuf buscando anomalías

No lo uses cuando

  • El objetivo no está dentro del alcance o la autorización no está clara
  • Es más apropiado un reconocimiento pasivo (usa herramientas OSINT)
  • Se necesita un escáner de vulnerabilidades completo (usa Burp Suite, Nuclei, etc.)

Qué lo activa

Di cualquiera de estas frases y el agente debería cargar este skill.

  • “Haz fuzzing de directorios en https://target.com con ffuf”
  • “Busca subdominios de target.com usando ffuf”
  • “Ayúdame a montar un fuzzing autenticado con req.txt y ffuf”
  • “Analiza este results.json de ffuf y dime qué es anómalo”

SKILL.md

En inglés

FFUF Web Fuzzing

Guidance for using ffuf (Fuzz Faster U Fool) effectively during authorized penetration testing.

Prerequisites

ffuf must be installed: brew install ffuf (macOS) or go install github.com/ffuf/ffuf/v2@latest

When to Use

  • Running directory, file, or subdomain discovery against web targets
  • Fuzzing API endpoints, parameters, or POST data
  • Authenticated fuzzing with raw HTTP requests
  • Analyzing ffuf JSON output for anomalies and interesting findings
  • Building fuzzing strategies (wordlist selection, filtering, rate limiting)
  • IDOR testing with authenticated sessions

When NOT to Use

  • Target system is not in scope or authorization is unclear
  • Passive reconnaissance is more appropriate (use OSINT tools instead)
  • The target is a production system and rate limiting hasn't been configured
  • You need a full vulnerability scanner (use Burp Suite, Nuclei, etc.)
  • Testing for logic flaws that require multi-step interaction

Rationalizations to Reject

  • "Auto-calibration is optional" -- -ac is mandatory. Without it, results are buried in false positives and analysis is wasted effort.
  • "More threads = faster results" -- Hammering a target with -t 200 triggers WAFs, gets you blocked, and may crash staging environments. Start with -t 10 -rate 2 for production targets.
  • "I'll filter later" -- Set up filtering before the scan. Running a 220k wordlist without filters and then trying to grep through the noise is backwards.
  • "The default wordlist is fine" -- Wordlist selection is the most important decision. A generic wordlist misses technology-specific paths. See references/wordlists.md.
  • "Raw requests are too much work" -- For authenticated fuzzing, --request req.txt is simpler and more reliable than chaining -H and -b flags. Capture once, fuzz many times.

Critical Rules

  1. Always use -ac (auto-calibration) unless you have a specific, documented reason not to
  2. Always save output with -o results.json for later analysis
  3. Rate limit production targets with -rate and -t flags
  4. Use --request for auth -- raw request files beat command-line header chains
  5. Confirm authorization first -- before running any scan, verify the user has written permission for the target. Ask if unclear.

Core Concepts

The FUZZ Keyword

# In URL path
ffuf -w wordlist.txt -u https://target.com/FUZZ -ac

# In headers
ffuf -w wordlist.txt -u https://target.com -H "Host: FUZZ.target.com" -ac

# In POST body
ffuf -w wordlist.txt -X POST -d "user=admin&pass=FUZZ" -u https://target.com/login -ac

# Multiple positions with custom keywords
ffuf -w endpoints.txt:EP -w ids.txt:ID -u https://target.com/EP/ID -mode pitchfork -ac

Auto-Calibration

-ac automatically detects and filters repetitive false-positive responses. It adapts to the target's specific behavior and removes noise from dynamic content.

ffuf -w wordlist.txt -u https://target.com/FUZZ -ac        # Standard
ffuf -w wordlist.txt -u https://target.com/FUZZ -ach       # Per-host (multi-host scans)
ffuf -w wordlist.txt -u https://target.com/FUZZ -acc "404" # Custom calibration string

Common Patterns

Directory Discovery

ffuf -w /opt/SecLists/Discovery/Web-Content/raft-large-directories.txt \
     -u https://target.com/FUZZ -e .php,.html,.txt,.bak \
     -ac -c -v -o results.json

Subdomain Enumeration

ffuf -w /opt/SecLists/Discovery/DNS/subdomains-top1million-5000.txt \
     -u https://FUZZ.target.com -ac -c -v -o results.json

API Endpoint Discovery

ffuf -w /opt/SecLists/Discovery/Web-Content/api/api-endpoints.txt \
     -u https://api.target.com/v1/FUZZ \
     -H "Authorization: Bearer YOUR_TOKEN_HERE" -mc 200,201 -ac -c

Authenticated Fuzzing with Raw Requests

Capture a full authenticated request, save to req.txt, insert FUZZ:

POST /api/v1/users/FUZZ HTTP/1.1
Host: target.com
Authorization: Bearer YOUR_TOKEN_HERE
Cookie: session=YOUR_SESSION_ID
Content-Type: application/json

{"action":"view","id":"1"}
ffuf --request req.txt -w wordlist.txt -ac -o results.json

See references/request-templates.md for pre-built templates covering bearer tokens, session cookies, API keys, and GraphQL.

Authenticated Fuzzing: Agent Workflow

Authenticated fuzzing requires real credentials that the agent cannot obtain independently. When the user asks for authenticated fuzzing:

  1. Ask the user to provide ONE of:
    • A raw HTTP request file (req.txt) with auth headers already included
    • A curl command from browser DevTools (convert it to req.txt format)
    • Individual credentials (Bearer token, session cookie, API key)
  2. If given a curl command, convert it to raw HTTP request format and write to req.txt
  3. If given individual credentials, use a template from references/request-templates.md and substitute real values
  4. Never fabricate or guess authentication tokens

IDOR Testing

ffuf --request req.txt -w <(seq 1 10000) -ac -mc 200 -o idor_results.json

Rate Limiting

Environment Flags Notes
Production (stealth) -rate 2 -t 10 Avoid WAF triggers
Production (normal) -rate 10 -t 20 Balanced
Staging/Dev -rate 50 -t 40 Faster
Local/Lab No limit, -t 100 Maximum speed

Analyzing Results

Save output as JSON (-o results.json), then read the file and focus on:

  • Anomalous status codes -- anything other than the baseline 404/403
  • Size outliers -- responses significantly larger or smaller than average
  • Interesting keywords in URLs -- admin, api, backup, config, .git, .env
  • Timing anomalies -- slow responses may indicate SQL injection or heavy processing
  • Follow-up targets -- interesting findings warrant deeper fuzzing

Use -fs to filter by response size and -fc to filter by status code when auto-calibration isn't sufficient. Run ffuf -h for the full list of match/filter flags.

References

Reproducido de trailofbits/skills-curated bajo licencia CC-BY-SA-4.0. Leer esta página en markdown.

Archivos

3 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Antes de instalar

Requiere tener ffuf instalado (brew install ffuf o go install github.com/ffuf/ffuf/v2@latest).

Detalles

Categoría
Seguridad
Licencia
CC-BY-SA-4.0
Recursos incluidos
referencias
Código fuente
Ver SKILL.md

Más de trailofbits/skills-curated

Este repo incluye 30 skills. Si instalas uno, normalmente ya tienes los demás. Ver el pack skills-curated entero y su comando de instalación

Interroga al usuario sin descanso sobre un plan, decisión o idea hasta resolver cada rama del árbol de decisión, o cuando dice "grill me on this".

Costo de contexto al activarse
443 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
Oficialproductividad

Compacta la conversación actual en un documento de traspaso para que un agente nuevo pueda continuar el trabajo en otra sesión.

Costo de contexto al activarse
394 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
Permisos
Oficialproductividad

Enseña al usuario una nueva habilidad o concepto a lo largo de varias sesiones, usando el directorio actual como un espacio de enseñanza con estado, con lecciones, registros de aprendizaje y materiales de referencia.

Costo de contexto al activarse
2.6k tok
Tamaño del paquete
5 archivos
Última actualización
hace 4 meses
Permisos
Oficialaprendizaje

Referencia para escribir y editar bien skills de agentes: el vocabulario y los principios que hacen que un skill sea predecible. Consúltalo al redactar, revisar o podar un SKILL.md.

Costo de contexto al activarse
2.6k tok
Tamaño del paquete
2 archivos
Última actualización
hace 4 meses
Oficialherramientas desarrollo

Elimina señales de escritura generada por IA en un texto, para que suene más natural y humano, según la guía de Wikipedia sobre 'Signs of AI writing'.

Costo de contexto al activarse
3k tok
Tamaño del paquete
2 archivos
Última actualización
hace 9 meses
Oficialredaccion contenido

Implementa planificación basada en archivos para tareas complejas de varios pasos, usando task_plan.md, findings.md y progress.md como memoria de trabajo persistente.

Costo de contexto al activarse
1.5k tok
Tamaño del paquete
4 archivos
Última actualización
hace 9 meses
Oficialproductividad

Skills relacionados

Barreras de seguridad para comandos destructivos (gstack).

Costo de contexto al activarse
879 tok
Tamaño del paquete
4 archivos
Última actualización
hace 3 meses
Permisos
seguridad

Cso

134k

Modo Chief Security Officer: auditoría de seguridad centrada en infraestructura, con OWASP Top 10, modelado de amenazas STRIDE y verificación activa.

Costo de contexto al activarse
19.2k tok
Tamaño del paquete
6 archivos
Última actualización
hace 3 meses
Permisos
seguridad

Guard

134k

Modo de máxima seguridad: avisos ante comandos destructivos más restricción de ediciones a un directorio concreto (gstack).

Costo de contexto al activarse
850 tok
Tamaño del paquete
2 archivos
Última actualización
hace 3 meses
Permisos
seguridad