学习pwn的前提工作及部分解决方案

一.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

  

 
posted @ 2019-04-23 01:09  祟役丶  阅读(1729)  评论(0编辑  收藏  举报