Back to library
Offensive Intermediate Premium

HTTP POST form brute-force with custom failure string detection

HTTP POST form brute-force with custom failure string detection

Hydra / Password Attacks

Log in to save

Premium content locked

You can preview the command metadata. Full explanation, examples, and lab-style details are available to premium subscribers.

View premium options

Command

hydra -L users.txt -P /usr/share/wordlists/rockyou.txt http-post-form "//login.php:username=^USER^&password=^PASS^:Invalid credentials" -t 30

Syntax

hydra -L <users> -P <passwords> http-post-form "<path>:<params>:<fail_string>"

Use case

Testing the resilience of web application authentication mechanisms against credential stuffing attacks.

Explanation

Brute-forces a web login form: • -L → Username list file • http-post-form → Module for POST-based web forms • The format is "path:body:failure_string" • ^USER^ and ^PASS^ are replaced with actual credentials • Failure string is what...

linux kali hydra web post brute-force login

Related

Offensive Beginner Premium

SSH brute-force attack against a single username with rockyou wordlist

SSH brute-force attack against a single username with rockyou wordlist

hydra -l admin -P /usr/share/wordlists/rockyou.txt ssh://192.168.1.100 -t 4 -V
hydra brute-force ssh password credentials
Hydra / Password Attacks Open