一.Ubuntu
在VM安裝64位的Ubuntu
二.pwntools
基本語法
sudo apt-get install libffi-dev sudo apt-get install libssl-dev sudo apt-get install python sudo apt-get install python-pip pip install pwntools
其中前四句是為第四局做相應的准備,第五句為安裝pwntools的語句
三.安裝pwndbg
git clone https://github.com/pwndbg/pwndbg cd pwndbg sudo #./setup.sh
1.安裝時出現 fatal: unable to access 'https://github.com/pwndbg/pwndbg/': Could not resolve host: github.com
修改虛擬機中的網絡連接
2.第三步出現無法執行的問題
安裝python3
sudo python3 -m pip install setuptools
3.出現這樣的錯誤:ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
直接安裝launchpadlib
pip install launchpadlib
四.IDA
鏈接:down.52pojie.cn
五.gcc-multilib
在Windows中64位程序可以運行32位的程序,但在linux中不可以,因此我們需要安裝這些庫來運行32位的程序。
sudo apt install gcc-multilib