Ubuntu 16.04 LTS
在根目录下下载:
git clone https://github.com/longld/peda.git git clone https://github.com/scwuaptx/Pwngdb.git git clone https://github.com/pwndbg/pwndbg.git
安装配置pwndbg:
cd ~/pwndbg ./setup.sh
报错:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pwntools 4.2.1 requires unicorn<1.0.2rc4,>=1.0.2rc1, but you have unicorn 1.0.2 which is incompatible.
大概意思是unicorn版本安装错了,可以卸载老版本,安装要求的版本:
sudo pip2 uninstall unicorn sudo pip2 install unicorn==1.0.3配置.gdbinit
vim ~/.gdbinit
内容如下:
source ~/pwndbg/gdbinit.py source ~/Pwngdb/pwngdb.py source ~/peda/peda.py source ~/Pwngdb/angelheap/gdbinit.py
注意:要把source ~/pwndbg/gdbinit.py的配置放在前面,否则会报错:
Python Exceptionmodule 'pwndbg' has no attribute 'commands':



