aboutsummaryrefslogtreecommitdiff
path: root/Prepare-Payload.ps1
AgeCommit message (Collapse)AuthorFilesLines
2013-01-13Prepare-Payload now accepts pipeline outputbitform1-2/+2
2013-01-13Fixed bug in Prepare-Payloadbitform1-2/+12
* Some payloads were not decoding properly after being uncompressed. This was due to a bug in how `Get-Content -Encoding ASCII` was interpreting input. When reading a script from a file, Prepare-payload no longer makes any assumptions about the script's encoding. * Prepare-Payload will display a warning if the cmd.exe or base64 string length maximums are exceeded.
2012-12-14Added the Wow64 switch to Prepare-Payloadbitform1-3/+17
Now, you can optionally output a call to the x86 (Wow64) version of PowerShell.
2012-11-22Fixed Prepare-Payload documentation grammar fail.bitform1-1/+1
2012-11-22Adding Prepare-Payloadbitform1-0/+130
Prepare-Payload compresses, Base-64 encodes, and generates command-line output for a PowerShell payload script. This script was inspired by and an improvement upon createcmd.ps1 (https://www.trustedsec.com/files/PowerShell_PoC.zip)