unleashed-firmware icon indicating copy to clipboard operation
unleashed-firmware copied to clipboard

Guide: How to use custom layouts in badUSB?

Open TheT3ngu opened this issue 2 years ago • 3 comments

Description of the feature you're suggesting.

The Keyboard layout file generator provides us with the possibility to create custom keyboard layouts for Flipper`s badUSB, and many of these layouts are preinstalled as .kl-files with the latest release. But: How do we use a generated layout on the Flipper in badUSB? Does there need to be some kind of command in each ducky script that tells the Flipper what layout to use for the attack, or how do we tell the Flipper which layout to use? A guide on how to use custom layouts within for the badUSB-module would be a nice complement to the guide section.

Anything else?

No response

TheT3ngu avatar Dec 18 '22 18:12 TheT3ngu

I would guess that you can just throw them into /ext/badusb/layouts (Or BadUSB/Layouts if you access your SD-Card directly)

Admonstrator avatar Jan 15 '23 10:01 Admonstrator

thought so too, but unfortunately, after deleting everything from /layouts but my local lang (de-DE) badUSB is still using default american layout when executing scripts.

TheT3ngu avatar Jan 22 '23 18:01 TheT3ngu

Afaik you choose the layout to use before you start your badusb script. It can be choosen by selecting the options in the badusb app.

Admonstrator avatar Jan 22 '23 21:01 Admonstrator

You are right! For anyone who is as braindead as me, the process is:

  1. select your script
  2. DON'T hit run, but press < - Button and select layout
  3. Hit run

TheT3ngu avatar Jan 26 '23 13:01 TheT3ngu