mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
skip host when password is found on password-only checks
This commit is contained in:
parent
0b1f3c5037
commit
b375bbc332
2 changed files with 5 additions and 0 deletions
3
hydra.c
3
hydra.c
|
@ -3310,6 +3310,9 @@ int main(int argc, char *argv[]) {
|
|||
hydra_options.port = port;
|
||||
}
|
||||
|
||||
if (hydra_options.login == NULL && hydra_options.loginfile == NULL)
|
||||
hydra_options.exit_found = 1;
|
||||
|
||||
if (hydra_options.ssl == 0 && hydra_options.port == 443)
|
||||
fprintf(stderr, "[WARNING] you specified port 443 for attacking a http "
|
||||
"service, however did not specify the -S ssl switch nor "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue