skip host when password is found on password-only checks

This commit is contained in:
vanhauser-thc 2021-06-29 12:15:03 +02:00
parent 0b1f3c5037
commit b375bbc332
2 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,8 @@ Changelog for hydra
Release 9.3-dev
* fix for ssh to support -M or ip/range
* for vnc/cisco/... protocols that only check for a password, skip host
after the password is found
Release 9.2

View file

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