当电脑建立相关环境遇到一些麻烦后,如何重新快速搭建pwn相关的linux环境是个重要的的问题,写篇博客给自己记一下
1.设置root密码
sudo passwd root
2.安装pip
sudo apt-get install python-pip
3.安装pwntools
pip install pwntools
4.转储ida server(方便ida远程调试)
5.安装LibcSearcher
git clone https://github.com/lieanu/LibcSearcher.git
sudo python setup.py install
6.安装peda
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
7.安装gef
wget -q -O- https://github.com/hugsy/gef/raw/master/gef.sh | sh
wget -q