OsOmE1 / Beebyte-Deobfuscator

A plugin for Il2CppInspector that performs quasi deobfuscation
GNU Affero General Public License v3.0
94 stars 15 forks source link

I Can Help Improve Accuracy #17

Open HorridModz opened 2 years ago

HorridModz commented 2 years ago

This is an awesome plugin, and I love it. I love it so much, I decided to create my own deobfuscator in python. I found that beebyte deobfuscator fails to deobfuscate many things and has some slip-ups compared to my python program. The results of the two deobfuscators are attached. PG3D 22.5.0 Deobfuscated Names.txt PG3D22.5.0DeobfuscatedClassesByHorridModz.txt

My python comparison function is below. PythonTypeModelComparer.txt

I was wondering what we did differently for my program to be more accurate. I was hoping that maybe we could both share techniques and improve each other's programs.

OsOmE1 commented 2 years ago

Hey there thank for all your feedback. I'm currently on a small hiatus and will look over it in more detail when get back. I know that there is a lot to be improved and that it doesn't really work as well as I would want it to so maybe if I find the time I can implement your feedback. In any case you can try to make the changes yourself in c# and submit a PR. If you need any help with debugging or anything else let me know.

HorridModz commented 2 years ago

I could try to do that, but I am very new to c# so it would take a while. But my point is what I compare: -The types of each method, field, and properties, replacing names with "name" (internal static bool, public void, etc.) -The userdefined type of object (class, struct, enum, interface) -The type of the object (internal, public, abstract, etc.) -How many properties, methods, and fields are in the object

I would give you the full code but it is unfinished and very ugly. Good luck with your plugin when you resume! Again, it is very useful and fast, even if it is not perfect. Nothing is perfect. I want to try my best to help make it better so it can benefit people like myself even more!