Home Security Oneforall子域名搜集subdomain Discovery
Post
Cancel

Security Oneforall子域名搜集subdomain Discovery

refer to:
https://github.com/shmilylty/OneForAll

我之前一般都用shuize

不过感觉对于海外目标,shuize只能弄个子域名。。。

所以试试这个

安装 linux

cd OneForAll/
sudo yum install gcc python3-devel python3-pip -y
sudo python3 -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
sudo pip3 install --ignore-installed -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

运行

python3 oneforall.py --help

在2023-0606, python3.11下,会报错:

python3 oneforall.py --help
Traceback (most recent call last):
  File "/mnt/d/workspace/coding_tools/one_for_all/oneforall.py", line 16, in
    from brute import Brute
  File "/mnt/d/workspace/coding_tools/one_for_all/brute.py", line 14, in
    import exrex
  File "/home/xx/.asdf/installs/python/3.11.2/lib/python3.11/site-packages/exrex.py", line 25, in 

参考:https://github.com/shmilylty/OneForAll/issues/295

然后就可以运行该命令了。

对应的API:

https://github.com/shmilylty/OneForAll/blob/master/docs/collection_modules.md

直接修改 config/api.py 即可

每次都是个大工程。

运行:

python3 oneforall.py --target siwei.me run

结果:

结果:

This post is licensed under CC BY 4.0 by the author.