Jump to content

Insert text


Recommended Posts


I'm trying to insert around 30000 words, but it takes way too long to insert it using STRING. 

Is it possible to copy it from a .txt file that are on the ducky or something and store it on clipboard?

I have to insert the ducky after i run an application that locks down the system and it also deactivates clipboard before i start the application. Anti cheating.

It will have clipboard after i start the application. 



Link to comment
Share on other sites

  • 3 weeks later...

Hey ebmar, it most likely depends on how lock down you system is. But I suggest you watch episode 2112/2113 “Stealing Files with the USB Rubber Ducky”. Instead of copy a file too the ducky, copy it from the ducky. Then open it in note pad then ctrl-a and ctrl-c it.

You’ll need to install the twin duck firmware.

Hope this help getting you started.


Edited by Cribbit
Link to comment
Share on other sites

REM Copys the contents of c.txt on the root of the ducky to the clipboard
REM Follow the step in the link below to set up Ducky
REM https://docs.hak5.org/hc/en-us/articles/360010555213-Stealing-Files-with-the-USB-Rubber-Ducky-USB-Exfiltration-Explained
DELAY 1000
STRING powershell ".(Set-Clipboard -Value (gc((gwmi win32_volume -f 'label=''_''').Name+'c.txt')))"


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...