mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 10:37:27 -07:00
warn on BINDTODEVICE not supported in some modules
This commit is contained in:
parent
5a19c1787e
commit
789214cc7e
1 changed files with 3 additions and 1 deletions
4
hydra.c
4
hydra.c
|
@ -3637,8 +3637,10 @@ int32_t main(int32_t argc, char *argv[]) {
|
|||
freeaddrinfo(res);
|
||||
}
|
||||
// restore device information if present
|
||||
if (device != NULL)
|
||||
if (device != NULL) {
|
||||
*(device - 1) = '%';
|
||||
fprintf(stderr, "[WARNING] not all modules support BINDTODEVICE for IPv6 link local addresses, e.g. SSH does not\n");
|
||||
}
|
||||
}
|
||||
if (verbose)
|
||||
printf("[VERBOSE] resolving done\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue