mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-03 21:14:42 +02:00
8 lines
445 B
PowerShell
8 lines
445 B
PowerShell
# Fixed locally generated script; no external inputs or configuration writes.
|
|
$ErrorActionPreference = 'Stop'
|
|
[Console]::Out.WriteLine(('WELA_SCRIPT_READY___WELA_SCRIPT_NONCE__|' + $ExecutionContext.SessionState.LanguageMode + '|' + $PSVersionTable.PSVersion))
|
|
$release = [Console]::In.ReadLine()
|
|
if ($release -cne 'WELA_SCRIPT_GO___WELA_SCRIPT_NONCE__') { exit 17 }
|
|
[Console]::Out.WriteLine('WELA_SCRIPT_COMPLETE___WELA_SCRIPT_NONCE__')
|
|
exit 0
|