Skip to main content

BOOTSTRAP

Constant BOOTSTRAP 

Source
pub const BOOTSTRAP: &str = "$s = [Console]::In.ReadLine(); Invoke-Expression ([Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($s)))";
Expand description

What the runner starts on the machine (as powershell -EncodedCommand): it reads the first line of its standard input, the receiving script in base64, and runs it. The script reads the values from the lines that follow.