xctf-writeup-easyso

easyso 解题报告

安装apk查看,输入字符串check

jeb打开分析

1587037111298

1587037151104

在native层

1587037179050

1587037194459

1587037893544

发现主要处理过程在j_TestDec,处理完之后和f72c5a36569418a20907b55be5bf95ad比较:

1587038052308

s[i]和s[i+16]互换

1587038408779

然后 奇数偶数换位置

writeup如下:

1
2
3
4
5
6
7
8
9
10
11
s = "f72c5a36569418a20907b55be5bf95ad"
s_list = list(s)

for i in range(0, 32, 2):
s_list[i], s_list[i + 1] = s_list[i + 1], s_list[i]
# print(s_list)
for i in range(16):
s_list[i], s_list[i + 16] = s_list[i + 16], s_list[i]

ans = ''.join([x for x in s_list])
print(ans)