Skip to content
Advertisement

test windows rdp credentials use and password

I want to make an checker to check RDP IP with user and password

I’ve tried to install guacamole server I install it on ubuntu and it works good and connects well but I can’t make any check using php or any coding language with it because its system is so complicated

so if any one have any idea about how to check RDP IP with user and password using any coding please let me know

Advertisement

Answer

You can use command line RDP clients (or this one) for linux if you environment is a Linux (or MacOS), or run RDP client from command line if you using Windows.

guacamole is not good idea for automation. You need to run web-side javascript to connect, so Selenium or Chrome headless will be only possible solution as I know.

  • EDIT 1: How to run remote command
  1. Set SSH passwordless connection to freerdp server
  2. Run freerdp command on remote server via SSH connection
$process = new Process(['ssh', 'user@serverB' 'freerdp ...']);
$process->run();

In other way you can create standalone PHP service on serverB which trying to run local freerdp command with requested IP (or user?) and returning result

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement