当前位置:网站首页>OneForAll安装使用
OneForAll安装使用
2022-07-06 09:28:00 【萌褚】
镜像下载、域名解析、时间同步请点击 阿里云开源镜像站
OneForAll是一款功能强大的子域收集工具
我安装到了kali
git clone https://gitee.com/shmilylty/OneForAll.gitgit clone https://github.com/shmilylty/OneForAll.git这俩个随便选择了一个
pwd
看一下当前目录,因为会安装到当前目录,在当前目录生成OneForAll目录
cd OneForAll
python3 OneForAll.py --help
这个命令可能会出错,(kali自己安装了Python)
Traceback (most recent call last):
File "oneforall.py", line 13, in
import fire
ModuleNotFoundError: No module named 'fire'
如果出现这个,那就恭喜你中奖了,他提示你没有这个模块,你要一步一步装东西了,
pip3 install fire
如果直接可以安装,那就更好,如果安装不了,看个人问题,我的是源不对,
vi /etc/apt/sources.list
阿里源:
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse刷新源列表
sudo apt-get update
然后
Python3 OneForAll.py --hellp
会出现提示,
ModuleNotFoundError: No module named '*****'
****是啥,就安装啥
pip3 install *****

最后就好了,
用法:
NAME
oneforall.py - OneForAll是一款功能强大的子域收集工具
SYNOPSIS
oneforall.py --target=TARGET <flags>
DESCRIPTION
Version: 0.0.4
Project: https://git.io/fjHT1
Example:
python3 oneforall.py --target Example Domain run
python3 oneforall.py --target ./domains.txt run
python3 oneforall.py --target example.com --brute True run
python3 oneforall.py --target Example Domain --verify False run
python3 oneforall.py --target Example Domain --valid None run
python3 oneforall.py --target example.com --port medium run
python3 oneforall.py --target example.com --format csv run
python3 oneforall.py --target example.com --show True run
Note:
参数valid可选值1,0,None分别表示导出有效,无效,全部子域
参数verify为True会尝试解析和请求子域并根据结果给子域有效性打上标签
参数port可选值有'small', 'medium', 'large', 'xlarge',详见config.py配置
参数format可选格式有'txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html',
'jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods'
参数path为None会根据format参数和域名名称在项目结果目录生成相应文件
ARGUMENTS
TARGET
单个域名或者每行一个域名的文件路径(必需参数)
FLAGS
--brute=BRUTE
使用爆破模块(默认False)
--verify=VERIFY
验证子域有效性(默认True)
--port=PORT
请求验证的端口范围(默认medium)
--valid=VALID
导出子域的有效性(默认1)
--path=PATH
导出路径(默认None)
--format=FORMAT
导出格式(默认xlsx)
--show=SHOW
终端显示导出数据(默认False)原文链接:https://blog.csdn.net/m0_56214376/article/details/124321743
边栏推荐
- 力扣:第81场双周赛
- 1605. Sum the feasible matrix for a given row and column
- Some problems encountered in installing pytorch in windows11 CONDA
- Hdu-6025-prime sequence (girls' competition)
- PySide6 信号、槽
- TCP's three handshakes and four waves
- Alice and Bob (2021 Niuke summer multi school training camp 1)
- AcWing:第58场周赛
- QT实现窗口置顶、置顶状态切换、多窗口置顶优先关系
- 1529. Minimum number of suffix flips
猜你喜欢

QT模拟鼠标事件,实现点击双击移动拖拽等

QT有关QCobobox控件的样式设置(圆角、下拉框,向上展开、可编辑、内部布局等)

Essai de pénétration (1) - - outils nécessaires, navigation

1323. Maximum number of 6 and 9
![[exercise-4] (UVA 11988) broken keyboard = = (linked list)](/img/59/78ca7170ab1fd364ec44cfbcdc7ab5.png)
[exercise-4] (UVA 11988) broken keyboard = = (linked list)
![[exercise-5] (UVA 839) not so mobile (balance)](/img/8e/48dcf75f7347b36301df6fc129c09d.png)
[exercise-5] (UVA 839) not so mobile (balance)
Quick to typescript Guide

Advancedinstaller安装包自定义操作打开文件

滲透測試 ( 1 ) --- 必備 工具、導航

渗透测试 ( 1 ) --- 必备 工具、导航
随机推荐
[exercise-6] (UVA 725) division = = violence
Understand what is a programming language in a popular way
Suffix expression (greed + thinking)
628. Maximum product of three numbers
QT实现窗口置顶、置顶状态切换、多窗口置顶优先关系
Interval sum ----- discretization
Sword finger offer II 019 Delete at most one character to get a palindrome
875. 爱吃香蕉的珂珂 - 力扣(LeetCode)
[exercise-5] (UVA 839) not so mobile (balance)
Frida hook so layer, protobuf data analysis
1605. Sum the feasible matrix for a given row and column
指定格式时间,月份天数前补零
C language must memorize code Encyclopedia
socket通讯
Pytorch extract skeleton (differentiable)
input 只能输入数字,限定输入
Common configuration files of SSM framework
生成随机密码/验证码
2078. Two houses with different colors and the farthest distance
F - birthday cake (Shandong race)