2021-12-21 12:49:57 +00:00
|
|
|
REM This is BadUSB demo script for windows
|
|
|
|
|
|
|
|
REM Open windows notepad
|
|
|
|
DELAY 1000
|
|
|
|
GUI r
|
|
|
|
DELAY 500
|
|
|
|
STRING notepad
|
|
|
|
DELAY 500
|
|
|
|
ENTER
|
|
|
|
DELAY 750
|
|
|
|
|
|
|
|
STRING Hello World!
|
|
|
|
ENTER
|
|
|
|
DEFAULT_DELAY 50
|
|
|
|
|
2022-08-11 11:47:18 +00:00
|
|
|
REM Copy-Paste previous string
|
2021-12-21 12:49:57 +00:00
|
|
|
UP
|
|
|
|
HOME
|
|
|
|
SHIFT DOWN
|
|
|
|
CTRL c
|
|
|
|
RIGHT
|
|
|
|
CTRL v
|
|
|
|
CTRL v
|
|
|
|
|
2022-01-02 17:34:39 +00:00
|
|
|
REM Alt code input demo
|
|
|
|
ALTCHAR 7
|
|
|
|
ALTSTRING This line was print using Alt+Numpad input method. It works even if non-US keyboard layout is selected
|
|
|
|
ENTER
|
|
|
|
|
2021-12-21 12:49:57 +00:00
|
|
|
STRING =
|
|
|
|
REPEAT 59
|
|
|
|
ENTER
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
STRING _.-------.._ -,
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING .-"```"--..,,_/ /`-, -, \
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING .:" /:/ /'\ \ ,_..., `. | |
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING / ,----/:/ /`\ _\~`_-"` _;
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING ' / /`"""'\ \ \.~`_-' ,-"'/
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING | | | 0 | | .-' ,/` /
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING | ,..\ \ ,.-"` ,/` /
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING ; : `/`""\` ,/--==,/-----,
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING | `-...| -.___-Z:_______J...---;
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING : ` _-'
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING _L_ _ ___ ___ ___ ___ ____--"`
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING | __|| | |_ _|| _ \| _ \| __|| _ \
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING | _| | |__ | | | _/| _/| _| | /
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
STRING |_| |____||___||_| |_| |___||_|_\
|
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
STRING Flipper Zero BadUSB feature is compatible with USB Rubber Ducky script format
|
|
|
|
ENTER
|
2022-10-06 11:18:40 +00:00
|
|
|
STRING More information about script syntax can be found here:
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
2023-01-09 06:03:51 +00:00
|
|
|
STRING https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/file_formats/BadUsbScriptFormat.md
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|