Jack the Enum Ripper is a CLI tool designed to extract enums from .NET assemblies and output them in various formats. This tool supports both .NET Framework 4.8 and .NET 8.0.
- Dump Enums: Load a .NET assembly (.exe or .dll) to dump all enumeration types.
- Output Formats: Supports exporting enums into multiple formats, including C#, JSON, INI, PHP, and Rust, adhering to each language's conventions.
Run JackTheEnumRipper.exe
from the command line with the following syntax:
JackTheEnumRipper.exe <path_to_assembly> [format]
if you have compatibility issues, you can alternatively run JackTheEnumRipper_net481.exe
--json
: Output enums in JSON format--ini
: Output enums in INI format--php
: Output enums in PHP format--rust
: Output enums in Rust format--cs
: Output enums in C# format
If no options are specified, the tool defaults to exporting enums in C# format.
To extract enums from MyExecutable.exe
in Rust format:
JackTheEnumRipper.exe path\to\MyExecutable.exe --rust
This will create a directory named Enums.MyExecutable
in the same location as MyExecutable.exe
, containing the extracted enums in Rust format.
You can alternatively just drag and drop the assembly to the JackTheEnumRipper.exe
- .NET Framework 4.8 SDK or .NET 8.0 SDK, depending on your target environment.
- Recommended: Visual Studio 2019 or newer
- Clone the repository or download the source code
- Open the solution in Visual Studio
- Build the project for .NET Framework 4.8 or .NET 8.0 as required
- The
JackTheEnumRipper.exe
executable is generated inbin/Release
orbin/Debug
Contributions are welcome! If you have suggestions for improvements, please fork the repository and submit a pull request, or open an issue to discuss your ideas.
Jack the Enum Ripper is open-source software licensed under the MIT License. See the LICENSE
file for more details.
▄██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██▄
█▀ ▀█
█ ▀███ ▄ ▄▄ ██ ▄ T ▄██▀▀▀▀ █▄ ██ ██ ██ ██▄ ▄██ █
█ ██ ▄█▀█▄ ▄███▀█▄ ██▄██▀ H ███▄▄▄ ███▄ ██ ██ ██ ████▄████ █
█ ▄▄ ██ ▄█████▄ ███▄ ██▀█▄ E ███▀▀ ██ ▀███ ██▄██ ███ ██ ██ █
█ ███▄███ █▀ ▀█▀ ▀████▀ ▀█ ▀██ ▀██████ ▀█ ▀█ ▀███▀ ██▀ ██ █
█ ▀▀▀▀▀ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ █
█ ███▀▀███ ▄▄ ███▀▀███ ███▀▀███ ████▀▀▀ ███▀▀███ █
█ ███ ▄█▀ ███▄▄██▀ ███▄▄██▀ ██████▀ ███ ▄█▀ █
█ ███▀▀██▄ ██ ███▀▀ ███▀▀ ███ ███▀▀██▄ █
█ ▄▄ ▀█ █▀▀▄█▀▄███▄ ▄███▄ ▄████████▄▀██ █▀ ▄▄ █
█ ████▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄████ █
██▄ ▀▀ ▀▀ ▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀