Scripts to copy/paste a file into Citrix XenApp or Citrix XenDesktop when copy/paste option is not allowed !
To-Rubber-Ducky USB's script encode the file of your choice in base64 and generate payload ready to be compiled with the Rubber Ducky Encoder.The file "payload" will be compiled as inject.bin. Copy past this file into your Rubber Ducky USB. Save the result on the target machine as .html an open it with Internet Explorer. Save the file with the extension of the original file. You have transfered your file !
If you don't have USB port available; use KeyBS (powershell or C#).
Use the KeyBS C# script preferably since
SendInput in C# is more reliable than
SendKeys in powershell.
- Powershell: ~30 b/secondes
- C#: ~100 b/secondes
^can be replaced by
6if mulitple keyboards are defined
- Powershell version is very slow, use it as last resort
- Don't forget to add WindowsInput library via Nuget for the C# project