-
-
看雪CTF2019Q2-第1题 神秘来信
-
2019-6-18 22:39 1585
-
sn长度小于7
.text:004012C9 cmp edx, 7 .text:004012CC jb short loc_4012F9
***353
.text:004012F9 cmp [ebp+sn+5], '3' .text:004012FD jnz short loc_4012CE .text:004012FF cmp [ebp+sn+4], '5' .text:00401303 jnz short loc_4012CE .text:00401305 cmp [ebp+sn+3], '3' .text:00401309 jnz short loc_4012CE
int(sn, 16) == 0x401353才会触发除0异常, 跳向成功
.text:00401349 test esi, esi ; int(sn, 16) .text:0040134B jz short loc_40135D .text:0040134D push eax .text:0040134E call loc_401354 .text:00401353 db 0EBh .text:00401354 pop eax .text:00401355 sub eax, 0 .text:00401358 sub esi, eax .text:0040135A div esi
得到sn: 401353
[CTF入门培训]顶尖高校博士及硕士团队亲授《30小时教你玩转CTF》,视频+靶场+题目!助力进入CTF世界
赞赏
他的文章
KCTF2022春季赛 第三题 石像病毒
8197
KCTF2022春季赛 第二题 末日邀请
15316
KCTF2021秋季赛 第二题 迷失丛林
17837
KCTF2020秋季赛 第十题 终焉之战
8016
KCTF2020秋季赛 第九题 命悬一线
5762
看原图