Jump to content

[Question] Faq


Recommended Posts

I thought we might start a FAQ thread.

Q My USB Rubber Ducky seems to be keen on skipping the first line or two of my code. What do I do to fix this?

A Placing a "DELAY 1000" at the very top of the script seems to give the computer alittle extra time to recognize the USB Rubber Ducky. If your code seems to be skipping at random, you may try using DEFAULTDELAY which will change the DELAY amount between every command.(Thanks Snubs)

Q I have heard other people talk about a newer red version of the USB Rubber Ducky. Is it better...er?

A The biggest difference is the actual hardware of the two. The first one has a flip door for the Micro SD card and was a bit flimsy. The red(or white) (second) iteration of the Ducky comes with a slot for the SD card to be pushed into. It's a much more solid holder and doesn't have the problem on the SD card popping out. (Thanks Snubs)

Please add to this thread if you can.

Edited by x0Jakeyboy0x
Link to comment
Share on other sites

Howdy!

1:

I believe the DUCKYDELAY script will help: https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript

This will put a delay between commands.

2:

The biggest difference is the actual hardware of the two. The first one has a flip door for the Micro SD card and was a bit flimsy. The red (second) iteration of the Ducky comes with a slot for the SD card to be pushed into. It's a much more solid holder and doesn't have the problem on the SD card popping out.

I hope this helps!

Link to comment
Share on other sites

Howdy, Snubs. Fancy meeting you round these parts.

Thanks a lot for the answers. Seems the red iteration must also come in white, because the one I recently received is white. Looks very good too.

If anyone else has some questions, feel free to post.

Edited by x0Jakeyboy0x
Link to comment
Share on other sites

Hi,

in fact I'm not sure that defaultdelay is working.

// Default delay
if (!delayOverride & defaultDelay != 0x00) {
  while (defaultDelay > 0) {
    file.add((byte) 0x00);
    if (defaultDelay > 255) {
      file.add((byte) 0xFF);
      defaultDelay = defaultDelay - 255;
    } else {
      file.add((byte) defaultDelay);
      defaultDelay = 0;
    }
  }
}

The parameter defaultdelay must not be changed so it's 0 for the next instruction.

if (instruction[0].equals("DEFAULT_DELAY")
|| instruction[0].equals("DEFAULTDELAY")) {
  defaultDelay = (byte) Integer.parseInt(instruction[1].trim());
}

And the value must not be cast in byte.

I proposed some modifications there : http://forums.hak5.org/index.php?showtopic=26782

Regards,

Dnucna

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.

  • Recently Browsing   0 members

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