⚙️ Utility Commands
LED Control Commands
Description: Sets RGB LED to a specific color.
Syntax:
ledColor <r> <g> <b>Parameters:
r: Red value (0-255)g: Green value (0-255)b: Blue value (0-255)
Example:
ledColor 255 0 0
ledColor 0 255 100Description: Makes LED blink with specified color and timing.
Syntax:
ledBlink <r> <g> <b> <delayMs> <count>Example:
ledBlink 255 0 0 500 3Description: Turns off the LED.
Syntax:
ledOffExample:
ledOffDescription: Sets LED brightness (0-255).
Syntax:
ledBrightness <level>Example:
ledBrightness 128Device & System Control
Core Device Actions
Description: Reboots the device.
Syntax:
rebootExample:
rebootDescription: Enables HID functionality.
Syntax:
enableHIDExample:
enableHIDDescription: Enables or disables all HID features.
Syntax:
attackMode <state>Example:
attackMode offStorage and Security
Description: Formats (erases) the device storage.
Syntax:
formatStorageExample:
formatStorageDescription: Mounts the device as a USB mass storage device with custom parameters.
Syntax:
storageMode <volumeName> <productId> <vendorId>Example:
storageMode "MYDISK" "1234" "5678"Description: Securely destroys data and disables the device.
Syntax:
selfDestructExample:
selfDestructSystem State and Modes
Description: Triggers a state change event.
Syntax:
stateChange '<key>'Example:
stateChange 'payload_started'Description: Enables or disables recon mode.
Syntax:
reconMode '<true|false>'Example:
reconMode 'true'Description: Runs the WiFi watchdog or geolocation routine.
Syntax:
watchdog '<ssid>' <maxRetries> <retryDelay> <executionDelay>Example:
watchdog 'MyWiFi' 5 10 60Monitoring & Automation
Description: Monitors for WiFi network availability.
Syntax:
watchdog <ssid> <maxRetries> <retryDelayMs> <executionDelayMs>Example:
watchdog "MyWiFi" 5 1000 5000Description: Enables or disables reconnaissance mode.
Syntax:
reconMode <state>States: true or false
Example:
reconMode trueDescription: Monitors keyboard lock keys and waits for state change.
Supported Keys:
capslocknumlockscrolllock
Syntax:
stateChange <key>Example:
stateChange 'capslock'
stateChange 'numlock'This command pauses script execution until the specified key state changes.
Description: Attempts all possible combinations for a given range with optional username, delay jitter, and character set.
Syntax:
bruteForce <range> <delayMs> <newLine> <useUsername> <username> <useJitterDelay> <useCharSet> <charSet>Example:
bruteForce 4 100 true false "" false false ""
bruteForce 3 200 false true "admin" true true "abc123"Use responsibly. This command generates a large number of input attempts.
Timing Controls
Description: Pauses execution for a specified number of milliseconds.
Syntax:
delay <ms>Example:
delay 1000Description: Sets the default delay between commands.
Syntax:
defaultdelay <ms>Example:
defaultdelay 50
defaultdelay 0