-
-
[原创]reversing.kr第八题Direct3D_FPS
-
发表于: 2019-1-14 22:19 2804
-
for i in range(50):
print((Byte(0x12f9184+i*132*4))),#这里加载的基质可能不一样
运行起来之后内存的值为,可以看出值为i*4
所以内存的值为
这里是内存里面的值:
00 04 08 0c 10 14 18 1c 20 24 28 2c 30 34 38 3c 40 44 48 4c 50 54 58 5c 60 64 68 6c 70 74 78 7c 80 84 88 8c 90 94 98 9c a0 a4 a8 ac b0 b4 b8 bc c0 c4
for i in range(50):
print(hex(Byte(0x12f7028+i))),
这里是需要异或的值:
43 6b 66 6b 62 75 6c 69 4c 45 5c 45 5f 5a 46 1c 07 25 25 29 70 17 34 39 01 16 49 4c 20 15 0b 0f f7 eb fa e8 b0 fd eb bc f4 cc da 9f f5 f0 e8 ce f0 a9
a=' 00 04 08 0c 10 14 18 1c 20 24 28 2c 30 34 38 3c 40 44 48 4c 50 54 58 5c 60 64 68 6c 70 74 78 7c 80 84 88 8c 90 94 98 9c a0 a4 a8 ac b0 b4 b8 bc c0 c4 '
解题代码:
d='00 04 08 0c 10 14 18 1c 20 24 28 2c 30 34 38 3c 40 44 48 4c 50 54 58 5c 60 64 68 6c 70 74 78 7c 80 84 88 8c 90 94 98 9c a0 a4 a8 ac b0 b4 b8 bc c0 c4'
d=d.replace(' ','')
c='43 6b 66 6b 62 75 6c 69 4c 45 5c 45 5f 5a 46 1c 07 25 25 29 70 17 34 39 01 16 49 4c 20 15 0b 0f f7 eb fa e8 b0 fd eb bc f4 cc da 9f f5 f0 e8 ce f0 a9'
c=c.replace(' ','')
d=d.decode('hex')
c=c.decode('hex')
for i in range(50):
print(chr(ord(d[i])^ord(c[i]))),
答案:C o n g r a t u l a t i o n ~ G a m e C l e a r ! P a s s w o r d i s T h r 3 E D P r 0 m
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
赞赏
- [原创]angr/pyvex模块学习 8672
- [原创] Valgrind VEX IR 9196
- [原创]内存映射文件-进程间共享数据 11446
- [求助]C#反编译字符串出现乱码如何解决 4059
- [原创]windows dll注入/Api钩取技术简单总结 55862