Jump to content

HID/Mass Storage interaction

Go to solution Solved by dark_pyrro,

Recommended Posts

After purchasing a Rubber Ducky V2.0 trying the Hello World example. Therefore I replaced the inject.com and HelloWorld works like expected.

The HelloWorld script is always executed at power up or enumeration of the ducky what is also like expected. Same time, the ducky does not enumerate any more as mass storage. This requires to press the ducky button to gain access to the flash storage. Further, the green LED is always illuminated while there are no LED commands inside the HelloWorld script.

I am afraid to stall my new ducky accidently, as  long as I did not understand when and who is executed or enumerated.


Link to comment
Share on other sites

  • Solution

It will execute the payload at every boot, so nothing strange about that. If you want to stop it from running the payload, you have to replace the payload with something else. Or, as you say, press the button at boot to enter arming mode.

Link to comment
Share on other sites

Thanks and sorry for not reading the manual. In the meantime I am familiar with the ATTAKMODE and BUTTON_DEF commands. Of coarse I run in the trap where mass storage disappeared very soon and solved using external micro SD reader.

The only thing when the duc behaviour is not like expected, inject.bin always shows 0 bytes size. This happens frequently for the reason of USB disconnect without using eject before to restart a new downloaded payload for testing. Obviously Ubuntu delays the file write operation to duc very long inside its cache what is not known from other SD-Cards.

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...