SpacehuhnTech / WiFiDuck

Wireless keystroke injection attack platform
http://wifiduck.com
MIT License
2.04k stars 355 forks source link

locale ES: Impossible to write apostrophe (') #51

Closed andreswhr closed 4 years ago

andreswhr commented 4 years ago

Testing the ES layout on my WiFiDuck:

REM es char test
LOCALE ES
GUI r
notepad.exe
ENTER
DELAY 200
STRING !"#$%&'()*+,-./0123456789: =>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_abcdefghijklmnopqrstuvwxyz{|}~¿¡ñÑçǺª€·¨`
ENTER

returns the following in a notepad:


!"#$%&.()*+,-./0123456789: =>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_abcdefghijklmnopqrstuvwxyz{|}~¿¡ñÑçǺª€·¨`

As you can see, every character is translated correctly except for the 7th one, where the apostrophe (') is translated into a dot (.)

This is making it impossible for me to type powershell commands into the wifiduck, as that character is commonly required.

In a common spanish keyboard layout, (') is located just after the top numeric line, so it is like this: ESC 1 2 3 4 5 6 7 8 9 0 ' ¡ BACKSPACE

Any advice will be appreciated. Thanks in advance.

welcome[bot] commented 4 years ago

Thanks for opening your first issue here! 🎉
👉 Be sure to:
1. 📖 Have a look at the Wiki and README for information
2. 🔍 Search for similar issues (open and closed)
3. ✍️ Provide enough information to understand, recreate and help out with your problem
4. ℹ️ Let us know if you find a solution
5. 📕 Close the issue when your problem has been solved

Bommlon commented 4 years ago

You can try to fix this by modifying the keyboard layout, here's how.

spacehuhn commented 4 years ago

Thank you for the report. Seems like our translator made a little mistake. Luckily I was able to find the bug (https://github.com/SpacehuhnTech/WiFiDuck/commit/ca3a1975c31f342da7db8e5bd554fc30dbb30f67).