CTF拼图工具gaps安装教程

本地下载gaps:https://github.com/nemanja-m/gaps

下载完成后将其拖进虚拟机kali里面,第一次安装的时候,python装库一直失败

直接重新装了一个kali,并将其内存改到16G

第一步:安装python3-poetry

cd gaps-main
sudo apt install python3-poetry

 

如果遇到报错Unable to locate package python3

更新一下apt-get即可

sudo apt-get update

 第二步:安装库

numpy==1.19.4
opencv-python==4.5.1.48
matplotlib==3.3.3
pytest==20.3.0
pillow==8.1.0

安装命令:

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

如果失败了,就一个库一个库的安装

pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install pytest -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install pillow -i https://pypi.tuna.tsinghua.edu.cn/simple

第三步:安装python-tk

sudo apt-get install python-tk

 第四步:

pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple

 最后在终端中输入gaps显示为蓝色,且命令能运行即为安装成功

  • 5
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 7
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值