Obfy 1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Obfy --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Obfy --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Obfy&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Obfy --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Obfy
Professional .NET obfuscation tool for protecting C# assemblies and source code.
Installation
dotnet tool install --global Obfy
Quick Start
# Basic obfuscation (standard protection)
obfy MyApp.dll -o output/
# Aggressive protection
obfy MyApp.dll -l aggressive -o output/
# With configuration file
obfy MyApp.dll -c obfy.json -o output/
Protection Levels
| Level | Description |
|---|---|
minimal |
Symbol renaming only |
standard |
String encryption + symbol renaming + metadata removal |
aggressive |
All protections at maximum intensity |
custom |
Configure via flags or config file |
Features
- String Encryption - AES-256 or XOR encryption of string literals
- Control Flow - Switch dispatchers and opaque predicates
- Symbol Renaming - Types, methods, fields, properties, parameters
- Anti-Debug - Debugger detection and response
- Metadata Removal - Strip debug info and attributes
Configuration
Generate a config file:
obfy config generate -o obfy.json
Example obfy.json:
{
"level": "aggressive",
"stringEncryption": { "enabled": true, "algorithm": "Aes256" },
"controlFlow": { "enabled": true, "intensity": 75 },
"symbolRenaming": { "enabled": true, "preservePublicApi": true },
"protection": { "antiDebug": true },
"metadata": { "removeDebugInfo": true }
}
Documentation
| Document | Description |
|---|---|
| CLI Reference | Complete command-line options |
| Configuration | Full JSON schema and examples |
| Techniques | How each obfuscation technique works |
| Advanced | Exclusions, best practices, troubleshooting |
License
MIT License - see LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.