GasMasK是一款功能强大的开源网络情报工具,该工具由多种信息收集工具构成,可以算得上是广大安全研究人员的一把“瑞士军刀”。在该工具的帮助下,我们可以轻松执行开源网络情报收集工作。
工具介绍
支持收集的信息
工具依赖组件
Python 3.x
validators
python-whois
dnspython
requests
shodan
censys
mmap
pprint
工具下载
由于该工具基于Python 3开发,因此我们首先需要在本地设备上安装并配置好Python 3环境。接下来,广大研究人员可以使用下列命令将该项目源码克隆至本地:
git clone https://github.com/twelvesec/gasmask.gitrld!");
然后使用pip3命令和项目提供的requirements.txt安装该工具所需的其他依赖组件:
sudo pip3 install -r requirements.txt
工具模式
基础模式
Whois查询
DNS请求
反向DNS查询
Bing虚拟主机
非Google模式
Whois查询
DNS请求
反向DNS查询
Bing虚拟主机
Bing搜索
雅虎搜索
ASK搜索
Dogpile搜索
Yandex搜索
Crt搜索
DNSdumpster搜索
Netcraft搜索
VirusTotal搜索
Spyse搜索
工具使用
基础使用样例
python gasmask.py -d example.com -i basic
python gasmask.py -d example.com -i dnsdump
python gasmask.py -d example.com -i shodan -k xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
python gasmask.py -d example.com -i whois,dns,revdns
python gasmask.py -d example.com -i basic,yahoo,github -o
myresults/example_com_search_results
censys.io使用样例
python gasmask.py -i censys --Limit 10 nessus
python gasmask.py -i censys -I SAP --report location.country.raw --report_bucket 10
python gasmask.py -i censys --html-title "Hacked By" --Limit 10 --html
python gasmask.py -i censys --tags heartbleed --report location.country.raw
python gasmask.py -i censys -S NGINX --count
python gasmask.py -i censys -d example.com
python gasmask.py -i censys -t "Internal Server Error" -S Apache -m "HTTP 500" --Limit 15
API密钥读取样例(censys.io)
python gasmask.py -i censys -r
API密钥更新样例(censys.io)
python gasmask.py -i censys -u
许可证协议
本项目的开发与发布遵循GPL-3.0开源许可证协议。
项目地址
GasMask:
https://github.com/twelvesec/gasmask
点击左下角“阅读原文”进入连天安全导航站
长风实验室发布、转载的文章中所涉及的技术、思路和工具,仅供以网络安全为目的的学习交流使用,不得用作它途。部分文章来源于网络,如有侵权请联系删除。
END
推荐
阅读
“
长按扫码关注
获取更多精彩内容
原文始发于微信公众号(长风实验室):红队武器库 | GasMasK:一款功能强大的开源网络情报工具
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论