Language Keyboard

My keyboard is set to Spanish.
I can’t send any character correctly

In the original USB Duck I found that you can change the keyboard encoding
https://github.com/hak5darren/USB-Rubber-Ducky/tree/master/Encoder/resources

Is there any way to do it with Flipper?

2 Likes

Not at the moment, but this is possible to add in the future

5 Likes

Having the same issue but for UK keyboard. It’s converting \ to #. I presume there’s currently no fix for this?

Try using “ALTSTRING”. It works even if non-US keyboard layout is selected.

ALTSTRING just gives me numbers for some reason :confused:

This is what I get when running the Windows Demo with a UK keyboard layout.

Hello World!
Hello World!
Hello World!
784104105115321081051101013211997115321121141051101163211711510511010332651081164378117109112971003210511011211711632109101116104111100463273116321191111141071153210111810111032105102321101111104585833210710112198111971141003210897121111117116321051153211510110810199116101100
============================================================

              _.-------.._                    -,
          .-@```@--..,,_/ /`-,               -,  # 
       .:@          /:/  /'#  #     ,_...,  `. ~  ~
      /       ,----/:/  /`# _#¬`_-@`     _;
     '      / /`@@@'# # #.¬`_-'      ,-@'/ 
    ~      ~ ~  0    ~ ~ .-'      ,/`  /
   ~    ,..# #     ,.-@`       ,/`    /
  ;    :    `/`@@#`           ,/--==,/-----,
  ~    `-...~        -.___-Z:_______J...---;
  :         `                           _-'
 _L_  _     ___  ___  ___  ___  ____--@`
~ __~~ ~   ~_ _~~ _ #~ _ #~ __~~ _ # 
~ _~ ~ ~__  ~ ~ ~  _/~  _/~ _~ ~   / 
~_~  ~____~~___~~_~  ~_~  ~___~~_~_# 

Flipper Zero BadUSB feature is compatible with USB Rubber Ducky script format
More information about script synax can be found here:
https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript

It’s fixed in the latest dev build so update to that if you can’t wait for the next release.

4 Likes

I had the same issue. I made a quick and dirty tool to translate the payloads, or single strings. More keyboard layouts can be added. There are some issues, but it seems to work for simple things.

APN201 Payload translator

1 Like

Isn’t it easier to change the language of the computer? I ask in my ignorance.

1 Like

That would defeat the purpose in most cases. BadUSB is often used for example in pentesting, where you use it to run a script quickly, stealthy and automatically. Going in control panel adding an US keyboard before executing the payload (and then removing it afterwards) does not really work - unless you are just using the payloads on your own pc.

You are right, I am checking it in my own scripts with my rubber ducky. I hadn’t had any problems since I run them on my own computer but if I change the language it’s problematic. Of course, everything is even more difficult if you run Github scripts, especially in my country, since everything is in English, so you have to change many instructions.