├── README.md ├── hack_notepad.txt ├── openChrome.txt └── keyboard_converter.py /README.md: -------------------------------------------------------------------------------- 1 | # FlipperZero_BadUSB 2 | This is a collection of Flipper Zero BadUSB scripts written in DuckyScript. 3 | -------------------------------------------------------------------------------- /hack_notepad.txt: -------------------------------------------------------------------------------- 1 | REM Author: TK-Elliot 2 | DELAY 1000 3 | GUI D 4 | DELAY 1000 5 | GUI R 6 | DELAY 1000 7 | STRING powershell.exe 8 | ENTER 9 | DELAY 1000 10 | STRING notepad.exe 11 | ENTER 12 | DELAY 1000 13 | STRING I hacked you 14 | ENTER -------------------------------------------------------------------------------- /openChrome.txt: -------------------------------------------------------------------------------- 1 | REM Author: TK-Elliot 2 | REM This only works for Japanese keyboard. 3 | DELAY 1000 4 | GUI D 5 | DELAY 1000 6 | GUI R 7 | DELAY 1000 8 | STRING powershell.exe 9 | ENTER 10 | DELAY 1000 11 | REM "C:\Program Files\Google\Chrome\Application\chrome.exe" 12 | STRING start @C'/Program Files/Google/Chrome/Application/chrome.exe@ 13 | ENTER 14 | DELAY 3000 15 | STRING I hacked you 16 | ENTER 17 | DELAY 500 18 | GUI UPARROW -------------------------------------------------------------------------------- /keyboard_converter.py: -------------------------------------------------------------------------------- 1 | # This is a script for converting Japanese keyboard to US keyboard. 2 | 3 | convert_dict = {"\"": "@", "&": "^", "'": "&", "(": "*", ")": "(", "=": "_", 4 | "~": "+", "^": "=", "|": "}", "\\": "/", "`": "{", "@": "]", "{": "}", "[": "]", 5 | "+": ":", "*": "\"", ":": "'", "}": "|", "]": "\\"} 6 | string = input("Type your string: ") 7 | replaced = [] 8 | for s in string: 9 | try: 10 | s = convert_dict[s] 11 | except: 12 | s = s 13 | replaced.append(s) 14 | result = ''.join(map(str, replaced)) 15 | print(result) 16 | --------------------------------------------------------------------------------