Jump to content

Accidentially deleted the inject.bin file :(


AnotherUser
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 months later...
  • 8 months later...

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.

Link to comment
Share on other sites

  • 10 months later...
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.

Link to comment
Share on other sites

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

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