
Encoding Challenge
·
Wargame/Cryptohack
1. intro 코딩이 조금 귀찮긴 했지만 재밋는 문제였다. 2. code 및 분석 2.1. code #!/usr/bin/env python3 from Crypto.Util.number import bytes_to_long, long_to_bytes from utils import listener # this is cryptohack's server-side module and not part of python import base64 import codecs import random FLAG = "crypto{????????????????????}" ENCODINGS = [ "base64", "hex", "rot13", "bigint", "utf-8", ] with open('/usr/share/dic..