Rocca Pia
Solution
The executable unXORs flag and compares it against our input. I used simple Python script to recreate this behavior.
= [int(c, 16) for c in "77 41 50 63 55 4C 5A 68 7F 06 78 04 4C 44 64 06 7E 5A 22 59 74 4A".split(" ")]
inp
for i in range(len(inp)):
if i & 1:
= inp[i] ^ 0x37
inp[i] else:
= inp[i] ^ 0x13
inp[i]
print("".join([chr(c) for c in inp]))
Flag
dvCTF{I_l1k3_sw1mm1ng}
Credits
License
CC BY 4.0 WaletSec + everl0stz