From 02ae72c7e72505144f640db51bb0c4911008ca68 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Wed, 12 Jan 2022 10:14:57 +0100 Subject: [PATCH] dont exit after find with -C --- CHANGES | 4 +++- hydra.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 1f5d497..208b12f 100644 --- a/CHANGES +++ b/CHANGES @@ -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" diff --git a/hydra.c b/hydra.c index 9450847..c154424 100644 --- a/hydra.c +++ b/hydra.c @@ -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)