Skip to content

Instantly share code, notes, and snippets.

@00xc

00xc/solution.py Secret

Created November 30, 2020 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 00xc/ad4100a6ddc789d77800ddda732a60df to your computer and use it in GitHub Desktop.
Save 00xc/ad4100a6ddc789d77800ddda732a60df to your computer and use it in GitHub Desktop.
DekraCTF - goverse
target_hex = bytes.fromhex("37303039343130623436313630363037363034643036303837393764373437613465373037323030303735373032")
xor_key = bytes.fromhex("3739373834653536333936383530353536343631346435")
target = bytes.fromhex(target_hex.decode())
for x, r in zip(xor_key, target):
print(chr(x ^ r), end="")
print("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment