它通过以下步骤收集域中的数据:
尝试获取区域传输文件。
收集来自DNS记录的所有信息。
分析DNS记录(分析来自DNS记录的所有IP地址和从IP地址测试C类范围(例如:127.0.0.1/24)并获取包含所分析域的所有数据)。
使用字典攻击测试子域名。
要求:
Linux安装:
sudo apt-get install python-dev python-pip
sudo pip install -r requirements.txt
easy_install rettytable
MacOSx安装:
安装Xcode命令行工具(AppStore)
sudo easy_install pip,prettytable
sudo pip install -r requirements.txt
Windows安装:
安装dnspython
安装gevent
安装prettytable
以管理员身份打开命令提示符(cmd) - >转到python文件夹 - >脚本(cd c:\ Python27 \ Scripts)
pip install -r(requirements.txt的完整路径)
easy_install prettytable
例子:
分析example.com域:
subdomain-analyzer.py example.com
分析example.com域,将名称为log.txt的记录保存到日志文件中,与100个线程一起使用,并通过名称another-file.txt使用另一个字典文件:
subdomain-analyzer.py example.com --output log.txt --threads 100 --sub-domain-list another-file.txt
分析example.com域,将名称为log.txt的记录保存到日志文件中,并将新的子域添加到子域列表文件中:
subdomain-analyzer.py example.com -o log.txt --sub-domain-list
SubDomain子域名分析器 - 域名信息收集工具:下载地址https://github.com/El3ct71k/SubDomain-Analyzer
文章出处:http://www.effecthacking.com,由华盟网翻译排版,转载请注明华盟网
你可能喜欢