kali安装pwntools遇到的一些问题

pwntools是一个CTF框架和漏洞利用开发库,用Python开发,由rapid设计,旨在让使用者简单快速的编写exploit。

pwntools对Ubuntu 12.04和14.04的支持最好,但是绝大多数的功能也支持Debian, Arch, FreeBSD, OSX, 等等。

安装前确保安装了Binutils、Capstone、Python Development Headers等系统库

官方文档:http://docs.pwntools.com/en/stable/

————————————————————————分割线————————————————————————————

1、kali无网络连接

connect: 网络不可达

这个网络我之前是配置好的,但是突然又不能用了。后来我测试了一下,发现VMware挂起虚拟机之后,就需要重启网络设置。

/etc/init.d/networking restart

2、找不到TLS CA证书

Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/ssl/certs/ca-certificates.crt

问题是找不到合适的TLS CA证书捆绑包,路径无效

这个时候会导致我们的pip install安装不了任何东西。

解决方法是重新安装证书

sudo update-ca-certificates
export GIT_SSL_NO_VERIFY=1

安装pwntools

输入指令

pip install pwntools

安装完成后测试asm

成功运行,到此pwntools安装完毕

posted @ 2020-11-04 17:14  seven昔年  阅读(575)  评论(0编辑  收藏  举报