mahorelee Posted June 24, 2013 Share Posted June 24, 2013 (edited) 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 June 24, 2013 by mahorelee Quote Link to comment Share on other sites More sharing options...
no42 Posted June 24, 2013 Share Posted June 24, 2013 sounds like when the cmd prompt opens, it doesn't activate as the active window, strange when that happens? Quote Link to comment Share on other sites More sharing options...
mahorelee Posted June 24, 2013 Author Share Posted June 24, 2013 Sometimes it does and sometimes it dosn't. but when it does it always says it can not find the file path. Quote Link to comment Share on other sites More sharing options...
overwraith Posted June 25, 2013 Share Posted June 25, 2013 (edited) It looks to me like the SD card might not be mounted when the loop polls for the ducky drive. Recently fixed the Run exe from SD payload. Actually waits for the drive to mount. Edited June 25, 2013 by overwraith Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.