Skip to content

Instantly share code, notes, and snippets.

@kowalski7cc
Last active February 11, 2023 15:23
Show Gist options
  • Save kowalski7cc/fa59c0f7250ff9b789777e976ff4495c to your computer and use it in GitHub Desktop.
Save kowalski7cc/fa59c0f7250ff9b789777e976ff4495c to your computer and use it in GitHub Desktop.
Bad USB demo for chromeOS
REM This is BadUSB demo script for chromeOS
REM Open windows notepad
DELAY 1000
CTRL t
DELAY 500
STRING data:text/html, <html contenteditable><style>body{font-family:monospace;}
DELAY 500
ENTER
DELAY 750
TAB
STRING Hello World!
ENTER
DEFAULT_DELAY 50
REM Copy-Paste previous string
UP
HOME
SHIFT DOWN
CTRL c
RIGHT
CTRL v
CTRL v
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
STRING More information about script syntax can be found here:
ENTER
STRING https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/file_formats/BadUsbScriptFormat.md
ENTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment