mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43:52 -07:00
Merge pull request #542 from Jab2870/https-help
Usage: Fix help for https-post-form and https-get-form
This commit is contained in:
commit
1ce502e754
1 changed files with 2 additions and 0 deletions
2
hydra.c
2
hydra.c
|
@ -619,6 +619,8 @@ void module_usage() {
|
||||||
"%s:\n================================================================"
|
"%s:\n================================================================"
|
||||||
"============\n",
|
"============\n",
|
||||||
hydra_options.service);
|
hydra_options.service);
|
||||||
|
if (strncmp(hydra_options.service, "https-", 6) == 0 )
|
||||||
|
memmove(hydra_options.service + 4, hydra_options.service + 5, strlen(hydra_options.service) - 4);
|
||||||
for (i = 0; i < sizeof(services) / sizeof(services[0]); i++) {
|
for (i = 0; i < sizeof(services) / sizeof(services[0]); i++) {
|
||||||
if (strcmp(hydra_options.service, services[i].name) == 0) {
|
if (strcmp(hydra_options.service, services[i].name) == 0) {
|
||||||
if (services[i].usage) {
|
if (services[i].usage) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue