aboutsummaryrefslogtreecommitdiff
path: root/ScriptModification/Out-EncryptedScript.ps1
AgeCommit message (Collapse)AuthorFilesLines
2015-12-16Fixed mangled decrypted script outputMatt Graeber1-2/+3
Addresses issue #80. This was a tricky fix because the script should ideally handle Unicode and Ascii encoded scripts. I haven't tested scripts with international characters but I would imagine those script would get mangled since the decrypted output is ultimately normalized to ascii.
2015-02-26Out-EncryptedScript uses FIPS-compliant crypto #60mattifestation1-35/+43
Thanks, @aconite33 for the suggestion. - TripleDESCryptoServiceProvider is now used as the crypto algorithm because it won't break the script when FIPS compliance is enabled in the registry. - I actually implemented the InitializationVector parameter - Cleaned up the output script - Cleaned up comment-based help
2013-11-13Normalized all scripts to ASCII encodingmattifestation1-1/+1
2013-01-21Consistency improvements in comment-based helpbitform1-42/+42
2013-01-20Created a ScriptModification module.bitform1-0/+129
* All scripts used to prepare and/or modify payload scripts were added to the ScriptModification module. * Added Remove-Comments - Strips comments and extra whitespace from a script. * Encrypt-Script was named to Out-EncryptedScript in order to conform to proper PowerShell verbs.