presentations/buffer-overflow-libc/README.md
2024-03-02 23:35:04 +01:00

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()