我们建议使用Vmware or VirtualBox,它可以运行在Windows、Linux或OSX系统上,用来运行我们的实验环境。
建议使用Ubuntu 17.10的镜像(或其他16.04之后版本),ubuntu-17.10.1-desktop-amd64.iso
- 编译器gcc
- 调试工具gdb
- PEDA(可选) - Python Exploit Development Assistance for GDB
- pwntools - CTF framework and exploit development library
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install binutils nasm
sudo apt-get -y install gcc-multilib g++-multilib
sudo apt-get -y install libc6-dev-i386
sudo apt-get -y install git
sudo apt-get -y install libc6-dbg libc6-dbg:i386
sudo apt-get -y install nmap
sudo apt-get -y install python-pip libssl-dev
sudo apt-get -y install gdb
sudo pip install --upgrade pip
sudo pip install --upgrade capstone
sudo pip install --upgrade pwntools
sudo pip install ropgadget
git clone https://github.com/scwuaptx/peda.git ~/peda
cp ~/peda/.inpurc ~/
git clone https://github.com/scwuaptx/Pwngdb.git
cp ~/Pwngdb/.gdbinit ~/
git clone https://github.com/JonathanSalwan/ROPgadget
建议使用Windows 7 32位以及上
参考资料: