AnotherUser Posted October 2, 2015 Share Posted October 2, 2015 Hello, I just got my RubberDucky. I rolled through the hello world example. It worked. After that I attempted to load, "YouveBeenUglyRolled By petertfm" on the ducky. I removed the hello world txt file first then loaded the YouveBeen.....txt file and the Ducky would when reimplemented would execute the hello world.txt file that was no longer on the SD card so.... I got frustrated and tried a few and accidentally deleted my inject.bin file. Now my ducky is dead in the water. Where can I get a copy of the inject.bin file? Please advise. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted October 2, 2015 Share Posted October 2, 2015 The inject.bin is what the actual code is that the rubber ducky runs. You cannot upload a txt file directly for a new payload. It will need to be compiled. Attached is the default inject.bin. Make sure to unzip it. inject.zip Quote Link to comment Share on other sites More sharing options...
kellyd3454 Posted December 23, 2015 Share Posted December 23, 2015 I did the same aswell and I could not download the zip. It said that I did not have the right to. Thank you. kelly Quote Link to comment Share on other sites More sharing options...
barry99705 Posted December 23, 2015 Share Posted December 23, 2015 I did the same aswell and I could not download the zip. It said that I did not have the right to. Thank you. kelly Works for me. If you still can't do it, just compile a new one with the many different script generators. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted December 24, 2015 Share Posted December 24, 2015 Kellyd3454 may not have permission due to account restrictions on the forums. I will promote the account and please try again. Quote Link to comment Share on other sites More sharing options...
chonoz19 Posted September 23, 2016 Share Posted September 23, 2016 I also deleted my inject file and I used yr zip file but nothing happened and the led is flashing red instead of green like it normally would, please help. Quote Link to comment Share on other sites More sharing options...
UnixSecLab Posted September 25, 2016 Share Posted September 25, 2016 The inject.bin is the file you create when you compile your ducky script using the encoder.jar file. You have to compile your own inject.bin every time you want to change what the payload is going to be. Just write yourself a ducky script, and then grab the encoder from the github wiki site and compile your own inject.bin. Quote Link to comment Share on other sites More sharing options...
VLogOut Posted August 8, 2017 Share Posted August 8, 2017 On 10/2/2015 at 5:39 PM, AnotherUser said: Hello, I just got my RubberDucky. I rolled through the hello world example. It worked. After that I attempted to load, "YouveBeenUglyRolled By petertfm" on the ducky. I removed the hello world txt file first then loaded the YouveBeen.....txt file and the Ducky would when reimplemented would execute the hello world.txt file that was no longer on the SD card so.... I got frustrated and tried a few and accidentally deleted my inject.bin file. Now my ducky is dead in the water. Where can I get a copy of the inject.bin file? Please advise. Version Windows 10: You need to make sure you have java installed on your pc and duckencode.jar. when you've written a payload and save it as a .txt file, make sure you save the .txt in a folder that also contains the duckencoder.jar then when you are looking at both the .txt file and duckencoder.jar, you can hold "shift" and right click till you see "Open Powershell window here". this will pop up powershell, once it's loaded up, type in cmd and press "Enter" and then you can encode that .txt file into an inject.bin. To do this: you should still have powershell up and have already typed cmd and pressed enter. type in: java -jar duckencoder.jar -i WhateverYouNamedYourScript.txt then hit Enter and you will see the inject.bin then you can move the inject.bin to your SD card. BTW after typing in "du" for the duckencoder.jar, you can just hit Tab and it will autofill in the rest of "duckencoder.jar" same with whatever your .txt is BTW here is the payload you can use:) just edit the part after STRING to whatever you want. DELAY 1000 WINDOWS r DELAY 100 STRING notepad ENTER DELAY 200 STRING Hello There. Quote Link to comment Share on other sites More sharing options...
Willhall996 Posted August 12, 2017 Share Posted August 12, 2017 Can anyone tell me what other files, if any, are on the memory card with the inject.bin file. lost the original card and also if it has to be formatted in any specific manor? Quote Link to comment Share on other sites More sharing options...
ThoughtfulDev Posted August 12, 2017 Share Posted August 12, 2017 10 hours ago, Willhall996 said: Can anyone tell me what other files, if any, are on the memory card with the inject.bin file. lost the original card and also if it has to be formatted in any specific manor? FAT32. and no only the inject.bin since this was just the hello world payload. as already said use the java encoder to encode your raw txt payload into the inject.bin 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.