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

pwn环境搭建

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

pwn环境搭建

使用Linux版本
ubuntu20.04 LTS

步骤

安装ubuntuvim安装

sudo apt-get install vim

更换默认源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse 

deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse 

deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse 

deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse 

deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse 

deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse 

deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse 

deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse 

deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse 

deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse focal
sudo apt-get update
sudo apt-get upgrade

更换pip源

mkdir .pip
vim pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

安装tmux

sudo apt-get install tmux

gdb安装

sudo apt-get install gdb

pwntools安装

需要进入root权限进行安装,否则checksec等工具无法安装成功

sudo su

pip3 install pwntool

pwndbg安装

https://github.com/pwndbg/pwndbg

pwngdb安装

https://github.com/scwuaptx/Pwngdb

tmux bug解决

https://github.com/Gallopsled/pwntools/commit/f7283bf2ebcb978d977ef11b4198bb3e1f9373e3

其他

patchelf https://github.com/NixOS/patchelf
glibc-all-in-one https://github.com/matrix1001/glibc-all-in-one
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/753379.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

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

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