snert RE500

https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/https://kabeor.cn/这题越看越熟悉,原来做过,i春秋的那篇wp就是我写的hhh

链接 第三届上海市大学生网络安全大赛crackme

RE500

查壳

无壳
mark

IDA反编译

运行发现,随意输入会弹出fail,此题应该是算法题,于是拖入IDA,shift+F12搜索字符串fail
mark
只有一个,于是跟进去
mark
发现这里就是主要算法部分了

算法分析

这个程序的伪代码竟然是标准的C++

我们可以明显注意到名称空间Sudu
mark

黄标可以看出有三个函数,分别是