PowerShell script to generate ShellCode in various formats
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/Leo4j/ShellGen/main/ShellGen.ps1')
ShellGen -x64 -Command "cmd /k ipconfig" -OutputFormat "Encrypted"
ShellGen -x64 -CmdCommand "ipconfig" -OutputFormat "Raw" -OutputFilePath C:\Users\Senna\Desktop\whoami.bin
ShellGen -x64 -PwshCommand "ipconfig" -OutputFormat "csharp"
ShellGen -x64 -B64PwshCommand "JABwA...AKAApAA==" -OutputFormat "Encrypted"
Raw, ps1, Hex, C, vba, csharp, Encrypted
x64, x86