https://github.com/joelgmsec/invoke-transfer
PowerShell Clipboard Data Transfer
https://github.com/joelgmsec/invoke-transfer
base64 citrix clipboard data guacamole keystrokes ocr powershell rdp transfer
Last synced: 5 months ago
JSON representation
PowerShell Clipboard Data Transfer
- Host: GitHub
- URL: https://github.com/joelgmsec/invoke-transfer
- Owner: JoelGMSec
- License: gpl-3.0
- Created: 2023-02-01T17:06:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-04T08:44:16.000Z (5 months ago)
- Last Synced: 2025-09-04T10:34:22.926Z (5 months ago)
- Topics: base64, citrix, clipboard, data, guacamole, keystrokes, ocr, powershell, rdp, transfer
- Language: PowerShell
- Homepage: https://darkbyte.net
- Size: 354 KB
- Stars: 71
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Invoke-Transfer
### PowerShell Clipboard Data Transfer
Invoke-Transfer is a PowerShell tool that helps you to send files in **highly restricted environments** such as Citrix, RDP, VNC or Guacamole.
You can send files in text format, in small **Base64 encoded chunks** or in plaintext. Additionally, you can recieve files from a screenshot, using the **native OCR function** of Microsoft Windows.
## β¨ Features
- π **Clipboard-based transfer**: Send files through clipboard in restricted environments
- π **Base64 encoding**: Converts files to text format for easy and safe transfer
- β‘ **Chunked transfer**: Split files into 120KB chunks with configurable delays
- πΌοΈ **OCR support**: Read and recieve files from screenshots using Windows OCR
- π₯ **Guacamole compatibility**: Special mode for Apache Guacamole environments
- βοΈ **Raw keystroke mode**: Send plain text (typewriter mode) with time delays
- π» **Windows native**: Built for Windows 10+ with PowerShell 5.1
## βοΈ Requirements
- PowerShell 5.1
- Windows 10 or greater
Download the repository:
```bash
git clone https://github.com/JoelGMSec/Invoke-Transfer
```
## π Usage
```java
.\Invoke-Transfer.ps1 -h
___ _ _____ __
|_ _|_ __ _ __ __ | | __ __ |_ _| __ __ _ _ __ ___ / _| ___ _ __
| || '_ \ \ / / _ \| |/ / _ \____| || '__/ _' | '_ \/ __| |_ / _ \ '__|
| || | | \ V / (_) | < __/____| || | | (_| | | | \__ \ _| __/ |
|___|_| |_|\_/ \___/|_|\_\___| |_||_| \__,_|_| |_|___/_| \___|_|
----------------------- by @JoelGMSec & @3v4Si0N ---------------------
Info: This tool helps you to send files in highly restricted environments
such as Citrix, RDP, VNC, Guacamole... using the clipboard function
Usage: .\Invoke-Transfer.ps1 -split {FILE} -sec {SECONDS}
Send 120KB chunks with a set time delay of seconds
Add -guaca to send files through Apache Guacamole
.\Invoke-Transfer.ps1 -plain {FILE or TEXT} -sec {SECONDS}
Send raw keystrokes with a set time delay of seconds
.\Invoke-Transfer.ps1 -merge {B64FILE} -out {FILE}
Merge Base64 file into original file in desired path
.\Invoke-Transfer.ps1 -read {IMGFILE} -out {FILE}
Read screenshot with Windows OCR and save output to file
Warning: This tool only works on Windows 10 or greater
OCR reading may not be entirely accurate
```
**Available Parameters**:
- `-split` β Split file into Base64 chunks for clipboard transfer
- `-merge` β Merge Base64 chunks back into original file
- `-read` β Use OCR to read text from screenshot
- `-plain` β Send raw keystrokes with time delays
- `-guaca` β Enable Apache Guacamole compatibility mode
- `-sec` β Set time delay between chunks in seconds
## πΈ Screenshots

## ποΈ Documentation
The detailed guide of use can be found at the following link:
https://darkbyte.net/transfiriendo-ficheros-en-entornos-restringidos-con-invoke-transfer
## π License
This project is licensed under the GNU GPL-3.0 license - See the LICENSE file for more details.
## π¨βπ» Credits and Contact
This tool has been created and designed from scratch by **Joel GΓ‘mez Molina** ([@JoelGMSec](https://twitter.com/JoelGMSec)) and **HΓ©ctor de Armas PadrΓ³n** ([@3v4si0n](https://twitter.com/3v4si0n)).
Other ways to contact me on my blog [darkbyte.net](https://darkbyte.net)
## β οΈ Disclaimer
This software comes with no warranty, exclusively for educational purposes and authorized security audits.
The author is not responsible for any misuse or damage caused by this software.
# β Support
Support our work by buying us a coffee:
[
](https://www.buymeacoffee.com/joelgmsec)