justcuriousid Posted November 8, 2016 Posted November 8, 2016 Hi, I just got my first Rubber Ducky. when inserting the Rubber Ducky for the first time the default "hello" program worked as expected. I have tried building and writing a my own inject.bin The syntax i have used: "DELAY 3000 GUI r DELAY 200 STRING notepad ENTER DELAY 200 STRING Hello World!!! ENTER" After writing the new inject.bin - i can see that the green light is flashing but nothing happens I have tried writing the inject.bin from windows and from a linux virtualbox machine but nothing changed Did anyone encounter this issue ? Any idea what could be the issue ? Thanks Quote
Decoy Posted November 8, 2016 Posted November 8, 2016 Is that the code for your new script? Including the quotes? Or are the quotes just there to denote the beginning and end of your script? Quote
justcuriousid Posted November 8, 2016 Author Posted November 8, 2016 Yes - This is the code. Quotes are just for marking the beginning and end of the script Quote
Decoy Posted November 8, 2016 Posted November 8, 2016 Can you tell me your process for encoding? Are you using windows? linux? Quote
Decoy Posted November 8, 2016 Posted November 8, 2016 (edited) If you are doing this from the command line, make sure you're using the correct repository from github: https://github.com/hak5darren/USB-Rubber-Ducky From the ReadMe: This new version allows you to use alternative layout. It supports ASCII, ISO-8859-1 and unicode. $java -jar duckencode.jar -i script.txt -o inject.bin -l fr or $java -jar duckencode.jar -i script.txt -o inject.bin -l resources/mylayout.properties (mylayout.properties = keyboard layout - so us.properties if in US) Alternatively, you can use the DuckToolKit - which is what I used for my first few scripts: https://ducktoolkit.com/encoder/ See if the toolkit resolves you're issues; however at this point I prefer the actual duck encoder. D Edited November 8, 2016 by Decoy Quote
justcuriousid Posted November 8, 2016 Author Posted November 8, 2016 Thanks - Using the ducktoolkit works Quote
Decoy Posted November 8, 2016 Posted November 8, 2016 OK good. I think the problem with the command line is you might be missing the keyboard layout. Try doing this whenever you get the chance: jar duckencode.jar -i script.txt -o inject.bin -l resources/us.properties Obviously the above line assumes you're in the US, so change it to whatever keyboard makes the most sense. I eventually ran into a problem with certain characters not converting correctly with the ducktoolkit. Good luck, D Quote
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.