Python script which will type a file into an RDP session. For when drag and drop and disk mounting is not possible
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Use this if you have the need to upload a file to RDP where perhaps copy/paste and local disks cannot be used.

Disclaimer: Only use this on services where you are legally allowed to do so. Doing otherwise risks your liberty.

For more information about this check out my blog on it:

This works by:

  1. Creating a zip of the file you want to upload (may save some space for some files)
  2. Base64 encoding that file.
  3. Typing the Base64 string programatically.

While 3) is happening you cannot use your mouse or keyboard. The data rate is low so be careful and plan what you want to upload.

Usage Example

Usage Example

Install Pre-Requisites

We need "pyautogui" which has an installation guide for various platforms here:

For Kali Linux, the required commands were:

pip install python3-xlib
apt-get install scrot python3-dev
pip install pyautogui

Any problems installing pyautogui then refer to their documentation for your OS. My script is only tested on Kali Linux, your mileage and support will vary from there.

Additionally we need this for the progress bar:

pip install tqdm

Finally, this for sound:

pip install playsound

Install rdpupload

Pretty simple here clone the repo:

git clone

As you already have the pre-requisites you are now all set to get this done.