yyds='011001100110110001100001011001110111101101111010011010000100010101100011001110010011000000110011001101000110101001101111011001000111001101101010011001100110111101110011011010110110111101111101'[/size][/font][font=宋体][size=4]
for i in range(0,len(yyds),8):
print(chr(int(yyds[i:i+8],2)),end='')
[/size][/font]
[font=宋体][color=#000000]flag{zhEc9034jodsjfosko}[/color][/font][font=宋体][size=4]
[Python] 纯文本查看复制代码
flag=""
for i in range(0,len(yyds),8):
flag=flag+chr(int(yyds[i:i+8],2))
flag
'flag{zhEc9034jodsjfosko}'
yyds='011001100110110001100001011001110111101101100011011001010011001101100101001101010011000000110010011000110010110100110100001110000110001100111001001011010011010001100100001101010011000000101101001110010011100100111001001100000010110100110101011000100011100000110001011001000110001000110110011001100110001101100010011001100011000001111101'
for i in range(0,len(yyds),8):
print(chr(int(yyds[i:i+8],2)),end='')[/size][/font]
[font=宋体]flag{ce3e502c-48c9-4d50-9990-5b81db6fcbf0}[/font][font=宋体]
[size=4]
第三题:IceCTF
分值:20分 类型:Misc题目名称:All your Base are belong to us已解答
题目内容:
What a mess... we got a raw flag but now what do we do... flag.txt
allyour.txt(522 Bytes, 下载次数: 2)
with open('./allyour.txt')as f:
yyds=f.read()
yyds1=yyds.split()
for i in yyds1:
print(chr(int(i,2)),end="")
IceCTF{al1_my_bases_are_yours_and_all_y0ur_bases_are_mine}