configure_and_rdp_fixes

This commit is contained in:
van Hauser 2014-08-06 12:37:16 +02:00
commit 6d326078f1
3 changed files with 11 additions and 0 deletions

View file

@ -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;