SECCON 2019 Online CTF Writeup
SECCON 2019
チーム「./Vespiary」で出て 37 位 2402 点でした。 以下、自分が取り組んだ問題です(チームメンバーと解いたものを含む)。
Table of Contents [crypto] coffee_break [misc] Beeeeeeeeeer [crypto] ZKPay [web] web_search [crypto] Crazy Repetition of Codes [misc] Sandstorm [crypto] coffee_break ソースコードを読んで逆算するプログラムを書けば良い。
import sys from Crypto.Cipher import AES import base64 def decrypt(key, cipher): s = '' for i in range(len(cipher)): c = cipher[i] - 0x20 - (ord(key[i % len(key)]) - 0x20) if c < 0: c += (0x7e - 0x20 + 1) c += 0x20 s += chr(c) return s key1 = "SECCON" key2 = "seccon2019" cipher = AES.
[Read More]