Skip to content

trikztr/DotnetTypeHider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotnetTypeHider

DotnetTypeHider is an experimental .NET IL rewriting tool that makes decompiled output harder to understand by disguising user-defined types as compiler-generated anonymous types.

It works by:

  • Renaming eligible classes to anonymous-type–like names
  • Adding the CompilerGeneratedAttribute to those types
  • Optionally hiding certain method calls by proxying them through compiler-generated anonymous type constructors

The result is code that remains fully valid and verifiable, but is significantly more confusing when viewed in common .NET decompilers.

This project is inspired by Washi1337/AwaitFuscator.

Example

Input

Input Program

Output

Output Program

About

Type and call hiding in .NET by abusing anonymous types.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages