Sl1m Posted December 1, 2011 Share Posted December 1, 2011 (edited) while waiting for the new firmware with the mass storage capabilities. I was thinking of using a regular flash drive and a small usb hub ( plug both the usb rubber ducky and the flash drive in the hub and then plug the hub in the computer ) !The question i have is : how would you get the usb rubber ducky to use right drive letter ( the flash drive letter). if you put an executable in the flash drive, you can execute it from the script on the ducky! I think there is a way of finding the Letter for drive that was last inserted ! thanks Edited December 1, 2011 by Sl1m Quote Link to comment Share on other sites More sharing options...
Sl1m Posted December 23, 2011 Author Share Posted December 23, 2011 Anyone ? Lol Quote Link to comment Share on other sites More sharing options...
PineDominator Posted December 23, 2011 Share Posted December 23, 2011 (edited) Anyone ? Lol try this with windows key and r key cmd.exe /C FOR /F %I IN ('wmic logicaldisk WHERE "DriveType=2" LIST BRIEF ^| FIND "Put in your volume name here"') DO %Ievilscript.bat change Put in your volume name here with the volume name of your usb mass storage and change evilscript.bat to what ever you want to run ie evilfolder\\evilscript.bat that would be in folder evilfolder and run evilscript not sure if there are errors with my code I took it out of my own library Edited December 23, 2011 by petertfm Quote Link to comment Share on other sites More sharing options...
Sl1m Posted December 25, 2011 Author Share Posted December 25, 2011 thx for the reply ! but the problem is i dont know the drive letter, each time yo insert it in a different computer it gets the available letter. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted December 26, 2011 Share Posted December 26, 2011 (edited) thx for the reply ! but the problem is i dont know the drive letter, each time yo insert it in a different computer it gets the available letter. that code should find the drive letter and place it in the %i variable with the rest being your file to run remember the volume name is the name all mass storage devices can have, right click and name to something then put that name into the string to find the letter again i don't know if that particular code works there is the original somewhere on the forums if you search, it would be back in the teensy days of the ducky project. Edited December 26, 2011 by petertfm 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.