From 9b055287c07719861c8053ca3e1218ab2303f529 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Mon, 1 Nov 2021 14:13:51 +0100 Subject: [PATCH] fix -M ipv6 --- CHANGES | 1 + hydra.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f3aadbe..1f5d497 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ Release 9.3-dev * fix for rdp to detect empty passwords * for vnc/cisco/... protocols that only check for a password, skip host after the password is found +* fixe to support IPv6 addresses in -M * added "make uninstall" diff --git a/hydra.c b/hydra.c index 7f37f11..abc6286 100644 --- a/hydra.c +++ b/hydra.c @@ -3586,7 +3586,7 @@ int main(int argc, char *argv[]) { } } else hydra_targets[i]->target = tmpptr; - if ((tmpptr2 = strchr(hydra_targets[i]->target, ':')) != NULL) { + if ((tmpptr2 = strchr(tmpptr, ':')) != NULL) { *tmpptr2++ = 0; tmpptr = tmpptr2; hydra_targets[i]->port = atoi(tmpptr2);