2021年“莲城杯”网络安全大赛-Crypto-randomCrypto(三血)
题目名称:randomCrypto
题目内容:This is a flag that I encrypted.
题目分值:100.0
题目难度:容易
相关附件:randomCrypto的附件.py
解题思路:
1.由于 flag 第一位已知,可以算出 a 为 80,之后解密即可。
data = '11011000 11110000 11000100 11011100 10101100 11001000 110011000 11001100 110001100 110011100 110001000 11010100 110011100 110100100 11000100 110100100 11001000 110010100 110011100 110011000 110001000 110001000 110001100 11001100 110000100 11010100 110010000 110000100 11010000 110010100 11000100 110100100 110010000 110010000 110000000 11001000 110000000 10110100'
flag = ''
for x in data.split():
flag += chr(int(x[:-2], 2) ^ 80)
print(flag)
flag{b6c372e79a9b576223c1e41d5a9440b0}