UNCTF-RE-halo

1.有壳 upx 脱壳

2.SHIFT+F12

3.
4.数据在这

5.逆向

i从最大开始

flag[i]=flag[i]flag[i-1]i

data=[ 0x55, 0x0B, 0x68, 0x0C, 0x73, 0x3E, 0x0C, 0x3A, 0x5D, 0x1B,
  0x21, 0x75, 0x4F, 0x20, 0x4C, 0x71, 0x58, 0x7B, 0x59, 0x2C,
  0x00, 0x77, 0x58, 0x77, 0x0E, 0x72, 0x5B, 0x26, 0x0B, 0x70,
  0x0A, 0x77, 0x66, 0x77, 0x36, 0x76, 0x37, 0x76, 0x62, 0x72,
  0x6D, 0x27, 0x3F, 0x77, 0x26, 0x26]


data[0] ^= 0x33

for i in range(len(data)-1,0,-1):


    data[i]=data[i-1]^data[i]^i

for data in data:
    print(chr(data),end='')



posted @ 2022-12-01 18:47  今天吃大鸡腿  阅读(25)  评论(0编辑  收藏  举报