GasMasK
Python tool that gathers domain information from search engines, DNS, WHOIS, certificates, Shodan and Censys.
Python CLI · Open source · Infrastructure and domains · github.com
- Takes
- Domain
- Pricing
- Open source
- Footprint
- Depends on configuration
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 23, 2026
Python tool that gathers domain information from search engines, DNS, WHOIS, certificates, Shodan and Censys. It takes domain. Read the cons before you build a workflow on it.
What it does
GasMasK collects information about a domain from many sources in one run: search engines such as Google, Bing and Yandex, DNS and reverse DNS, WHOIS, crt.sh, PGP key servers, Netcraft, VirusTotal, DNSdumpster, and Shodan and Censys with API keys.
Penetration testers use it at the start of an engagement to gather subdomains, emails, hosts and virtual hosts, and export the results as Markdown, text, XML and HTML.
Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.
- +Many sources in a single command
- +Mode flag to limit which sources run
- +Proxy support for search engine queries
- −It has had no code changes since June 2021 and may no longer work; several sources it lists have closed or changed.
- −DNS and virtual host checks contact the target's infrastructure
- −Search engine scraping is often blocked
When to use it
- 01Use it when you want a broad first pass on an authorised target domain.
- 02Use it when you need combined search engine and DNS results in one report.
Next steps from this result
Suggested from the inputs GasMasK takes- Found a resultConfirm it with a second, independent source before you record it
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
sudo pip3 install -r requirements.txt python3 gasmask.py -d example.com -i basic
Technical details
Listing verified by an editor on Nov 23, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Depends on configuration
- Pricing
- Open source · Free and open source (GPL-3.0).
- Platforms
- Python CLI
- Repository
- twelvesec/gasmask 1,520 stars
- Language
- Python
- Licence
- GPL-3.0
- Last commit
- May 2021 (dormant)
- Listed
- Nov 23
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used GasMasK? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to GasMasK
Listed tools that take the same inputs, closest match first.
- DNSDumpsterFreemium · Passive · APIWhat it does
Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map.
DomainNo ratings yetVerified 2d ago - Fast Google Dorks ScanOpen source · PassiveWhat it does
Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths.
DomainNo ratings yetVerified 2d ago - FindomainOpen source · DependsWhat it does
Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts.
DomainNo ratings yetVerified 2d ago
