adworld [rev] reverse-for-the-holy-grail-350 Posted on 2021-12-23 太困了,直接上脚本. 12345678910111213141516171819202122firstChars = [0x41, 0x69, 0x6E, 0x45, 0x6F, 0x61]thirdChars = [0x02EF, 0x02C4, 0x02DC, 0x02C7, 0x02DE, 0x02FC]masterArray = [0x1D7, 0x0C, 0x244, 0x25E, 0x93, 0x6C]flag = [0] * 18hashCode = 666j = 0for i in range(0, 18, 3): flag[i] = firstChars[j] tmp = hashCode hashCode += hashCode % 5 for k in range(1, 128): if (k ^ hashCode) * (flag[i] ^ tmp) % (thirdChars[j]) == masterArray[j]: flag[i + 1] = k break hashCode += hashCode % 5 flag[i + 2] = thirdChars[j] ^ hashCode hashCode += hashCode % 5 j += 1print(''.join(list(map(chr, flag))))