栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

peda、Pwngdb、pwndbg的安装及避坑指南

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

peda、Pwngdb、pwndbg的安装及避坑指南

环境

Ubuntu 16.04 LTS

安装

在根目录下下载:

git clone https://github.com/longld/peda.git
git clone https://github.com/scwuaptx/Pwngdb.git
git clone https://github.com/pwndbg/pwndbg.git

安装配置pwndbg:

cd ~/pwndbg
./setup.sh

报错:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pwntools 4.2.1 requires unicorn<1.0.2rc4,>=1.0.2rc1, but you have unicorn 1.0.2 which is incompatible.


大概意思是unicorn版本安装错了,可以卸载老版本,安装要求的版本:

sudo pip2 uninstall unicorn
sudo pip2 install unicorn==1.0.3
配置.gdbinit
vim ~/.gdbinit

内容如下:

source ~/pwndbg/gdbinit.py
source ~/Pwngdb/pwngdb.py
source ~/peda/peda.py
source ~/Pwngdb/angelheap/gdbinit.py

注意:要把source ~/pwndbg/gdbinit.py的配置放在前面,否则会报错:

Python Exception  module 'pwndbg' has no attribute 'commands': 
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/283393.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号