mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
fix -M ipv6
This commit is contained in:
parent
13db28f9d2
commit
9b055287c0
2 changed files with 2 additions and 1 deletions
1
CHANGES
1
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"
|
||||
|
||||
|
||||
|
|
2
hydra.c
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue