0x00 peda
安装:
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
echo "DONE! debug your program with gdb and enjoy" 使用:例如
echo "source ~/.GdbPlugins/peda/peda.py" > ~/.gdbinit
$ gdb pwn
gdb-peda$ checksec
0x01 gef
安装:
$ wget -q -O- https://github.com/hugsy/gef/raw/master/gef.sh | sh
$ wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py
$ echo source ~/.gdbinit-gef.py >> ~/.gdbinit
使用:
$ gdb -q /path/to/my/bin
gef➤ gef help
.