On this page
article
Ducky Script Commands
BASICS
-
MATCH
– specifies a pattern that must be typed to trigger payload execution -
SAVEKEYS
– saves next or last typed keys to a specified file when a MATCH is found -
QUACK
– injects keystrokes using Ducky Script 2.0\ -
QUACKFILE
– injects keystrokes from specified file -
ATTACKMODE
– specifies which device type to emulate -
LED
– controls the multi-color LED -
GET_VARS
– returns useful variables for use in payload
PAYLOAD CONTROL & DEVELOPMENT
RELOAD_PAYLOADS
– instructs the payload framework to reingest payloads from diskCHECK_PAYLOADS
– checks theMATCH
andSAVEKEYS
syntax of the loaded payloadsRECORD_PAYLOAD
– interactive payload recorderENABLE_PAYLOAD
– enables payloadDISABLE_PAYLOAD
– disables payload\
EXTRAS
INSTALL_EXTRAS
– installs optional third party toolsKEYBOARD
– reports if a keyboard is present or missingudisk
– mount, unmount and format the udisk partition
\
WAIT COMMANDS
WAIT_FOR_KEYBOARD_ACTIVITY
– halts payload until keyboard activity is detectedWAIT_FOR_KEYBOARD_INACTIVITY
– halts payload until keyboard is inactive for specified timeWAIT_FOR_LOOT
– halts payload until specified loot is received
\
CLOUD C2 COMMANDS
C2NOTIFY
– sends a notification to the configured Cloud C2 serverC2EXFIL
– sends a file to the configured Cloud C2 server