일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- deayzl
- WEB
- KAIST
- cryptography
- writeup
- webhacking.kr
- System Hacking
- 2022 Fall GoN Open Qual CTF
- hacking game
- h4cking game
- christmas ctf
- Gon
- 해킹
- ctf player
- TeamH4C
- dreamhack
- pwnable
- 워게임
- crypto
- Buffer Overflow
- hacking
- hack
- CTF
- Wargame
- 웹해킹
- Wreckctf
- python
- reversing
- webhacking
- got overwrite
Archives
- Today
- Total
목록checkers (1)
deayzl's blog
[2022 Fall GoN Open Qual CTF] Checkers writeup
#!/usr/bin/python3 import random CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_/" def key_gen(): tmp = list(CHARSET) random.shuffle(tmp) p = "".join(tmp) k1, k2 = random.sample(range(1, 10), 2) k3_len = random.randint(5, 10) k3 = tuple(random.randrange(1, 10) for _ in range(k3_len)) p_li = list(p) p_li.append(p_li[k1]) p_li.append(p_li[k2]) p_li[k1] = " " p_li[k2] = " " p = "".join(p_li) return (p, k1, ..
CTF writeup/GoN Open Qual CTF
2022. 8. 31. 21:00