どこにかけばいいかわからないやつ
readelf --wide
読みやすくなる
objdump -M intel
intel記法で見れる
elf header
/usr/include/elf.h
payloadがうまく動いてくれないときのdebug
gdb.debug()でgdbserverをterminalで立ち上げてくれる.
# io = remote(HOST, PORT)
io = gdb.debug(
binfile,
"""
break main
""",
)