mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 10:37:27 -07:00
Usage: Fix help for https-post-form and https-get-form
Fixes issue #530
This commit is contained in:
parent
4ea2db2fe1
commit
62f06dce24
1 changed files with 4 additions and 0 deletions
4
hydra.c
4
hydra.c
|
@ -619,6 +619,10 @@ void module_usage() {
|
|||
"%s:\n================================================================"
|
||||
"============\n",
|
||||
hydra_options.service);
|
||||
if (strcmp(hydra_options.service, "https-post-form") == 0)
|
||||
strcpy(hydra_options.service, "http-post-form");
|
||||
else if (strcmp(hydra_options.service, "https-get-form") == 0)
|
||||
strcpy(hydra_options.service, "http-get-form");
|
||||
for (i = 0; i < sizeof(services) / sizeof(services[0]); i++) {
|
||||
if (strcmp(hydra_options.service, services[i].name) == 0) {
|
||||
if (services[i].usage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue