mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 21:03:52 -07:00
added smb domain warning on wrong usage
This commit is contained in:
parent
6d84a00216
commit
4077f0b59c
1 changed files with 2 additions and 0 deletions
2
hydra.c
2
hydra.c
|
@ -2748,6 +2748,8 @@ int main(int argc, char *argv[]) {
|
|||
fprintf(stderr, "[INFO] Reduced number of tasks to 1 (smb does not like parallel connections)\n");
|
||||
hydra_options.tasks = 1;
|
||||
}
|
||||
if (hydra_options.login != NULL && (index(hydra_options.login, '\\') != NULL || index(hydra_options.login, '/') != NULL))
|
||||
fprintf(stderr, "[WARNING] potential windows domain specification found in login. You must use the -m option to pass a domain.\n");
|
||||
i = 1;
|
||||
}
|
||||
if ((strcmp(hydra_options.service, "smb") == 0) || (strcmp(hydra_options.service, "smbnt") == 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue