2022-09-29 06:06:15 +00:00
|
|
|
EXTENSION PASSIVE_DETECT_READY
|
2023-03-14 22:19:57 +00:00
|
|
|
REM VERSION 1.1
|
|
|
|
REM AUTHOR: Korben
|
2022-09-29 06:06:15 +00:00
|
|
|
|
2023-03-14 22:19:57 +00:00
|
|
|
REM_BLOCK DOCUMENTATION
|
|
|
|
Passive Detect Ready - no injection dynamic boot delay
|
|
|
|
for hosts that reflect current OS lock key state on connect
|
2022-09-29 06:06:15 +00:00
|
|
|
|
2023-03-14 22:19:57 +00:00
|
|
|
USAGE:
|
|
|
|
Extension runs inline (here)
|
|
|
|
Place at beginning of payload (besides ATTACKMODE) to act as dynamic
|
|
|
|
boot delay
|
|
|
|
END_REM
|
2022-09-29 06:06:15 +00:00
|
|
|
|
|
|
|
REM CONFIGURATION:
|
2023-03-14 22:19:57 +00:00
|
|
|
DEFINE #MAX_WAIT 150
|
|
|
|
DEFINE #CHECK_INTERVAL 20
|
2022-09-29 06:06:15 +00:00
|
|
|
|
2023-03-14 22:19:57 +00:00
|
|
|
VAR $MAX_TRIES = #MAX_WAIT
|
2022-09-29 06:06:15 +00:00
|
|
|
WHILE(($_RECEIVED_HOST_LOCK_LED_REPLY == FALSE) && ($MAX_TRIES > 0))
|
2023-03-14 22:19:57 +00:00
|
|
|
DELAY #CHECK_INTERVAL
|
2022-09-29 06:06:15 +00:00
|
|
|
$MAX_TRIES = ($MAX_TRIES - 1)
|
|
|
|
END_WHILE
|
|
|
|
END_EXTENSION
|