Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

[IDEA] Nested methods. #6

Open
ghost opened this issue Aug 8, 2021 · 1 comment
Open

[IDEA] Nested methods. #6

ghost opened this issue Aug 8, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 8, 2021

Ofc this won't work because nested methods bad but here's an idea I've always had for c# obfuscation:

void Main(string[] args) {
    Console.WriteLine("Hello, World!");
}
Main(args);

Now you may think "oh that's not that bad", but link multiple nested methods together and combine them with other existing obfuscation techniques and everything is chaos. Another idea (ofc its probably implemented) is to abuse interpolated strings, eg:

string iliilllli = $"{$"{$"{$"Hello, World!"}"}"}";

Now you see how insane this can get? Once again combine this with the current obfuscation to get an insane mess.

@AnErrupTion
Copy link
Owner

Yeah you can make some sort of proxy methods, basically nested methods as you said. For the second idea, well I didn't think of that, I'll definitely try to do that!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant