记一次下载oneforall报错及解决方案
oneforall下载地址
这个工具好用是好用,就是下载过程中太容易出现版本不匹配,csv文件无记录等等的报错了,经历几次尝试后,我总结出一种最顺利的办法,只需要跟着敲命令即可
首先
git clone https://gitee.com/shmilylty/OneForAll.git
其次,创建一个python3.7的环境(3.8亲测会csv文件无记录,太高会有兼容问题),我用的是conda
conda create -n py37 python=3.7
到这里就可以了,接下来用管理员权限打开powshell,并且一定要关掉代理,一定要关掉代理,一定要关掉代理,重要的事情说三遍。
进入到代码的文件夹,输入以下命令
conda activate py37
python3 -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python3 oneforall.py --help
然后就可以跑下面的命令试一下了
python oneforall.py --target example.com run