description : can you solve my M-BOX?
The main flow of m-box is :
- get user input
SCTF{Welcome_to_SCTF2017_haha}
처음에는 뭐하는건지 몰랐는데 구글에 python pickle dump vuln 검색하니까 좋은 예제들이 많이 나와있었다.
여기를 보고 풀었다.
sanity check문제이다. 사이트가 닫혀서 플래그는 기억이 나지 않는다.
flag{????????}
rot거나 걍 단순 치환일거 같아서 "https://quipqiup.com/" 여기다가 돌렸는데 플래그가 나왔다.
#!/usr/bin/python3 | |
from PIL import Image, ImageFont, ImageDraw | |
import numpy | |
import onnxruntime | |
table1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno" | |
table2 = "pqrstuvwxyz0123456789_!@#$%^&*()-?=,.{}~g" | |
assert(len(table1) == 41 and 'g' in table1) | |
assert(len(table2) == 41 and 'g' in table2) |