【2019红帽杯】easyRE
【2019红帽杯】easyREsub_4009C6干扰函数看雪论坛的一个链接进行了10次base64无用
sub_402110
依次运行三个函数
关键函数
exp:
str1 = 'flag'
str2 = [ 0x40, 0x35, 0x20, 0x56, 0x5D, 0x18, 0x22, 0x45, 0x17, 0x2F,0x24, 0x6E, 0x62, 0x3C, 0x27, 0x54, 0x48, 0x6C, 0x24, 0x6E, 0x72, 0x3C, 0x32, 0x45, 0x5B]
flag = ''
key = ''
for x in range(4):
key += chr(ord(str1) ^ str2)
for i in range(len(str2)):
flag += chr(str2 ^ ord(key))
print(flag)
#flag{Act1ve_Defen5e_Test}
flag{Act1ve_Defen5e_Test}
页:
[1]