Ingin menangid
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
204 B

5 years ago
  1. from pwn import *
  2. cipher = "e7c1cdc1e3f4e6dbcfcec5ffc2d9d4c5ffd8cfd2d29f9fdd"
  3. cipher = cipher.decode('hex')
  4. for i in range(256):
  5. plain = xor(cipher, i)
  6. if "GamaCTF{" in plain:
  7. print plain
  8. break