• 学习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

      

     
  • 相关阅读:
    C语言入门(16)——C语言的数组
    快速插入一百万行数据储存过程
    如何将两个表名对调
    MySQL规范
    MySQL运行环境部署规范
    mysql查看存储过程
    批量杀死MySQL连接的几种方法
    查看堵塞的SQL
    mysqldump备份脚本
    查看当前的数据和索引的总大小
  • 原文地址:https://www.cnblogs.com/Tsuiyields/p/10754034.html
Copyright © 2020-2023  润新知