Explanations are only given for commands not present in the original DuckyScript, for everything else refer to DuckyScript documentation.
These mean exactly what one would expect and should need no further explanation.
- Modifiers:
CTRL
,CONTROL
,SHIFT
,ALT
,GUI
,WINDOWS
- Combos:
CTRL-ALT
,CTRL-SHIFT
,ALT-SHIFT
,ALT-GUI
,GUI-SHIFT
- Cursor:
DOWNARROW
,DOWN
,LEFTARROW
,LEFT
,RIGHTARROW
,RIGHT
,UPARROW
,UP
- Control and navigation:
ENTER
,BREAK
,PAUSE
,CAPSLOCK
,DELETE
,BACKSPACE
,END
,ESC
,ESCAPE
,HOME
,INSERT
,NUMLOCK
,PAGEUP
,PAGEDOWN
,PRINTSCREEN
,SCROLLOCK
,SPACE
,TAB
,MENU
,APP
,SYSRQ
- Function:
F1
,F2
,F3
,F4
,F5
,F6
,F7
,F8
,F9
,F10
,F11
,F12
STRING
ALTSTRING <string>
,ALTCODE <string>
-- Not present in DuckyScript, these are the equivalent ofSTRING
, as if the string was typed in by holding Alt and entering the unicode code of every character, as described in Windows documentation. This is the way to get around the fact that there are no standard ways to switch input keyboard language and important in parts of the world where default keyboard has no Latin characters on it at all. This only works on Windows.ALTCHAR <code>
-- Altstring is internally a sequence ofALTCHAR
invocations.
There is no support for STRINGLN
.
REM
ID <vendor:id>
- Equivalent to certain features of DuckyScript'sATTACKMODE
. executed in preload phase, sets USB id of the keyboard device. For example,ID 04d9:1702
is an AJAZZ keyboard.DELAY
DEFAULT_DELAY
,DEFAULTDELAY
REPEAT
DUCKY_LANG
- ignored, recognized as a command purely for compatibility with existing scripts.
Thanks for this.