Introduction to the installation and use of Python remote desktop protocol RDPY

  • 2020-05-10 18:22:56
  • OfStack

RDPY is Microsoft RDP remote desktop protocol based on Twisted Python implementation.

RDPY provides the following RDP and VNC support:

●RDP Man In The Middle proxy which record session
Low RDP Honeypot
Low RDP screenshoter
Low RDP client
Low VNC client
Low VNC screenshoter
Low RSS Player

At present, there are very few Chinese introductions about RDPY that can be found, and I haven't done any in-depth research. Here, please record the installation and simple use of RDPY, for your reference.

1. Installation of RDPY

RDPY download address: https: / / github com/citronneur/rdpy, suggest pip can be used for installation, more convenient. The following describes my installation process, system environment windows7, python2.7.

1, install PyQt: PyQt download address: http: / / sourceforge net/projects/pyqt/files/PyQt4 / PyQt 4.11.3 /, choose the 32-bit or 64 - bit installation package.

2, installation pywin32, download address: http: / / sourceforge net/projects/pywin32 / files/pywin32, choose the required version.

3. Install RDPY: easy_install and pip are used to install RDPY.

easy_install: https: / / bitbucket org pypa/setuptools raw/bootstrap/ez_setup py, after downloading, python. exe ez_setup. py for installation.

Install pip:C:\Python27\Scripts\ easy_install.exe pip. After installation, the pip.exe file is available under C:\Python27\Scripts\.

Run pip install rdpy. If no error is detected, the installation was successful.

2. Simple use of RDPY

After installation, several files such as rdpy-rdpclient.py, rdpy-vncclient.py, rdpy-rdpscreenshot.py, rdpy-vncscreenshot.py exist under C:\Python27\Scripts\.

1. 3389 remote desktop connection


rdpy-rdpclient.py [-u username] [-p password] [-d domain] [-r rss_ouput_file] [...] XXX.XXX.XXX.XXX[:3389]

2. VNC connection. It was found in the connection that the connection of vnc of some higher version of realvnc1 failed.

rdpy-vncclient.py [-p password] XXX.XXX.XXX.XXX[:5900]

3, screenshots

rdpy-rdpscreenshot.py [-w width] [-l height] [-o output_file_path] XXX.XXX.XXX.XXX[:3389]
rdpy-vncscreenshot.py [-p password] [-o output_file_path] XXX.XXX.XXX.XXX[:5900]


Related articles: