Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
gasmask — 信息收集工具 - OSINT | Kitploit
工具/GitHubGitHub/twelvesec/gasmask
OSINT (开源情报)侦察漏洞分析信息收集子域名枚举电子邮件收集DNS 分析
GitHubtwelvesec/gasmask

gasmask

信息收集工具 - OSINT

查看仓库
1.5k180165年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

gasmask

一体化信息收集工具 - OSINT

如需查看我们的全部工具,请访问我们的网站 https://www.twelvesec.com/

编写者:

  • maldevel (twitter)
  • mikismaos
  • xvass
  • ndamoulianos
  • sbrb

依赖项

  • Python 3.x
  • validators
  • python-whois
  • dnspython
  • requests
  • shodan
  • censys
  • mmap
  • pprint

信息收集

  • 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

依赖项

root@kitploit:~
sudo pip3 install -r requirements.txt

用法

root@kitploit:~

___________              .__                _________              
\__    ___/_  _  __ ____ |  |___  __ ____  /   _____/ ____   ____  
  |    |  \ \/ \/ // __ \|  |\  \/ // __ \ \_____  \_/ __ \_/ ___\ 
  |    |   \     /\  ___/|  |_\   /\  ___/ /        \  ___/\  \___ 
  |____|    \/\_/  \___  >____/\_/  \___  >_______  /\___  >\___  >
                       \/               \/        \/     \/     \/ 

GasMasK v. 2.0 - 一体化信息收集工具 - OSINT
GasMasK 是一个基于 GPLv3 协议的开源工具。
编写者:@maldevel, mikismaos, xvass, ndamoulianos, sbrb
https://www.twelvesec.com/
更多信息请访问 https://github.com/twelvesec/gasmask

用法: gasmask.py [-h] [-d DOMAIN] [-s NAMESERVER] [-x PROXY] [-l LIMIT]
                  [-i MODE] [-o BASENAME] [-k API-KEY] [-e SPYSE_API_KEY]
                  [-m MATCH] [-f FILTER] [--count] [-R REPORT]
                  [-B REPORT_BUCKET] [-1 CENSYS_API_ID] [-2 CENSYS_API_SECRET]
                  [-r] [-u] [-a ASN] [-c COUNTRY] [-O CERT_ORG]
                  [-I CERT_ISSUER] [-z CERT_HOST] [-S HTTP_SERVER]
                  [-t HTML_TITLE] [-b HTML_BODY] [-T TAGS] [-L LIMIT] [-D]
                  [-v] [-H]
                  [arguments [arguments ...]]

位置参数:
  arguments             Censys 查询

可选参数:
  -h, --help            显示此帮助消息并退出
  -d DOMAIN, --domain DOMAIN
                        要搜索的域名。
  -s NAMESERVER, --server NAMESERVER
                        要使用的 DNS 服务器。
  -x PROXY, --proxy PROXY
                        从搜索引擎获取结果时使用代理服务器(例如 '-x http://127.0.0.1:8080')
  -l LIMIT, --limit LIMIT
                        限制搜索引擎结果数量(默认:100)。
  -i MODE, --info MODE  限制信息收集类型(basic,nongoogle,whois,dns,revdns,vhosts,google,bing,yahoo,ask,dogpile,yandex,linkedin,twitter,youtube,reddit,github,instagram,crt,pgp,netcraft,virustotal,dnsdump,shodan,censys,spyse)。
  -o BASENAME, --output BASENAME
                        同时输出四种主要格式(markdown、txt、xml 和 html)。
  -k API-KEY, --shodan-key API-KEY
                        用于 Shodan 搜索的 API 密钥(MODE="shodan")
  -e SPYSE_API_KEY, --spyse-key SPYSE_API_KEY
  -m MATCH, --match MATCH
                        在现有查询结果中高亮显示一个字符串
  -f FILTER, --filter FILTER
                        过滤每个结果要显示的 JSON 键,使用值 'help' 查看感兴趣的字段
  --count               打印计数结果并退出
  -R REPORT, --report REPORT
                        对给定字段进行统计(使用值 'help' 列出感兴趣的字段)'
  -B REPORT_BUCKET, --report_bucket REPORT_BUCKET
                        报告模式中的桶长度(默认:10)
  -1 CENSYS_API_ID, --censys_api_id CENSYS_API_ID
                        为 censys.io 搜索引擎提供认证 ID
  -2 CENSYS_API_SECRET, --censys_api_secret CENSYS_API_SECRET
                        为 censys.io 搜索引擎提供秘密哈希值
  -r, --read_api_keys   读取存储在 api_keys.txt 文件中的 API 密钥。(例如 '-i censys -r')
  -u, --update_api_keys
                        更新存储在 api_keys.txt 文件中的 API 密钥。(例如 '-i censys -u')
  -a ASN, --asn ASN     使用 ASN 过滤(例如 5408 对应 GR-NET AS)
  -c COUNTRY, --country COUNTRY
                        使用国家过滤
  -O CERT_ORG, --cert-org CERT_ORG
                        证书颁发给的组织
  -I CERT_ISSUER, --cert-issuer CERT_ISSUER
                        证书由哪个组织颁发
  -z CERT_HOST, --cert-host CERT_HOST
                        证书颁发给的主机名
  -S HTTP_SERVER, --http-server HTTP_SERVER
                        Server 头部
  -t HTML_TITLE, --html-title HTML_TITLE
                        按 HTML 页面标题过滤
  -b HTML_BODY, --html-body HTML_BODY
                        按 HTML 正文内容过滤
  -T TAGS, --tags TAGS  按特定标签过滤。例如:-T tag1,tag2,...(使用关键字 'list' 列出常用标签)
  -L LIMIT, --Limit LIMIT
                        限制为 N 条结果
  -D, --debug           调试信息
  -v, --verbose         打印原始 JSON 记录
  -H, --html            在浏览器中渲染 HTML 元素


模式

  • 基本模式

    • Whois 查询
    • DNS 查询
    • 反向 DNS 查询
    • Bing 虚拟主机
  • 非 Google 模式

    • Whois 查询
    • DNS 查询
    • 反向 DNS 查询
    • Bing 虚拟主机
    • 在 Bing 中搜索
    • 在 Yahoo 中搜索
    • 在 ASK 中搜索
    • 在 Dogpile 中搜索
    • 在 Yandex 中搜索
    • 在 Crt 中搜索
    • 在 DNSdumpster 中搜索
    • 在 Netcraft 中搜索
    • 在 VirusTotal 中搜索
    • 在 Spyse 中搜索

使用示例

root@kitploit:~
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 使用示例

root@kitploit:~
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

root@kitploit:~
python gasmask.py -i censys -r

更新 API 密钥使用示例 - 如 censys.io

root@kitploit:~
python gasmask.py -i censys -u


致谢

  • EmailHarvester
  • theHarvester
  • Sublist3r
  • gelim
下载工具