Jump to content

[Question] Rubber ducky payload fail with german keyboard


Recommended Posts

Hello there,

i just downloaded the latest duck-encoder from here (v2.6).

then i just downloaded the runexe_from_Sd payload from here:

https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payload---runexe-from-sd

ok here comes the problem:

when using the language-switch -l de it fails with error ASCII_5E character not found

root@kali:~/work/rubberducky/encoder# java -jar encoder.jar -l de -i exe_from_sd_master.txt -o inject.bin
Hak5 Duck Encoder 2.6

Loading File ..... [ OK ]
Loading Keyboard File ..... [ OK ]
Loading Language File ..... [ OK ]
Loading DuckyScript ..... [ OK ]
Char not found:ASCII_5E
Char not found:ASCII_5E
DuckyScript Complete..... [ OK ]

if i use us keyboard, it works fine.

java -jar encoder.jar -l us -i exe_from_sd_master.txt -o inject.bin
Hak5 Duck Encoder 2.6

Loading File ..... [ OK ]
Loading Keyboard File ..... [ OK ]
Loading Language File ..... [ OK ]
Loading DuckyScript ..... [ OK ]
DuckyScript Complete..... [ OK ]

but: z / y are switched on german keyboard (and a lot of other things, therefore, us keyboard is not an option for me).

any ideas how to solve it?

for now i simply exchanged the copy entries to copz but this is not funny

regards

rubberduckyuser

Link to comment
Share on other sites

Ok another step forward:

de.properties shows me this:

ASCII_5E = KEY_TILDE
// 94 ^

in fact my keyboardlayout looks like this:

http://en.wikipedia.org/wiki/German_keyboard_layout

i need to press the upper left key right under the esc key and hit space to get this key.

ihow do i set this in the properties file?

best

ruberduckyuser

Link to comment
Share on other sites

it might be ASCII_5E = KEY_TILDE, KEY SPACE

Not sure whats going on? Can you use a usb sniffer and a usb keyboard, to capture the key sequence, then we can look at patching the code.

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