OneForAll

admin 2024年12月9日23:20:10评论35 views字数 1989阅读6分37秒阅读模式

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

OneForAll

🚀上手指南

🐍安装要求

OneForAll基于Python 3.6.0开发和测试,OneForAll需要高于Python 3.6.0的版本才能运行。 安装Python环境可以参考Python 3 安装指南

✔安装步骤(git 版)

下载

由于该项目处于开发中,会不断进行更新迭代,下载时请使用git clone克隆最新代码仓库,也方便后续的更新,不推荐从Releases下载,因为Releases里版本更新缓慢,也不方便更新, 本项目已经在码云(Gitee)镜像了一份,国内推荐使用码云进行克隆比较快:

git clone https://gitee.com/shmilylty/OneForAll.git
或者:
git clone https://github.com/shmilylty/OneForAll.git

你可以通过pip3安装OneForAll的依赖,以下为Windows系统下使用pip3安装依赖的示例:注意:如果你的Python3安装在系统Program Files目录下,如:C:Program FilesPython36,那么请以管理员身份运行命令提示符cmd执行以下命令!

cd OneForAll/
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

执行以下命令更新项目(可保存对/config/setting.py/config/api.py的修改):

git stash        # 暂存本地的修改git fetch--all  # 拉取项目更新git pull         # 下载覆盖git stash pop    # 释放本地修改

✔安装步骤(docker 版)

首先下载并编辑配置文件,添加自己的api和个性化设置,并保留原始文件结构

config 
├── api.py 
├── default.py 
├── __init__.py 
├── log.py 
└── setting.py 
拉取镜像并执行,其中~/.config替换为你自己配置文件所在文件夹的路径
docker pull shmilylty/oneforalldocker run -it --rm -v ~/results:/OneForAll/results -v ~/.config:/OneForAll/config shmilylty/oneforall --target example.com run
参数直接加在指令末尾,结果会输出在本地目录~/results,如需保存到其他位置,可以自行修改
✨使用演示

如果你是通过pip3安装的依赖则使用以下命令运行示例:

python3 oneforall.py--target example.com runpython3 oneforall.py--targets ./example.txt run
正常执行完毕会在results目录生成相应结果:
OneForAll  
可以使用python oneforall.py --help获取最新的帮助信息。
 Example:        python3 oneforall.py version        python3 oneforall.py --target example.com run        python3 oneforall.py --targets ./domains.txt run        python3 oneforall.py --target example.com --valid None run        python3 oneforall.py --target example.com --brute True run        python3 oneforall.py --target example.com --port small run        python3 oneforall.py --target example.com --fmt csv run        python3 oneforall.py --target example.com --dns False run        python3 oneforall.py --target example.com --req False run        python3 oneforall.py --target example.com --takeover False run        python3 oneforall.py --target example.com --show True run
OneForAll

小知识

依据《刑法》第285条第3款的规定,犯提供非法侵入或者控制计算机信息系统罪的,处3年以下有期徒刑或者拘役,并处或者单处罚金;情节特别严重的,处3年以上7年以下有期徒刑,并处罚金。
OneForAll

声明

原文始发于微信公众号(丁永博的成长日记):OneForAll

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年12月9日23:20:10
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   OneForAllhttps://cn-sec.com/archives/3478228.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息