红队武器库 | GasMasK:一款功能强大的开源网络情报工具

admin 2023年2月22日02:18:12评论109 views字数 1744阅读5分48秒阅读模式


GasMasK是一款功能强大的开源网络情报工具,该工具由多种信息收集工具构成,可以算得上是广大安全研究人员的一把“瑞士军刀”。在该工具的帮助下,我们可以轻松执行开源网络情报收集工作。


1

工具介绍

支持收集的信息

ask

bing

crt

censys.io

dns

dnsdumpster

dogpile

github

google

googleplus

instagram

linkedin

netcraft

pgp

reddit

reverse dns

shodan

twitter

vhosts

virustotal

whois

yahoo

yandex

youtube

spyse


2

工具依赖组件

Python 3.xvalidatorspython-whoisdnspythonrequestsshodancensysmmappprint

3

工具下载

由于该工具基于Python 3开发,因此我们首先需要在本地设备上安装并配置好Python 3环境。接下来,广大研究人员可以使用下列命令将该项目源码克隆至本地:

git clone https://github.com/twelvesec/gasmask.gitrld!");

然后使用pip3命令和项目提供的requirements.txt安装该工具所需的其他依赖组件:

sudo pip3 install -r requirements.txt

4

工具模式

基础模式

Whois查询DNS请求反向DNS查询Bing虚拟主机

非Google模式

Whois查询DNS请求反向DNS查询Bing虚拟主机Bing搜索雅虎搜索ASK搜索Dogpile搜索Yandex搜索Crt搜索DNSdumpster搜索Netcraft搜索VirusTotal搜索Spyse搜索

5

工具使用

基础使用样例

python gasmask.py -d example.com -i basicpython gasmask.py -d example.com -i dnsdumppython gasmask.py -d example.com -i shodan -k xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxpython gasmask.py -d example.com -i whois,dns,revdnspython gasmask.py -d example.com -i basic,yahoo,github -o myresults/example_com_search_results

censys.io使用样例

python gasmask.py -i censys --Limit 10 nessuspython gasmask.py -i censys -I SAP --report location.country.raw --report_bucket 10python gasmask.py -i censys --html-title "Hacked By" --Limit 10 --htmlpython gasmask.py -i censys --tags heartbleed --report location.country.rawpython gasmask.py -i censys -S NGINX --countpython gasmask.py -i censys -d example.compython 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

6

许可证协议

本项目的开发与发布遵循GPL-3.0开源许可证协议。

7

项目地址

GasMask:

https://github.com/twelvesec/gasmask


点击左下角“阅读原文”进入连天安全导航站


长风实验室发布、转载的文章中所涉及的技术、思路和工具,仅供以网络安全为目的的学习交流使用,不得用作它途。部分文章来源于网络,如有侵权请联系删除。

END

 推荐 

 阅读 

红队武器库 | GasMasK:一款功能强大的开源网络情报工具
红队武器库 | GasMasK:一款功能强大的开源网络情报工具


红队武器库 | GasMasK:一款功能强大的开源网络情报工具

长按扫码关注

获取更多精彩内容

原文始发于微信公众号(长风实验室):红队武器库 | GasMasK:一款功能强大的开源网络情报工具

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年2月22日02:18:12
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   红队武器库 | GasMasK:一款功能强大的开源网络情报工具http://cn-sec.com/archives/1563497.html

发表评论

匿名网友 填写信息