PowerShell Studio Feature Requests

Feature requests, product enhancement ideas, and other product-specific suggestions.

Options when compiling to Exe - Obfuscate Code

granttt, Feb. 11, 2019Released:
An experimental option for this was added to SAPIEN Script Packager in service build 5.8.212.

Wondering if its possible when compiling a script to an exe that there can be an option to obfuscate the code.

 

Basic options to say "remove all comments" when compiling. Or "change function names and variable names to random values" would be a good start.

 

Main goal is to make it harder for someone to easily copy the code and understand it. While there is the Script block logging, and block transcripts options both require administrator access and thats not always suitable. There's opensource options out there but doesnt compile within the exe and a few steps to get it working. Example:

https://github.com/danielbohannon/Invoke-Obfuscation



Request closed for comments and voting.