bugku-re-NoString


查看字符串没有可疑或者可用的字符串,如题Nostring,没有字符串。可能加密了
1.png

进入主函数分析
2.png

解读关键主函数
3.png

查看和v11比较的字符串
4.png

逆过来异或9,跑出flag和aLF和aNA

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
a="oehnl3r=<?=hF@CCGPt"
for i in range(0,len(a)):
print(chr(ord(a[i])^9),end="")
print("\n")


aLF="l{{f{"
aNa="{`na}"
aLF_res=""
aNA_res=""
for i in range(0,len(aLF)):
aLF_res=aLF_res+chr(ord(aLF[i])^9)
aNA_res=aNA_res+chr(ord(aNa[i])^9)
print("aLF is ",aLF_res)
print("aNA is ",aNA_res)

5.png

参考链接:
1、(https://www.cnblogs.com/xiaochaofang/p/14716141.html)
2、(https://ctf.bugku.com/writeup/detail/id/160.html)