Skip to content

Commit 1833a56

Browse files
committed
asd
1 parent 26ff896 commit 1833a56

File tree

4 files changed

+79
-11
lines changed

4 files changed

+79
-11
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# 🦆 DuckyScript Cookbook
22

3-
Welcome to the **DuckyScript Cookbook** your quacktastic assistant for whipping up DuckyScript magic in no time! 🚀
3+
Welcome to the **DuckyScript Cookbook** - your quacktastic assistant for whipping up DuckyScript magic in no time! 🚀
44

5-
<a href="https://open-vsx.org/extension/Aleff/duckyscriptcookbook"><img src="https://vscodium.com/img/codium_cnl.svg" width="50" /></a> <a href="https://marketplace.visualstudio.com/items?itemName=Aleff.duckyscriptcookbook"><img src="https://code.visualstudio.com/assets/images/code-stable.png" width="50" /></a>
5+
## Available On
66

7+
🌟 <a href="https://open-vsx.org/extension/Aleff/duckyscriptcookbook"> <img src="https://vscodium.com/img/codium_cnl.svg" width="60" alt="VSCodium logo" style="vertical-align: middle; margin-right: 8px;"/> **VSCodium** </a> 🌟 <a href="https://marketplace.visualstudio.com/items?itemName=Aleff.duckyscriptcookbook"> <img src="https://code.visualstudio.com/assets/images/code-stable.png" width="60" alt="VSCode logo" style="vertical-align: middle; margin-right: 8px;"/> **VSCode** </a> 🌟
78

89
_This is not an official extension of Hak5 or Flipper Zero but was developed by a third party._
910

syntaxes/duckyscript.tmLanguage.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
},
1111
{
1212
"include": "#code_blocks"
13+
},
14+
{
15+
"include": "#usb_army_knife"
1316
}
1417
],
1518
"repository": {
@@ -49,6 +52,34 @@
4952
"match": "(?<=\\s|\\t|^)(STRING|STRING_POWERSHELL|STRING_BATCH|STRING_BASH|STRING_JAVASCRIPT|STRING_PYTHON|STRING_RUBY|STRING_HTML|END_STRING|STRINGLN|STRINGLN_POWERSHELL|STRINGLN_BATCH|STRINGLN_BASH|STRINGLN_JAVASCRIPT|STRINGLN_PYTHON|STRINGLN_RUBY|STRINGLN_HTML|END_STRINGLN|DELAY|ATTACKMODE|ENTER|ESCAPE|SHIFT|ALT|CTRL|GUI|DOWNARROW|DOWN|UPARROW|UP|LEFTARROW|LEFT|RIGHTARROW|RIGHT|TAB|CAPSLOCK|DELETE|DEL|END|ESC|HOME|INSERT|PAGEUP|PAGEDOWN|PRINTSCREEN|SPACE|BACKSPACE|BREAK|PAUSE|MENU|APP|F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12|NUMLOCK|SCROLLLOCK|WINDOWS|CONTROL|COMMAND|OPTION|INJECT_MOD|WAIT_FOR_BUTTON_PRESS|LED_OFF|LED_R|LED_G|HID|STORAGE|OFF|ATTACKMODE|RANDOM_LOWERCASE_LETTER|RANDOM_UPPERCASE_LETTER|RANDOM_LETTER|RANDOM_NUMBER|RANDOM_SPECIAL|RANDOM_CHAR|VID_RANDOM|PID_RANDOM|MAN_RANDOM|PROD_RANDOM|SERIAL_RANDOM|HOLD|RESET|RESTART_PAYLOAD|STOP_PAYLOAD|HIDE_PAYLOAD|RESTORE_PAYLOAD|WAIT_FOR_CAPS_ON|WAIT_FOR_CAPS_OFF|WAIT_FOR_CAPS_CHANGE|WAIT_FOR_NUM_ON|WAIT_FOR_NUM_OFF|WAIT_FOR_NUM_CHANGE|WAIT_FOR_SCROLL_ON|WAIT_FOR_SCROLL_OFF|WAIT_FOR_SCROLL_CHANGE|SAVE_HOST_KEYBOARD_LOCK_STATE|RESTORE_HOST_KEYBOARD_LOCK_STATE|EXFIL)(?=\\s|\\t|$)"
5053
}
5154
]
55+
},
56+
"usb_army_knife": {
57+
"patterns": [
58+
{
59+
"name": "usb_army_knife.userinterface.duckyscript",
60+
"match": "(?<=\\s|\\t|^)(TFT_OFF|TFT_ON|DISPLAY_PNG|DISPLAY_TEXT|DISPLAY_CLEAR|LED|LED_B)(?=\\s|\\t|$)"
61+
},
62+
{
63+
"name": "usb_army_knife.hardware.duckyscript",
64+
"match": "(?<=\\s|\\t|^)(WEB_OFF|WEB_ON|WIFI_OFF|WIFI_ON|SERIAL|BUTTON_LONG_PRESS|BUTTON_SHORT_PRESS)(?=\\s|\\t|$)"
65+
},
66+
{
67+
"name": "usb_army_knife.usbfunctionality.duckyscript",
68+
"match": "(?<=\\s|\\t|^)(USB_MOUNT_DISK_READ_ONLY|USB_NCM_PCAP_ON|USB_NCM_PCAP_OFF|WAIT_FOR_USB_STORAGE_ACTIVITY|WAIT_FOR_USB_STORAGE_ACTIVITY_TO_STOP|RAW_HID)(?=\\s|\\t|$)"
69+
},
70+
{
71+
"name": "usb_army_knife.hostagent.duckyscript",
72+
"match": "(?<=\\s|\\t|^)(AGENT_RUN|WAIT_FOR_AGENT_RUN_RESULT|AGENT_CONNECTED)(?=\\s|\\t|$)"
73+
},
74+
{
75+
"name": "usb_army_knife.filehandling.duckyscript",
76+
"match": "(?<=\\s|\\t|^)(FILE_EXISTS|CREATE_FILE|DELETE_FILE|LOAD_FILES_FROM_SD|FILE_INDEX_VALID)(?=\\s|\\t|$)"
77+
},
78+
{
79+
"name": "usb_army_knife.other.duckyscript",
80+
"match": "(?<=\\s|\\t|^)(CALC|ESP32M|RUN_PAYLOAD|KEYBOARD_LAYOUT)(?=\\s|\\t|$)"
81+
}
82+
]
5283
}
5384
}
5485
}

themes/DarkDuckyScript-color-theme.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,14 +1831,16 @@
18311831
"name": "DuckyScript Declaration Keywords",
18321832
"scope": "keywords.declaration.duckyscript",
18331833
"settings": {
1834-
"foreground": "#56B6C2"
1834+
"fontStyle": "bold",
1835+
"foreground": "#3B82F6"
18351836
}
18361837
},
18371838
{
18381839
"name": "DuckyScript Operator Keywords",
18391840
"scope": "keywords.operator.duckyscript",
18401841
"settings": {
1841-
"foreground": "#E06C75"
1842+
"fontStyle": "bold",
1843+
"foreground": "#b82b58"
18421844
}
18431845
},
18441846
{
@@ -1853,12 +1855,28 @@
18531855
"name": "DuckyScript True Condition Keywords",
18541856
"scope": "keywords.truecondition.duckyscript",
18551857
"settings": {
1856-
"foreground": "#C678DD"
1858+
"fontStyle": "bold",
1859+
"foreground": "#bdda68"
18571860
}
18581861
},
18591862
{
18601863
"name": "DuckyScript Command Keywords",
18611864
"scope": "keywords.command.duckyscript",
1865+
"settings": {
1866+
"fontStyle": "bold",
1867+
"foreground": "#af63d5"
1868+
}
1869+
},
1870+
{
1871+
"name": "USB Army Knife Commands",
1872+
"scope": [
1873+
"usb_army_knife.userinterface.duckyscript",
1874+
"usb_army_knife.hardware.duckyscript",
1875+
"usb_army_knife.usbfunctionality.duckyscript",
1876+
"usb_army_knife.hostagent.duckyscript",
1877+
"usb_army_knife.filehandling.duckyscript",
1878+
"usb_army_knife.other.duckyscript"
1879+
],
18621880
"settings": {
18631881
"fontStyle": "bold",
18641882
"foreground": "#61AFEF"

themes/LightDuckyScript-color-theme.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,21 +1841,23 @@
18411841
],
18421842
"settings": {
18431843
"fontStyle": "italic",
1844-
"foreground": "#6B8E23"
1844+
"foreground": "#68B030"
18451845
}
18461846
},
18471847
{
18481848
"name": "DuckyScript Declaration Keywords",
18491849
"scope": "keywords.declaration.duckyscript",
18501850
"settings": {
1851-
"foreground": "#1E90FF"
1851+
"fontStyle": "bold",
1852+
"foreground": "#2563EB"
18521853
}
18531854
},
18541855
{
18551856
"name": "DuckyScript Operator Keywords",
18561857
"scope": "keywords.operator.duckyscript",
18571858
"settings": {
1858-
"foreground": "#D2691E"
1859+
"fontStyle": "bold",
1860+
"foreground": "#9e264c"
18591861
}
18601862
},
18611863
{
@@ -1870,16 +1872,32 @@
18701872
"name": "DuckyScript True Condition Keywords",
18711873
"scope": "keywords.truecondition.duckyscript",
18721874
"settings": {
1873-
"foreground": "#8A2BE2"
1875+
"fontStyle": "bold",
1876+
"foreground": "#8ea34e"
18741877
}
18751878
},
18761879
{
18771880
"name": "DuckyScript Command Keywords",
18781881
"scope": "keywords.command.duckyscript",
18791882
"settings": {
18801883
"fontStyle": "bold",
1881-
"foreground": "#D14D4D"
1882-
}
1884+
"foreground": "#7D4698"
1885+
}
1886+
},
1887+
{
1888+
"name": "USB Army Knife Commands",
1889+
"scope": [
1890+
"usb_army_knife.userinterface.duckyscript",
1891+
"usb_army_knife.hardware.duckyscript",
1892+
"usb_army_knife.usbfunctionality.duckyscript",
1893+
"usb_army_knife.hostagent.duckyscript",
1894+
"usb_army_knife.filehandling.duckyscript",
1895+
"usb_army_knife.other.duckyscript"
1896+
],
1897+
"settings": {
1898+
"fontStyle": "bold",
1899+
"foreground": "#4175a0"
1900+
}
18831901
}
18841902
]
18851903
}

0 commit comments

Comments
 (0)