initial commit

This commit is contained in:
2025-12-04 09:57:17 +01:00
commit 0054cc02b1
4851 changed files with 4416257 additions and 0 deletions

11
CTF/Order/decrypt.py Normal file
View File

@@ -0,0 +1,11 @@
def xor_decrypt(text, key):
return bytes([text[i] ^ key[i % len(key)] for i in range(len(text))])
cypher_text1 = bytes.fromhex("1c1c01041963730f31352a3a386e24356b3d32392b6f6b0d323c22243f6373")
cypher_text2 = bytes.fromhex("1a0d0c302d3b2b1a292a3a38282c2f222d2a112d282c31202d2d2e24352e60")
key = b"ORDER:"
key = xor_decrypt(cypher_text1[:len(key)],key)
print(xor_decrypt(cypher_text1+cypher_text2, key).decode('UTF-8'))