文章目录
一、域名信息收集
1.主动搜集
主动信息收集指向网站服务主动发送探测请求,并根据相应找到需求的信息。
工具:oneforall(https://github.com/shmilylty/oneforall)
示例:使用oneforall工具主动搜集湖南好课优选的域名信息
1.1下载Python依赖
pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
如果是python3版本,使用pip3命令;
1.2扫描域名
oneforall扫描命令:
python oneforall.py --target goodclassvip.com run
如果是python3版本,使用python3命令;
2.被动搜集
不主动向网站服务器发起探测,而是从网络搜索或其他途径上寻找域名信息。
2.1fofa站点
搜索域名语法:domain="goodclassvip.com"
2.2搜索引擎检索语法收集
site:goodclassvip.com
site就是表示站点的意思,用搜索引擎只搜索该站点。
2.3域名备案查询
https://beian.miit.gov.cn/-/#/Integrated/recordQuery
二、端口信息收集
使用工具:无影scan(https://github.com/TideSec/Tscanplus)
