mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
feat: added documentation
This commit is contained in:
parent
ad286790ca
commit
ba45db1496
2 changed files with 10 additions and 0 deletions
|
@ -1613,6 +1613,11 @@ void usage_http_form(const char *service) {
|
||||||
"You can specify a header without escaping the colons, but that way you will not\n"
|
"You can specify a header without escaping the colons, but that way you will not\n"
|
||||||
"be able to put colons in the header value itself, as they will be interpreted by\n"
|
"be able to put colons in the header value itself, as they will be interpreted by\n"
|
||||||
"hydra as option separators.\n"
|
"hydra as option separators.\n"
|
||||||
|
"Note: to attack multiple targets, you only need to pass the path to the file containing the targets with parameters,\n"
|
||||||
|
"for example, a file with targets:\n\n"
|
||||||
|
" localhost:8443/login:type=login&login=^USER^&password=^PASS^:h=test\\: header:F=401\n"
|
||||||
|
" localhost:9443/login2:type=login&login=^USER^&password=^PASS^:h=test\\: header:F=302\n"
|
||||||
|
" ...\n\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
" \"/login.php:user=^USER^&pass=^PASS^:incorrect\"\n"
|
" \"/login.php:user=^USER^&pass=^PASS^:incorrect\"\n"
|
||||||
" \"/"
|
" \"/"
|
||||||
|
|
|
@ -473,6 +473,11 @@ void usage_http(const char *service) {
|
||||||
"present the\n"
|
"present the\n"
|
||||||
" combination is invalid. Note: this must be the last option "
|
" combination is invalid. Note: this must be the last option "
|
||||||
"supplied.\n"
|
"supplied.\n"
|
||||||
|
"Note: to attack multiple targets, you only need to pass the path to the file containing the targets with parameters,\n"
|
||||||
|
"for example, a file with targets:\n\n"
|
||||||
|
" localhost:5000/protected:A=BASIC\n"
|
||||||
|
" localhost:5002/protected:A=NTLM\n"
|
||||||
|
" ...\n\n"
|
||||||
"For example: \"/secret\" or \"http://bla.com/foo/bar:H=Cookie\\: "
|
"For example: \"/secret\" or \"http://bla.com/foo/bar:H=Cookie\\: "
|
||||||
"sessid=aaaa\" or \"https://test.com:8080/members:A=NTLM\"\n\n",
|
"sessid=aaaa\" or \"https://test.com:8080/members:A=NTLM\"\n\n",
|
||||||
service);
|
service);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue