首页
社区
课程
招聘
[原创]笔记-CentOS Stream 8 安装pwndbg
发表于: 2024-5-31 17:43 2235

[原创]笔记-CentOS Stream 8 安装pwndbg

2024-5-31 17:43
2235

CentOS Stream 8已经停止维护,但是还有不少工作需要在这平台,至于为什么不使用最新版本的pwndbg,这里不做解释

更新系统和相关软件

1
2
3
4
5
6
7
dnf update -y
 
dnf install python3 -y
 
python3 -m pip install --upgrade pip
 
python3 -m pip install --upgrade setuptools

下载pwndbg

1
2
3
4
5
git clone -b 2023.03.19 https://github.com/pwndbg/pwndbg.git
 
cd pwndbg/
 
./setup.sh

如果有代理服务器,可以先根据代理服务器安装相应的python库,如**(注意替换ip:port)**:

1
2
3
4
5
6
7
8
9
python3 -m pip install --proxy http://ip:port --upgrade pip
 
python3 -m pip install --proxy http://ip:port --upgrade setuptools
 
 
python3 -m pip install --upgrade --proxy http://ip:port --target /usr/local/lib64/python3.6/site-packages -Ur requirements.txt
  
git clone -b 2023.03.19 https://github.com/pwndbg/pwndbg.git --config=http.proxy=http://ip:port

部分问题修改./setup.sh
找到如下代码部分

1
2
3
install_dnf() {
    ......
}

修改为

1
2
3
4
5
install_dnf() {
    sudo dnf update || true
    sudo dnf -y install gdb gdb-gdbserver python2-devel python3-devel python2-pip python3-pip glib2-devel make
    sudo dnf -y install glibc
}

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 13815
活跃值: (16832)
能力值: ( LV12,RANK:290 )
在线值:
发帖
回帖
粉丝
2
CentOS现在版本管理感觉越来越搞不懂了,我都不知道CentOS 7到底还能不能用
2024-5-31 23:45
0
游客
登录 | 注册 方可回帖
返回
//