Use specific RDP port if requested

This commit is contained in:
David Maciejak 2019-04-29 09:54:30 +08:00 committed by GitHub
parent 5ca9285838
commit 2c7df66d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ void service_rdp(char *ip, int32_t sp, unsigned char options, char *miscptr, FIL
next_run = 0; next_run = 0;
switch (run) { switch (run) {
case 1: /* run the cracking function */ 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; break;
case 2: /* clean exit */ case 2: /* clean exit */
freerdp_disconnect(instance); freerdp_disconnect(instance);