mirror of
https://github.com/danbulant/presentations
synced 2026-05-19 04:18:36 +00:00
446 B
446 B
Buffer overflow presentation
Presentation about buffer overflow including libc and canary, using pwntools.
Plan
Show the binary
Start working on python script:
from pwn import *
# ---
bin = ELF('../challenges/hello')
libc = ELF('/usr/lib/libc.so.6')
# ---
context.terminal = "kitty"
context.arch = "amd64"
# io = process('../challenges/hello')
io = gdb.debug('../challenges/hello')
# show GDB window
io.interactive()