-
-
看雪CTF2019Q2-第1题 神秘来信
-
发表于: 2019-6-18 22:39 2201
-
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
赞赏
他的文章
- KCTF2022春季赛 第三题 石像病毒 9193
- KCTF2022春季赛 第二题 末日邀请 16535
- KCTF2021秋季赛 第二题 迷失丛林 19289
- KCTF2020秋季赛 第十题 终焉之战 9294
- KCTF2020秋季赛 第九题 命悬一线 6789
赞赏
雪币:
留言: