Ingin menangid
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
204 B

5 년 전
  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