安装扫子域名工具OneForAll

一、简介

基于Python 3.8.0开发和测试,请使用高于Python 3.8.0的稳定发行版本,其他版本可能会出现一些问题(Windows平台必须使用3.8.0以上版本),安装Python环境可以参考Python 3 安装指南。
在Ubuntu18.04上搭建

二、虚拟机安装Ubuntu18.04系统

镜像在官网下载:https://ubuntu.com/download/desktop (记得安装带桌面的版本,不要安装成服务器的Ubuntu镜像,那样的话是没有图形化界面的)

然后正常安装就行(百度教程)

三、下载安装python3

在终端输入命令
sudo apt-get install python3.7
(百度。。)

然后安装pip包,同百度==

四、安装oneforall

  1. 下载
git clone https://gitee.com/shmilylty/OneForAll.git
  1. 安装
cd OneForAll/
python -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 或python3试一试就知道)
  1. 更新
    ❗注意:如果你之前已经克隆了项目运行之前请备份自己修改过的文件到项目外的地方(如config.py),然后执行以下命令更新项目:
git fetch --all
git reset --hard origin/master
git pull

四、使用命令

单个目标

python3 oneforall.py --target example.com run

多个目标

python3 oneforall.py --targets ./example.txt run

开启爆破模块运行(使用massdns进行爆破,网络占用极大,可能会阻塞网络)

python3 run python oneforall.py --target example.com --burte True run
原文地址:https://www.cnblogs.com/jiaojiaow/p/13519115.html