Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

soondook soondook

🏠
Working from home
  • PBank
  • Ukraine, Dniepr
View GitHub Profile
@soondook
soondook / AESDecrypt.ps1
Last active Jan 13, 2020 — forked from geoffgarside/AESDecrypt.ps1
Powershell Encryption, Compression, Base64 Encoding
View AESDecrypt.ps1
#!/usr/bin/env powershell
param ( [String]$InputFile, [String]$OutputFile, [String]$Password="pa55w0rd" )
$InputStream = New-Object IO.FileStream($InputFile,
[IO.FileMode]::Open, [IO.FileAccess]::Read)
$OutputStream = New-Object IO.FileStream($OutputFile,
[IO.FileMode]::Create, [IO.FileAccess]::Write)
# Read the Salt