Run Subfinder
run_subfinderDiscovers subdomains for target domains via passive online sources, and optionally verifies them through DNS resolution while saving clean or structured output.
Instructions
Subfinder is a subdomain discovery tool that queries passive online sources. Tags: subdomain, enumeration, reconnaissance, passive, osint, security, pentest
Usage Guide:
Basic Enumeration: Provide a
domainto perform passive discovery. This queries online sources without direct target traffic.Multiple Domains: Use
fileto scan a list of domains (one per line).Active Verification: Use
activeto resolve discovered subdomains orinclude_ipsto see IP addresses.Source Management: Use
list_sourcesto see available providers,all_sourcesfor thoroughness, orsources/exclude_sourcesto curate providers.Output: Use
silentfor clean piping,json_formatfor structured data, oroutput_fileto save results.Performance: Adjust
limitto control request rates andresolversfor faster DNS resolution during active checks.Advanced: Enable
recursiveto find sub-subdomains on supported sources.System: Use
updateto download the latest version of the tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_subfinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a file containing a list of domains to scan. | domains.txt |
| limit | No | Max HTTP requests per second to send to sources. | |
| active | No | Verify subdomains by resolving them (active DNS traffic). | |
| domain | No | Target domain for discovery (e.g., example.com). | |
| silent | No | Print only subdomains (no banner or metadata). | |
| update | No | Update subfinder binary to the latest version. | |
| sources | No | Comma-separated list of specific sources to use. | crtsh,github,censys |
| recursive | No | Enable recursive subdomain discovery. | |
| resolvers | No | Comma-separated list of DNS resolvers or a path to a resolver file. | 8.8.8.8,1.1.1.1 |
| all_sources | No | Use all available sources (slower but more thorough). | |
| include_ips | No | Include IP addresses in output (enables active resolution). | |
| json_format | No | Output results in JSON Lines format with metadata. | |
| output_file | No | Path to save the discovery results. | |
| list_sources | No | List all available passive sources and exit. | |
| exclude_sources | No | Comma-separated list of sources to skip. | google,bing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |