mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 13:53:59 -07:00
configure_and_rdp_fixes
This commit is contained in:
parent
499c57f877
commit
6d326078f1
3 changed files with 11 additions and 0 deletions
|
@ -2453,6 +2453,9 @@ void service_rdp(char *ip, int sp, unsigned char options, char *miscptr, FILE *
|
|||
int run = 1, next_run = 1;
|
||||
int myport = PORT_RDP;
|
||||
|
||||
if (port != 0)
|
||||
myport = port;
|
||||
|
||||
hydra_register_socket(sp);
|
||||
if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue