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

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