# SubScraper

> Python subdomain enumeration tool with passive source modules, DNS brute force, HTTP probing and CNAME takeover checks.

Source: https://osinttools.io/tools/subscraper/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Domain
- **Category:** Infrastructure and domains
- **Pricing:** Open source (Free and open source (GPL-3.0).)
- **Footprint:** depends on the modules you run
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI · Docker
- **Website:** https://github.com/m8sec/subscraper
- **GitHub:** m8sec/subscraper, 980 stars · Python · GPL-3.0 · last commit 2024-06-19 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

SubScraper finds subdomains through modules for sources such as crt.sh, CertSpotter, AlienVault OTX, archive.org, VirusTotal, Shodan and Censys, plus DNS brute force. It can resolve results, probe for HTTP services and run CNAME lookups to spot takeover candidates.

Penetration testers and bug bounty hunters use it to map an organization's subdomains. It takes targets from arguments, files or stdin and writes TXT or CSV reports.

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.

## Features

- Passive source modules
- DNS brute force with custom wordlists
- IP resolution and HTTP probing
- CNAME checks for takeover
- TXT and CSV output
- API key config file

## Pros

- Module-only mode stays passive
- Works on Windows, Linux and macOS
- Easy to add new modules

## Cons

- Several modules need API keys
- Brute force and HTTP probing contact the target; use them only where authorized

## When to use it

- Use it when you need a subdomain list with resolution and HTTP status in one run.
- Use it when checking a domain's subdomains for takeover risk.

## Quick start

Terminal · Python 3:

```
git clone https://github.com/m8sec/subscraper
cd subscraper
pip3 install -r requirements.txt
python3 subscraper.py -d example.com -resolve -http -module-only
```

## Alternatives

- [DNSDumpster](https://osinttools.io/tools/dnsdumpster/): Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map. (Freemium · Domain · passive)
- [Fast Google Dorks Scan](https://osinttools.io/tools/fast-google-dorks-scan/): Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths. (Open source · Domain · passive · 1,744 GitHub stars)
- [Findomain](https://osinttools.io/tools/findomain/): Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts. (Open source · Domain · depends · 3,838 GitHub stars)
- [OWASP Amass](https://osinttools.io/tools/amass/): OWASP command-line tool for subdomain enumeration and attack surface mapping using passive sources and DNS. (Open source · Domain · depends · 15,554 GitHub stars)
- [OneForAll](https://osinttools.io/tools/oneforall/): Python subdomain collector that combines certificate logs, DNS datasets, search engines, brute force and takeover checks. (Open source · Domain · depends · 10,160 GitHub stars)
- [ParamSpider](https://osinttools.io/tools/paramspider/): Fetches a domain's archived URLs from the Wayback Machine and filters them down to ones with parameters. (Open source · Domain · passive · 3,214 GitHub stars)

All alternatives to SubScraper in one table: https://osinttools.io/tools/subscraper/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
