当前位置:网站首页>OneForAll安装使用
OneForAll安装使用
2022-07-05 15:45:00 【萌褚】
镜像下载、域名解析、时间同步请点击 阿里云开源镜像站
OneForAll是一款功能强大的子域收集工具
我安装到了kali
git clone https://gitee.com/shmilylty/OneForAll.git
git 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 <module>
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 multiversedeb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiversedeb-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
边栏推荐
- Research and development efficiency measurement index composition and efficiency measurement methodology
- Batch update in the project
- 21. [STM32] I don't understand the I2C protocol. Dig deep into the sequence diagram to help you write the underlying driver
- 17. [stm32] use only three wires to drive LCD1602 LCD
- Six common transaction solutions, you sing, I come on stage (no best, only better)
- Information collection of penetration test
- 16. [stm32] starting from the principle, I will show you the DS18B20 temperature sensor - four digit digital tube displays the temperature
- 19.[STM32]HC_ SR04 ultrasonic ranging_ Timer mode (OLED display)
- 五种常见的咨询公司谈判策略以及如何维护自己的利益
- [graduation season] as a sophomore majoring in planning, I have something to say
猜你喜欢
ES6 drill down - Async functions and symbol types
The new version of effect editor is online! 3D rendering, labeling, and animation, this time an editor is enough
ES6深入—ES6 Class 类
《21天精通TypeScript-3》-安装搭建TypeScript开发环境.md
Subclasses and superclasses of abstract classes
Five common negotiation strategies of consulting companies and how to safeguard their own interests
Seaborn绘制11个柱状图
开发中Boolean类型使用遇到的坑
OceanBase社区版之OBD方式部署方式本地安装
Use of RLOCK lock
随机推荐
list使用Stream流进行根据元素某属性数量相加
APICloud云调试解决方案
Is it safe for Guotai Junan to open an account online
Clock switching with multiple relationship
ES6深入—ES6 Class 类
EDI许可证和ICP经营性证有什么区别
《21天精通TypeScript-3》-安装搭建TypeScript开发环境.md
The list set is summed up according to a certain attribute of the object, the maximum value, etc
一些认知的思考
The difference between abstract classes and interfaces
21.[STM32]I2C协议弄不懂,深挖时序图带你编写底层驱动
SQL injection sqllabs (basic challenges) 11-20
list集合根据对象某属性求和,最大值等
19.[STM32]HC_ SR04 ultrasonic ranging_ Timer mode (OLED display)
后台系统发送验证码功能
Data communication foundation smart_ Link_&_ Monitor_ Link
Data communication foundation - routing communication between VLANs
Six common transaction solutions, you sing, I come on stage (no best, only better)
Solve the Hanoi Tower problem [modified version]
list去重并统计个数