You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\`$_BUTTON_ENABLED\` - *Returns \`TRUE\` if the button is enabled or \`FALSE\` if the button is disabled.
15
15
16
-
\`$_BUTTON_USER_DEFINED\` - *Returns \`TRUE\` if a BUTTON_DEF has been implemented in the payload or \`FALSE\` if it hasn't been implemented.*
16
+
\`$_BUTTON_USER_DEFINED\` - *Returns \`TRUE\` if a \`BUTTON_DEF\` has been implemented in the payload or \`FALSE\` if it hasn't been implemented.*
17
17
18
18
\`$_BUTTON_PUSH_RECEIVED\` - *Returns \`TRUE\` if the button has ever been pressed. May be retrieved or set.*
19
19
20
20
\`$_BUTTON_TIMEOUT\` - *The button debounce, or cooldown time before counting the next button press, in milliseconds. The default value is 1000.*
21
21
22
22
## LED
23
23
24
-
\`$_SYSTEM_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set. Boot and ATTACKMODE change LED.*
24
+
\`$_SYSTEM_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set. Boot and \`ATTACKMODE\` change LED.*
25
25
26
-
\`$_STORAGE_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set.\nBlinks the LED red/green on storage read/write in ATTACKMODE STORAGE.*
26
+
\`$_STORAGE_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set.\nBlinks the LED red/green on storage read/write in \`ATTACKMODE STORAGE\`.*
27
27
28
-
\`$_LED_CONTINUOUS_SHOW_STORAGE_ACTIVITY\` - *Default set \`TRUE\`. May be retrieved or set.\nThe LED will light solid green when the storage has been inactive for longer than $_STORAGE_ACTIVITY_TIMEOUT (default 1000 ms). Otherwise, the LED will light red when active.*
28
+
\`$_LED_CONTINUOUS_SHOW_STORAGE_ACTIVITY\` - *Default set \`TRUE\`. May be retrieved or set.\nThe LED will light solid green when the storage has been inactive for longer than \`$_STORAGE_ACTIVITY_TIMEOUT\` (default 1000 ms). Otherwise, the LED will light red when active.*
29
29
30
30
\`$_INJECTING_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set. When \`TRUE\` the LED will blink green on payload execution.*
31
31
32
32
\`$_EXFIL_LEDS_ENABLED\` - *Default set \`TRUE\`. May be retrieved or set. When \`TRUE\` the LED will blink green during Keystroke Reflection.*
33
33
34
-
\`$_LED_SHOW_CAPS\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the GREEN LED state to the CAPSLOCK state.*
34
+
\`$_LED_SHOW_CAPS\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the GREEN LED state to the \`CAPSLOCK\` state.*
35
35
36
-
\`$_LED_SHOW_NUM\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the RED LED state to the NUMLOCK state.*
36
+
\`$_LED_SHOW_NUM\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the RED LED state to the \`NUMLOCK\` state.*
37
37
38
-
\`$_LED_SHOW_SCROLL\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the GREEN LED state to the SCROLLLOCK state.*
38
+
\`$_LED_SHOW_SCROLL\` - *Default set \`FALSE\`. May be retrieved or set. When \`TRUE\` will bind the GREEN LED state to the \`SCROLLOCK\` state.*
39
39
40
40
## ATTACKMODE
41
41
42
42
\`$_CURRENT_VID\` - *Returns the currently operating Vendor ID with endian swapped. May only be retrieved. Cannot be set.*
43
43
44
44
\`$_CURRENT_PID\` - *Returns the currently operating Product ID with endian swapped. May only be retrieved. Cannot be set.*
45
45
46
-
\`$_CURRENT_ATTACKMODE\` - *Returns the currently operating ATTACKMODE represented as 0 for OFF, 1 for HID, 2 for STORAGE and 3 for both HID and STORAGE.|
46
+
\`$_CURRENT_ATTACKMODE\` - *Returns the currently operating \`ATTACKMODE\` represented as \`0\` for \`OFF\`, \`1\` for \`HID\`, \`2\` for \`STORAGE\` and 3 for both \`HID\` and \`STORAGE\`.
47
47
48
48
## RANDOM
49
49
50
50
\`$_RANDOM_INT\` - *Random integer within set range.*
51
51
52
-
\`$_RANDOM_MIN\` - *Random integer minimum range (unsigned, 0-65535).|
52
+
\`$_RANDOM_MIN\` - *Random integer minimum range (unsigned, 0-65535).*
53
53
54
-
\`$_RANDOM_MAX\` - *Random integer maximum range (unsigned, 0-65535).|
54
+
\`$_RANDOM_MAX\` - *Random integer maximum range (unsigned, 0-65535).*
55
55
56
-
\`$_RANDOM_SEED\` - *Random seed from seed.bin|
56
+
\`$_RANDOM_SEED\` - *Random seed from seed.bin*
57
57
58
-
\`$_RANDOM_LOWER_LETTER_KEYCODE\` - *Returns random lower letter scancode (a-z)|
58
+
\`$_RANDOM_LOWER_LETTER_KEYCODE\` - *Returns random lower letter scancode (a-z)*
59
59
60
-
\`$_RANDOM_UPPER_LETTER_KEYCODE\` - *Returns random upper letter scancode (A-Z)|
60
+
\`$_RANDOM_UPPER_LETTER_KEYCODE\` - *Returns random upper letter scancode (A-Z)*
61
61
62
-
\`$_RANDOM_LETTER_KEYCODE\` - *Returns random letter scancode (a-zA-Z)|
62
+
\`$_RANDOM_LETTER_KEYCODE\` - *Returns random letter scancode (a-zA-Z)*
63
63
64
-
\`$_RANDOM_NUMBER_KEYCODE\` - *Returns random number scancode (0-9)|
64
+
\`$_RANDOM_NUMBER_KEYCODE\` - *Returns random number scancode (0-9)*
65
65
66
-
\`$_RANDOM_SPECIAL_KEYCODE\` - *Returns random special char scancode (shift+0-9)|
66
+
\`$_RANDOM_SPECIAL_KEYCODE\` - *Returns random special char scancode (shift+0-9)*
67
67
68
-
\`$_RANDOM_CHAR_KEYCODE\` - *Returns random letter number or special scancode|
68
+
\`$_RANDOM_CHAR_KEYCODE\` - *Returns random letter number or special scancode*
\`$_SCROLLLOCK_ON\` - *\`TRUE\` if on, \`FALSE\` if off.*
83
83
84
-
\`$_SAVED_CAPSLOCK_ON\` - *On USB attach or SAVE_HOST_KEYBOARD_LOCK_STATE, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
84
+
\`$_SAVED_CAPSLOCK_ON\` - *On USB attach or \`SAVE_HOST_KEYBOARD_LOCK_STATE\`, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
85
85
86
-
\`$_SAVED_NUMLOCK_ON\` - *On USB attach or SAVE_HOST_KEYBOARD_LOCK_STATE, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
86
+
\`$_SAVED_NUMLOCK_ON\` - *On USB attach or \`SAVE_HOST_KEYBOARD_LOCK_STATE\`, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
87
87
88
-
\`$_SAVED_SCROLLLOCK_ON\` - *On USB attach or SAVE_HOST_KEYBOARD_LOCK_STATE, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
88
+
\`$_SAVED_SCROLLLOCK_ON\` - *On USB attach or \`SAVE_HOST_KEYBOARD_LOCK_STATE\`, sets \`TRUE\` or \`FALSE\` depending on the reported OS condition.*
89
89
90
90
\`$_RECEIVED_HOST_LOCK_LED_REPLY\` - *On receipt of any lock state LED control code, sets \`TRUE\`. This flag is helpful for fingerprinting certain operating systems (e.g. macOS) or systems which do not reflect lock keys.*
\`$_EXFIL_MODE_ENABLED\` - *Default \`FALSE\`. Set \`TRUE\` to enable Keystroke Reflection. Will listen for CAPSLOCK and NUMLOCK changes, writing binary values to loot.bin. num=1, caps=0.*
98
+
\`$_EXFIL_MODE_ENABLED\` - *Default \`FALSE\`. Set \`TRUE\` to enable Keystroke Reflection. Will listen for \`CAPSLOCK\` and \`NUMLOCK\` changes, writing binary values to loot.bin. num=1, caps=0.*
99
99
100
100
## OS_DETECT
101
101
102
-
\`$_HOST_CONFIGURATION_REQUEST_COUNT\` - *Used by OS_DETECT EXTENSION to detect device enumeration count.*
102
+
\`$_HOST_CONFIGURATION_REQUEST_COUNT\` - *Used by \`OS_DETECT\` EXTENSION to detect device enumeration count.*
103
103
104
-
\`$_OS\` - *Used by OS_DETECT EXTENSION to return value of fingerprinted operating system. May return WINDOWS, MACOS, LINUX, CHROMEOS, ANDROID, IOS. These names are reserved and should not be used in user variables.*
104
+
\`$_OS\` - *Used by \`OS_DETECT\` EXTENSION to return value of fingerprinted operating system. May return \`WINDOWS\`, \`MACOS\`, \`LINUX\`, \`CHROMEOS\`, \`ANDROID\`, \`IOS\`. These names are reserved and should not be used in user variables.*
0 commit comments