MCPcopy
hub / github.com/lijiejie/subDomainsBrute

github.com/lijiejie/subDomainsBrute @v1.4 sqlite

repository ↗ · DeepWiki ↗ · release v1.4 ↗
35 symbols 137 edges 9 files 0 documented · 0%
README

subDomainsBrute 1.4

A fast sub domain brute tool for pentesters.

It works with Python3.5+ or Python2.7 while Python3 users can get better performance.

高并发的DNS暴力枚举工具。支持Python3.5+和Python2.7,使用Python3.5+ 效率更高。

Install

Python3.5+ users:

  • pip install aiodns

Python2 users

  • pip install dnspython gevent

Screenshot

使用大字典,扫描qq.com

screenshot

Usage

Usage: subDomainsBrute.py [options] target.com
Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -f FILE               File contains new line delimited subs, default is
                        subnames.txt.
  --full                Full scan, NAMES FILE subnames_full.txt will be used
                        to brute
  -i, --ignore-intranet
                        Ignore domains pointed to private IPs
  -w, --wildcard        Force scan after wildcard test fail
  -t THREADS, --threads=THREADS
                        Num of scan threads, 256 by default
  -p PROCESS, --process=PROCESS
                        Num of scan Process, 6 by default
  -o OUTPUT, --output=OUTPUT
                        Output file name. default is {target}.txt

Change Log

  • [2022-05-06]
  • 修复version check bug
  • [2020-10-29]
  • 增加支持强制扫描泛解析的域名,需要加 -w 参数
  • [2020-10-26]
  • 修复Windows下出现 too many file descriptors
  • [2020-05-05]
  • 增加了Python3.5+支持。Python3执行效率更高
  • [2019-05-19]
  • Add wildcard test
  • Scan faster and more reliable, now can brute up to 3000 domains per second
  • [2018-02-06]
  • 添加多进程支持。 多进程 + 协程,提升扫描效率。
  • 预处理了原字典中的占位符,提升扫描效率
  • [2017-06-03]
  • Bug fix: normal_lines remove deep copy issues, thanks @BlueIce
  • [2017-05-04]
  • 使用协程替代多线程; 使用优化级队列减小队列长度; 优化占位符支持

Core symbols most depended-on inside this repo

print_msg
called by 16
lib/common.py
ioctl_GWINSZ
called by 4
lib/consle_width.py
getTerminalSize
called by 2
lib/consle_width.py
is_intranet
called by 2
lib/common.py
load_dns_servers
called by 1
lib/common_py2.py
wildcard_test
called by 1
lib/common_py2.py
get_sub_file_path
called by 1
lib/common_py2.py
_getTerminalSize_windows
called by 1
lib/consle_width.py

Shape

Function 24
Method 9
Class 2

Languages

Python100%

Modules by API surface

lib/common_py3.py7 symbols
lib/scanner_py3.py6 symbols
lib/common.py6 symbols
lib/scanner_py2.py5 symbols
lib/consle_width.py5 symbols
lib/common_py2.py4 symbols
subDomainsBrute.py1 symbols
lib/cmdline.py1 symbols

For agents

$ claude mcp add subDomainsBrute \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact