forked from Next-Flip/Momentum-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
applications/main/bad_kb/resources/badusb/Demos/demo_android.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
REM Credit: John Hickens | ||
|
||
GUI b | ||
DELAY 600 | ||
ENTER | ||
DELAY 1000 | ||
CTRL l | ||
DELAY 100 | ||
STRING https://github.com/Next-Flip/Momentum-Firmware | ||
DELAY 100 | ||
ENTER | ||
DELAY 500 | ||
STRING f |
13 changes: 13 additions & 0 deletions
13
applications/main/bad_kb/resources/badusb/Demos/demo_ios.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
REM Credit: @Mr-Proxy-source and @Willy-JL | ||
|
||
GUI h | ||
DELAY 1000 | ||
GUI SPACE | ||
DELAY 250 | ||
STRING https://github.com/Next-Flip/Momentum-Firmware | ||
DELAY 75 | ||
TAB | ||
DELAY 75 | ||
ENTER | ||
DELAY 150 | ||
ENTER |
86 changes: 86 additions & 0 deletions
86
applications/main/bad_kb/resources/badusb/Demos/demo_macos.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
ID 1234:5678 Apple:Keyboard | ||
REM You can change these values to VID/PID of original Apple keyboard | ||
REM to bypass Keyboard Setup Assistant | ||
|
||
REM This is BadKB demo script for macOS | ||
|
||
REM Open terminal window | ||
DELAY 1000 | ||
GUI SPACE | ||
DELAY 500 | ||
STRING terminal | ||
DELAY 500 | ||
ENTER | ||
DELAY 750 | ||
|
||
REM Copy-Paste previous string | ||
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 | ||
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 BadKB 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 | ||
|
||
STRING EOF | ||
ENTER |
84 changes: 84 additions & 0 deletions
84
applications/main/bad_kb/resources/badusb/Demos/demo_windows.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
REM This is BadKB 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 | ||
|
||
REM Copy-Paste previous string | ||
UP | ||
HOME | ||
SHIFT DOWN | ||
CTRL c | ||
RIGHT | ||
CTRL v | ||
CTRL v | ||
|
||
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 | ||
|
||
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 BadKB 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 |