CtrlK

Pentest Notes / Enumeration / Tools

ffuf

Directory Enumeration

ffuf -w /usr/share/wordlists/SecLists/Discovery/Web-Content/common.txt -u http://[MACHINE_IP]

FlagDescription
-efile extensions to scan for: .php, .js, .txt, .html
-HSet header to pass along.
-recursionto follow the redirect that it received as a response to the sent request.
-recursion-depth 2Limits fuzzing to 2 levels deep
-rate 100Requests per second
-timeoutSet timeout time for each request
-icIgnore comments

Parameter and Value Fuzzing

GET

Add FUZZ in the URL itself (escape & with </span> if needed: &param=FUZZ )

POST: additional headers with data

-X POST
-H "Content-Type: application/x-www-form-urlencoded"
-d "param=FUZZ"

Subdomain Enumeration

ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -H "Host: FUZZ.[domain]" -u http://[MACHINE_IP]
use ip address, sometimes the name wont work even after adding it to /etc/hosts

Filter by size of response:
ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -fs {size} -H "Host: FUZZ.[domain]" -u http://[MACHINE_IP]