-
-
ctf2018-第13题
-
发表于: 2018-7-11 19:41 2931
-
sn长度为10
.text:00000000004039C7 cmp rdx, 0Ah .text:00000000004039CB jz short loc_403A0B
.text:00000000004039C7 cmp rdx, 0Ah .text:00000000004039CB jz short loc_403A0B
hex2bin, 必须是大写的16进制
.text:0000000000403A0B lea rdx, [rsp+1B8h+a2] ; a2 .text:0000000000403A10 mov r8d, 0Ah ; a3 .text:0000000000403A16 mov rcx, rsi ; a1 .text:0000000000403A19 call hex2bin .text:0000000000403A1E cmp eax, 5
.text:0000000000403A0B lea rdx, [rsp+1B8h+a2] ; a2 .text:0000000000403A10 mov r8d, 0Ah ; a3 .text:0000000000403A16 mov rcx, rsi ; a1 .text:0000000000403A19 call hex2bin .text:0000000000403A1E cmp eax, 5
x = ((snHex[1] << 8) | snHex[0]) << 48;
y = ((snHex[4] << 16) | (snHex[3] << 8) | snHex[2]) << 40;
in: (x,y)
out: r
.text:0000000000403A97 call x_4015E0
.text:0000000000403A97 call x_4015E0
sprintf(buf, "%lf", r);
buf[1]=='.';
sqrt(int(buf[0])^2+int(buf[2])^2+int(buf[3])^2) > 15.5
最后于 2018-7-11 21:24
被风间仁编辑
,原因:
赞赏
他的文章
- KCTF2022春季赛 第三题 石像病毒 9194
- KCTF2022春季赛 第二题 末日邀请 16536
- KCTF2021秋季赛 第二题 迷失丛林 19289
- KCTF2020秋季赛 第十题 终焉之战 9294
- KCTF2020秋季赛 第九题 命悬一线 6789
赞赏
雪币:
留言: