Closed andreasbrett closed 3 years ago
Will go on with improvements for Ducky script in pico-ducky over on my fork. Ducky script hasn't seen improvements for 5 years now. I get that you want to stick to the original script language, it's just how I see it.
added new
LOCALE
command to dynamically switch keyboard layout. allows defining your keyboard layouts in the payload rather than having to modifyduckyinpython.py
orcode.py
. best used as first line in the payload to fix the locale.could be useful to switch keyboard layouts at runtime in between other commands. think rare cases where applications use different keyboard layouts.
syntax:
LOCALE DE
will load keyboard_layout_win_de and keycode_win_deLOCALE SW
will load keyboard_layout_win_sw and keycode_win_swLOCALE FR
will load keyboard_layout_win_fr and keycode_win_fr ...stole the idea from @spacehuhn and his awesome WifiDuck