mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 21:33:51 -07:00
pre-8.0
This commit is contained in:
parent
6a94f708e8
commit
9f75ddad8b
32 changed files with 208 additions and 129 deletions
|
@ -2424,7 +2424,8 @@ int start_rdp(int s, char *ip, int port, unsigned char options, char *miscptr, F
|
|||
strcpy(server, hydra_address2string(ip));
|
||||
|
||||
if ((miscptr != NULL) && (strlen(miscptr) > 0)) {
|
||||
strncpy(domain, miscptr, sizeof(domain));
|
||||
strncpy(domain, miscptr, sizeof(domain) - 1);
|
||||
domain[sizeof(domain) - 1] = 0;
|
||||
}
|
||||
|
||||
if (!rdp_connect(server, flags, domain, login, pass, shell, directory, g_redirect))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue