Skip to content

Instantly share code, notes, and snippets.

Last active June 14, 2020 09:17
What would you like to do?
$Base64Code = read-host 'fill in the .txt file containing the base64 code to decode'
$Code = Get-Content $Base64Code [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($Code))| `
out-file -Encoding "ascii" output.ps1
notepad.exe .\output.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment