Skip to content

Instantly share code, notes, and snippets.

View mooofin's full-sized avatar

sid mooofin

View GitHub Profile
@0xswitch
0xswitch / finding_offset.py
Created October 3, 2019 06:28
Find offset for buffer overflow vulnerability with pwntools
from pwn import *
elf = ELF("./vuln")
p = process("./vuln")
p.sendline(cyclic(200, n=8))
p.wait()
core = p.corefile