pwntools的安装:
1.sudo apt update
2.sudo apt install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential
(安装pip3)
3.pip3 -V
(查看版本)
然后
pip install pwntools
补充:
1.自行安装 vim
sudo apt vim
2.pip换源
在根目录下创建文件夹:.pip
在.pip里创建文件:pip.conf
3.使用vim修改 pip.conf
在里面添加内容如下:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
里面的url可以修改更换。
pip国内的一些镜像:
(个人建议使用阿里云)
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
参考链接:
https://blog.csdn.net/Deep___Learning/article/details/103069937
https://bbs.pediy.com/thread-258437.htm
https://blog.csdn.net/foreverzpk/article/details/103539092
解决Ubuntu 20.04无法与主机复制粘贴问题
sudo apt-get install open-vm-tools-desktop