1.安装pip
还是这个方法靠谱
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo pip3 install setuptools --upgrade
2.安装pwntools
ubuntu16.04
apt-get update
apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential
sudo pip install pwntools -i https://pypi.tuna.tsinghua.edu.cn/simple
安装好做个检验:
3. 安装pwndbg
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh
温馨提示再配置一下gdb调用
echo "source $PWD/gdbinit.py" >> ~/.gdbinit
4.安装checksec
git clone https://github.com/slimm609/checksec.sh.git
cd checksec.sh
sudo ln -s checksec /usr/local/bin/checksec