官方仓库
学习日期:2023-07-13(防止后续仓库特性或功能更新无对比时间)
目标:本文介绍使用此github库,混淆unity项目的代码,在ILSpy中无法正确反编译。
一、说明
Features:
- ControlFlow:控制流程加密。对程序函数方法进行流程混淆,不改变执行流程,但是打乱编译流程以及IL码顺序,干扰破解。
- NumObfus:整数预设混淆。加密程序集中所有int预设常量。
- LocalVariables2Field:局部变量混淆为字段。程序函数的局部变量进行混淆加密,进一步降低代码可读性。
- StringCrypt:字符串加密。 每个字符串对应一个单独的密码和解密函数。
- ObfusFunc:类&方法&字段混淆(支持MOnoBehaviour)。采用Unity函数名堆积作为字典,此方法混淆的函数难以被反混淆器识别为Obfuscated或JunkFunc。
- Anti De4dot:使反混淆器失效。加固程序集,使de4d