⚙️ Utility Commands
Utility Commands
Description: Waits for a specified time before running the next command.
Syntax:
delay '<milliseconds>'Example:
delay '250'Description: Sets a global delay that is added after each command.
Syntax:
defaultdelay <milliseconds>Example:
defaultdelay 100Description: Repeats a block of commands a specified number of times.
Syntax:
repeatStart <count>
<commands>
repeatEndExample:
repeatStart 3
writeLn 'Repeat this line'
repeatEndDescription: Runs a brute force routine with custom parameters.
Syntax:
bruteForce <range> <delay> <newLine> <useUsername> <username> <useJitterDelay> <useCharSet> <charSet>Example:
bruteForce 4 100 true false '' false true 'abcd'LED Control
Description: Sets the color of the device's LED.
Syntax:
ledColor <r> <g> <b>Example:
ledColor 255 0 0Description: Makes the device LED blink.
Syntax:
ledBlink <r> <g> <b> <delay> <count>Example:
ledBlink 0 255 0 100 5Description: Turns the LED off.
Syntax:
ledOffExample:
ledOffDescription: Sets the LED brightness.
Syntax:
ledBrightness <level>Example:
ledBrightness 128Device & System Control
Description: Securely destroys data and disables the device.
Syntax:
selfDestructExample:
selfDestructDescription: Formats (erases) the device storage.
Syntax:
formatStorageExample:
formatStorageDescription: Reboots the device.
Syntax:
rebootExample:
rebootDescription: Runs the WiFi watchdog/geolocation routine.
Syntax:
watchdog '<ssid>' <maxRetries> <retryDelay> <executionDelay>Example:
watchdog 'MyWiFi' 5 10 60Description: 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'