Jump to content

Copy USB stick content

Recommended Posts



I'm going to show you my code project: I want to make a payload that allows you to copy all the content of a USB key connected to the pc.

The first step is to find under which letter the key is connected: A, G, E... and there I don't know how to do it.

Then I think it's quite simple: copy all the folders and subfolders from the key to the rubber ducky's sd card.

However I have some constraints: I can't use Win+R or Win+E because these shortcuts don't work on the pc.


Thank you in advance for those who will take the time to answer me.

Link to comment
Share on other sites

What information do you have about the "USB key"? Are you in control of it or could it be just a random one that you have no information about at all? Are you running some non standard firmware on your Ducky (since you are planning to use it as a storage device; which isn't possible with the stock firmware).

Link to comment
Share on other sites

The Twin Duck firmware is available, but it's not stock firmware that is supported by Hak5 and I guess you somewhat void warranty flashing it with alternative firmware. Regarding the USB key, it will probably be some kind of "qualified guessing" if you can't tell which one it might be. In most cases there is just one attached, but it's nothing that can be taken for granted so the payload will not be 100% transparent.

The firmwares available can be found here


I have no experience using them (or the Twin Duck specifically) for the Ducky since I want to keep it stock as it was born from the duck mother. I use the Bash Bunny when I need storage as I run payloads. There are a bunch of videos available though. Just do a search. The latest one I've seen is made by Cosmo.


Link to comment
Share on other sites

Ok. Thank you for your answers. I might go for the Bash Bunny. There will be only one other USB key connected to the computer. can you explain to me how to find under which letter the key is connected? then transfer the files to the Bash Bunny?

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...