dedot是.Net反混淆和脱壳器
mono 和il2cpp结构 的区别是mono在data /manage里有大量dll而il2cpp有GameAssembly.dll
自己写个exe验证一下
class Program
{
static void Main(string[] args)
{
string inputpassworld;
inputpassworld= Console.ReadLine();
if (inputpassworld == "123456")
{
Console.WriteLine("密码正确");
}
else
{
Console.WriteLine("密码错误");
}
Console.ReadKey();
}
}
然后去bin/debug/找到exe
用管理员打开dnspy,文件——>打开路径->打开exe
直接看到了源码,和VS里差不多,只多生成了一个flag布尔变量
于是我们可以愉快的修改了
右键或者ctrl shift +e 编辑方法
把flag改成true
然后编译,文件->全部保存
打开后随便输入一串正确