dont exit after find with -C

This commit is contained in:
vanhauser-thc 2022-01-12 10:14:57 +01:00
parent e11e007400
commit 02ae72c7e7
2 changed files with 5 additions and 2 deletions

View file

@ -6,9 +6,11 @@ Release 9.3-dev
* new module: cobaltstrike by ultimaiiii, thank you!
* fix for ssh to support -M or ip/range
* fix for rdp to detect empty passwords
* fix for http on non-default ports when using with a proxy
* for vnc/cisco/... protocols that only check for a password, skip host
after the password is found
* fixe to support IPv6 addresses in -M
* fix to support IPv6 addresses in -M
* fix to test all entries in -C files, not exiting after the first found
* added "make uninstall"

View file

@ -3316,7 +3316,8 @@ int main(int argc, char *argv[]) {
hydra_options.port = port;
}
if (hydra_options.login == NULL && hydra_options.loginfile == NULL)
if (hydra_options.login == NULL && hydra_options.loginfile == NULL &&
hydra_options.colonfile == NULL)
hydra_options.exit_found = 1;
if (hydra_options.ssl == 0 && hydra_options.port == 443)