presentations/buffer-overflow-libc
2024-03-03 19:17:38 +01:00
..
src full code example 2024-03-03 19:17:38 +01:00
.gitignore inital commit, WIP 2024-03-02 23:35:04 +01:00
package.json inital commit, WIP 2024-03-02 23:35:04 +01:00
pnpm-lock.yaml inital commit, WIP 2024-03-02 23:35:04 +01:00
README.md inital commit, WIP 2024-03-02 23:35:04 +01:00
tsconfig.json inital commit, WIP 2024-03-02 23:35:04 +01:00
vite.config.ts inital commit, WIP 2024-03-02 23:35:04 +01:00

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