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