A small app for working with remote environments (such as Citrix) where copy and paste functionality has been disabled.
Pasta uses modules like pyautogui and keyboard to read the text in your clipboard and will re-type the text wherever you place the mouse pointer (even inside of a virtual environment).
Because this is not true copy and paste functionality, there may be bugs - particularly on non-QWERTY keyboards. Use at your own discretion.
Note Always ensure you have permission from your employer before using this tool.
| OS | Support |
|---|---|
| Windows | Yes |
| Linux | Maybe? |
| Mac | No |
Linux support varies depending on the desktop environment. Clipboard access and keyboard automation permissions must be enabled for the script to work properly.
- Copy the block of text you need
-
Run the script and optionally specify a countdown time:
python pasta.py --timer 5
-
Have your Notepad/Text app open on the target desktop
- Click the "Ready" button
- During the countdown (default is 3 seconds), hover over your target window
- Marvel at how quickly you typed that document!
Absolutely - if you have any improvements, please send a pull request!
No, this is using modules that are only capable of using keyboard functionality - text only.
Not yet.
No. It only handles text that is already available on the client system that the user could already type by hand. There are no API calls or anything like that.
Only if you consider logging into a Citrix desktop as an authorised user and painstakingly typing out lots of text or code manually - to be a hacker activity.


