Hydra - Commands
Basic Syntax
-l
specifies the username for login
-P
indicates a list of passwords
-t
sets the number of threads to spawn
Other options:
-L
: indicates a list of username
Brute Forcing Some Protocols
SSH
Command:
Example:
Post Web Form
Syntax:
-l
the username for (web form) login
-P
the password list to use
http-post-form
the type of the form is POST
<path>
the login page URL, for example, login.php
<login_credentials>
the username and password used to log in, for example, username=^USER^&password=^PASS^
<invalid_response>
part of the response when the login fails
-V
verbose output for every attempt
Example:
The login page is
/login
.The
username
is the form field where the username is enteredThe specified username(s) will replace
^USER^
The
password
is the form field where the password is enteredThe provided passwords will be replacing
^PASS^
Finally,
F=incorrect
is a string that appears in the server reply when the login fails
Last updated