From 2c7df66d4215ef708f01fd5bf6e3705bdba1a53b Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Mon, 29 Apr 2019 09:54:30 +0800 Subject: [PATCH] Use specific RDP port if requested --- hydra-rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-rdp.c b/hydra-rdp.c index 69feee5..f2fbfce 100644 --- a/hydra-rdp.c +++ b/hydra-rdp.c @@ -99,7 +99,7 @@ void service_rdp(char *ip, int32_t sp, unsigned char options, char *miscptr, FIL next_run = 0; switch (run) { case 1: /* run the cracking function */ - next_run = start_rdp(ip, port, options, miscptr, fp); + next_run = start_rdp(ip, myport, options, miscptr, fp); break; case 2: /* clean exit */ freerdp_disconnect(instance);