OSINT tool
Install subfinder on Windows, macOS and Linux
Fast passive subdomain enumeration from dozens of public sources.
ot install subfindersubfinder finds the subdomains of a domain by asking dozens of public sources, such as certificate transparency logs and DNS datasets. It is passive, fast and useful without any API keys, which makes it the usual first step in mapping a domain.
How to install subfinder
ot install subfinderot downloads subfinder 2.17.0 as a prebuilt binary from github.com/projectdiscovery/subfinder and verifies its SHA-256 checksum before installing it. Nothing has to be compiled. A Docker image is available as well: ot install subfinder --method docker.
New to ot? It is one command to install, shown below.
How to use subfinder
Arguments after the tool's name go straight to subfinder, so its own documentation applies unchanged.
Print the subdomains, one per line.
ot run subfinder -d example.com -silentUse every source, which is slower, and save the result.
ot run subfinder -d example.com -all -o subdomains.txtPrint JSON, including the source of each name.
ot run subfinder -d example.com -oJot run subfinder --help lists every option. The project's own documentation is at github.com/projectdiscovery/subfinder.
An AI agent can run subfinder too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
Run subfinder with other tools
ot scan domain example.com runs subfinder together with theharvester and merges what they find into one table, listing each finding once.
API keys for subfinder
subfinder reads these environment variables. Store one with ot keys set NAME and ot passes it to subfinder on every run.
| Variable | Purpose |
|---|---|
| PDCP_API_KEY | ProjectDiscovery Cloud Platform key (optional) |
subfinder licence, platforms and versions
| Project | https://github.com/projectdiscovery/subfinder |
| Licence | MIT |
| Runs on | Windows, macOS and Linux |
| Takes | domain |
| Sends traffic to the target | No |
| Release binary | version 2.17.0 from github.com/projectdiscovery/subfinder, verified by SHA-256 |
| Docker image | projectdiscovery/subfinder, with --method docker |
Questions about subfinder
How do I install subfinder on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install subfinder. ot fetches a pinned version of subfinder and keeps it under ~/.ot, apart from the rest of your system.
Is subfinder free?
Yes. subfinder is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need Go or a compiler to install subfinder?
No. ot downloads the prebuilt subfinder binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.
How do I update or remove subfinder?
ot update subfinder moves it to the version pinned in ot's registry, and ot update subfinder --latest to the newest upstream release. ot remove subfinder uninstalls it.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.