feat: added documentation

This commit is contained in:
xh4vm 2025-03-14 19:28:04 +05:00
parent ad286790ca
commit ba45db1496
2 changed files with 10 additions and 0 deletions

View file

@ -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"
" \"/" " \"/"

View file

@ -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);