Files
ctf/cscg24/rev/intro_rev_2/decode_password.py
2024-03-02 02:46:14 +01:00

10 lines
240 B
Python

encoded_passwd = b"\x02\xea\x02\xe8\xfc\xfd\xbd\xfd\xf2\xec\xe8\xfd\xfb\xea\xf7\xfc\xef\xb9\xfb\xf6\xea\xfd\xf2\xf8\xf7\x00"
def decode(char: int):
return char + 0x77
for char in encoded_passwd:
print(chr(decode(char)), end="")