一.Ubuntu python
在VM安裝64位的Ubuntulinux
二.pwntoolsgit
基本語法github
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的語句bash
三.安裝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.comui
修改虛擬機中的網絡鏈接spa
2.第三步出現沒法執行的問題code
安裝python3blog
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