본문 바로가기

deayzl's blog

검색하기
deayzl's blog
프로필사진 deayzl

  • All (25)
    • About Me (1)
    • 1-day analysis (1)
      • Linux kernel (1)
      • Chromium (0)
    • CTF writeup (16)
      • HITCON CTF (2)
      • SECCON CTF (1)
      • GoN Open Qual CTF (6)
      • TyphoonCon CTF (2)
      • Codegate (1)
      • Incognito CTF (1)
      • Others (3)
    • CTF log (3)
    • wargame writeup | hint (2)
      • H4CKING GAME (0)
      • Webhacking.kr (1)
      • RootMe (1)
    • System hacking (0)
    • Cryptography (0)
    • Others (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • WeChall
  • RootMe
  • Dreamhack
«   2025/05   »
일 월 화 수 목 금 토
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
  • python
  • 워게임
  • WEB
  • webhacking.kr
  • Buffer Overflow
  • ctf player
  • dreamhack
  • Wargame
  • writeup
  • Gon
  • hack
  • reversing
  • christmas ctf
  • h4cking game
  • System Hacking
  • hacking
  • CTF
  • got overwrite
  • Wreckctf
  • webhacking
  • TeamH4C
  • cryptography
  • 해킹
  • KAIST
  • deayzl
  • pwnable
  • crypto
  • 웹해킹
  • hacking game
  • 2022 Fall GoN Open Qual CTF
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록algorithm (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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바