mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-13 16:43:21 -07:00
rdp empty pw fix
This commit is contained in:
parent
3e364483d2
commit
13db28f9d2
2 changed files with 5 additions and 1 deletions
1
CHANGES
1
CHANGES
|
@ -5,6 +5,7 @@ Release 9.3-dev
|
||||||
* support Xcode compilation
|
* support Xcode compilation
|
||||||
* new module: cobaltstrike by ultimaiiii, thank you!
|
* new module: cobaltstrike by ultimaiiii, thank you!
|
||||||
* fix for ssh to support -M or ip/range
|
* fix for ssh to support -M or ip/range
|
||||||
|
* fix for rdp to detect empty passwords
|
||||||
* for vnc/cisco/... protocols that only check for a password, skip host
|
* for vnc/cisco/... protocols that only check for a password, skip host
|
||||||
after the password is found
|
after the password is found
|
||||||
* added "make uninstall"
|
* added "make uninstall"
|
||||||
|
|
|
@ -22,7 +22,10 @@ BOOL rdp_connect(char *server, int32_t port, char *domain, char *login, char *pa
|
||||||
instance->settings->Username = login;
|
instance->settings->Username = login;
|
||||||
instance->settings->Password = password;
|
instance->settings->Password = password;
|
||||||
instance->settings->IgnoreCertificate = TRUE;
|
instance->settings->IgnoreCertificate = TRUE;
|
||||||
instance->settings->AuthenticationOnly = TRUE;
|
if (password[0] == 0)
|
||||||
|
instance->settings->AuthenticationOnly = FALSE;
|
||||||
|
else
|
||||||
|
instance->settings->AuthenticationOnly = TRUE;
|
||||||
instance->settings->ServerHostname = server;
|
instance->settings->ServerHostname = server;
|
||||||
instance->settings->ServerPort = port;
|
instance->settings->ServerPort = port;
|
||||||
instance->settings->Domain = domain;
|
instance->settings->Domain = domain;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue