WhiteHat CTF1 WITHCON 2022 Buffalo [Steal] Write Up 문제 Docker 1. 해당 문제의 경우 회원 가입을 하거나 토큰을 송금할 때 PoW(작업 증명)을 해야하는데, 아래의 Python Code를 이용하여 작업을 증명을 진행했습니다. ※ PoW 한 번당 대략 5초 정도 걸림 import hashlib import itertools import string words="abcdefghijklmnopqrstuvwxyz12345678890" pow_list = itertools.product(words, repeat=5) for i in pow_list: value = hashlib.sha1(''.join(i).encode()).hexdigest() if(value[0:5]=="ad1a4"): print("Correct",''.join(i)) break else.. 2022. 10. 15. 이전 1 다음