Skip to content

KingKDot/PowerCrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerCrypt

The greatest PowerShell obfuscator ever made.

Quick Start

Download a release

Download the latest automated Windows or Linux build from the AutoBuild release.

Run from source

Install the .NET 8 SDK, then run:

dotnet run --project PowerCrypt/PowerCrypt.csproj -- input.ps1

To choose the output file:

dotnet run --project PowerCrypt/PowerCrypt.csproj -- input.ps1 output_obf.ps1

Publish Manually

Create a self-contained Windows x64 build:

dotnet publish PowerCrypt/PowerCrypt.csproj -c Release -r win-x64 -o artifacts/publish/win-x64

Create a self-contained Linux x64 build:

dotnet publish PowerCrypt/PowerCrypt.csproj -c Release -r linux-x64 -o artifacts/publish/linux-x64

Run the published Linux binary:

./artifacts/publish/linux-x64/PowerCrypt input.ps1

Usage

Pass the path of the file to obfuscate as the first command-line argument, or run the app without arguments and enter the path when prompted.

Features

  • Extremely fast
  • Protects exceptionally well
  • Cross-platform Windows and Linux builds
  • Uses the PowerShell AST to do proper obfuscation

Before and After Output

Before:

before_image

After:

after_image

Authors

About

The best powershell obfuscator ever made

Resources

License

Stars

136 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages