登录  /  注册
博主信息
博文 291
粉丝 0
评论 0
访问量 431860
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
OneForAll安装使用
原创
2224人浏览过

镜像下载、域名解析、时间同步请点击 阿里云开源镜像站

OneForAll是一款功能强大的子域收集工具

我安装到了kali

  1. git clone https://gitee.com/shmilylty/OneForAll.git
  1. 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

阿里源:

  1. deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
  2. deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
  3. deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
  4. deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
  5. deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
  6. deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
  7. deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
  8. deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
  9. deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
  10. 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 *

file

最后就好了,

用法:

  1. NAME
  2. oneforall.py - OneForAll是一款功能强大的子域收集工具
  3. SYNOPSIS
  4. oneforall.py --target=TARGET <flags>
  5. DESCRIPTION
  6. Version: 0.0.4
  7. Project: https://git.io/fjHT1
  8. Example:
  9. python3 oneforall.py --target Example Domain run
  10. python3 oneforall.py --target ./domains.txt run
  11. python3 oneforall.py --target example.com --brute True run
  12. python3 oneforall.py --target Example Domain --verify False run
  13. python3 oneforall.py --target Example Domain --valid None run
  14. python3 oneforall.py --target example.com --port medium run
  15. python3 oneforall.py --target example.com --format csv run
  16. python3 oneforall.py --target example.com --show True run
  17. Note:
  18. 参数valid可选值10None分别表示导出有效,无效,全部子域
  19. 参数verifyTrue会尝试解析和请求子域并根据结果给子域有效性打上标签
  20. 参数port可选值有'small', 'medium', 'large', 'xlarge',详见config.py配置
  21. 参数format可选格式有'txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html',
  22. 'jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods'
  23. 参数pathNone会根据format参数和域名名称在项目结果目录生成相应文件
  24. ARGUMENTS
  25. TARGET
  26. 单个域名或者每行一个域名的文件路径(必需参数)
  27. FLAGS
  28. --brute=BRUTE
  29. 使用爆破模块(默认False)
  30. --verify=VERIFY
  31. 验证子域有效性(默认True)
  32. --port=PORT
  33. 请求验证的端口范围(默认medium)
  34. --valid=VALID
  35. 导出子域的有效性(默认1)
  36. --path=PATH
  37. 导出路径(默认None)
  38. --format=FORMAT
  39. 导出格式(默认xlsx)
  40. --show=SHOW
  41. 终端显示导出数据(默认False)

原文链接:https://blog.csdn.net/m0_56214376/article/details/124321743

本博文版权归博主所有,转载请注明地址!如有侵权、违法,请联系admin@php.cn举报处理!
全部评论 文明上网理性发言,请遵守新闻评论服务协议
0条评论
作者最新博文
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号

  • 登录PHP中文网,和优秀的人一起学习!
    全站2000+教程免费学