2022-03-23 13:35:25 +00:00
|
|
|
ID 1234:5678 Apple:Keyboard
|
|
|
|
REM You can change these values to VID/PID of original Apple keyboard
|
|
|
|
REM to bypass Keyboard Setup Assistant
|
|
|
|
|
2021-12-21 12:49:57 +00:00
|
|
|
REM This is BadUSB demo script for macOS
|
|
|
|
|
|
|
|
REM Open terminal window
|
|
|
|
DELAY 1000
|
|
|
|
GUI SPACE
|
|
|
|
DELAY 500
|
|
|
|
STRING terminal
|
|
|
|
DELAY 500
|
|
|
|
ENTER
|
|
|
|
DELAY 750
|
|
|
|
|
2022-06-14 00:57:14 +00:00
|
|
|
REM Copy-Paste previous string
|
2021-12-21 12:49:57 +00:00
|
|
|
UP
|
|
|
|
CTRL c
|
|
|
|
|
|
|
|
REM Bigger shell script example
|
|
|
|
STRING cat > /dev/null << EOF
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
STRING Hello World!
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
DEFAULT_DELAY 50
|
|
|
|
|
|
|
|
STRING =
|
|
|
|
REPEAT 59
|
|
|
|
ENTER
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
STRING _.-------.._ -,
|
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING .-"'''"--..,,_/ /'-, -, \
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING .:" /:/ /'\ \ ,_..., '. | |
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING / ,----/:/ /'\ _\~'_-"' _;
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING ' / /'"""'\ \ \.~'_-' ,-"'/
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING | | | 0 | | .-' ,/' /
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING | ,..\ \ ,.-"' ,/' /
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING ; : '/'""\' ,/--==,/-----,
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING | '-...| -.___-Z:_______J...---;
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING : ' _-'
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING _L_ _ ___ ___ ___ ___ ____--"'
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING | __|| | |_ _|| _ \| _ \| __|| _ \
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING | _| | |__ | | | _/| _/| _| | /
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
2022-12-27 07:55:25 +00:00
|
|
|
STRING |_| |____||___||_| |_| |___||_|_\
|
2021-12-21 12:49:57 +00:00
|
|
|
ENTER
|
|
|
|
HOME
|
|
|
|
ENTER
|
|
|
|
|
|
|
|
STRING Flipper Zero BadUSB feature is compatible with USB Rubber Ducky script format
|
|
|
|
ENTER
|
2022-06-14 00:57:14 +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
|
|
|
|
|
|
|
|
STRING EOF
|
|
|
|
ENTER
|