pwntools

模板

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from pwn import *
import sys

context.terminal = ['tmux', 'sp', '-h']
context.update(log_level='debug', os='linux', arch='amd64')

if len(sys.argv) > 1 and sys.argv[1] == "r":
io = remote('')
else:
io = process('')

elf = ELF('')
# exploit

io.interactive()

patchelf

ROPgadget

ropper

Seccomp-tools

沙箱规则