4

I've been asked to test from time to time some RDP credentials, and it must be done through a linux server.

Is there any way to test some RDP credentials in command line, without a X11 server ?

SBO
  • 544
  • 1
  • 5
  • 12

2 Answers2

1

Did some tests and research on my side, it can be done with freerdp, with the following command line :

xfreerdp --ignore-certificate --authonly -u user -p pass host
SBO
  • 544
  • 1
  • 5
  • 12
1

xfreerdp is an x11 client. You could try to monitor TCP 3389 if you don't want the required x11 parts.

https://support.microsoft.com/en-us/help/187628/using-telnet-to-test-port-3389-functionality

SpiderIce
  • 561
  • 2
  • 9
  • Only testing the port is not enough, I need to test the credentials. – SBO Oct 18 '17 at 14:14
  • 2
    Thanks for the info, I just needed to similarly test config through firewalls, credentials... so I used your tips and I managed to use it with: xfreerdp /cert-ignore /auth-only /d:microsoft.com /u:bgates /p:Melinda4Ever /v:remotes.microsoft.com /port:3390 – JokinAU Jun 11 '18 at 09:43