# Subfinder: find subdomains through a data provider Find subdomains through a data provider. ## 1. Run the example [Download the Subfinder example](https://www.security.run/docs/examples/subfinder.zip). Extract it, install `httpx`, set your API URL and token, then run `python client.py`. The client uploads the included inputs, submits the command, and saves the result under `results/RUN_ID`. ## 2. Check the result Read domains.jsonl for names returned by the isolated provider simulator. Read the native exit code and cleanup status printed by the client. [Read results and save reports](https://www.security.run/docs/visibility.html) explains the returned files. ## 3. Use your own inputs Edit `example.json` to change the command arguments, requested outputs or deadline. Replace the files under `inputs/` with your own data, keeping the staged paths aligned with the command. The client creates the artifact IDs for you; illustrative IDs shown here must not be copied into a live request. ### Files used by this example - `provider-ca.crt` This example selects the isolated `crtsh-fixture` target. To use a reachable target of your own, change the target arguments or driver and remove `target_profile`. See [Run a check against a target](https://www.security.run/docs/targets.html) for network setup. Qualified version: `2.17.0`. Commands: `subfinder`. - Passive enumeration needs reachable data providers, optionally with provider API credentials. A caller-supplied proxy can be used within the selected target namespace. Inspect `GET /v1/tools/subfinder` for the current installed version and readiness. The published snapshot has 1 functional case(s), plus timeout and cancellation checks. These examples demonstrate the native path; other flags and inputs are supported within the tool’s runtime limits. ## Command submitted by the example ```json { "tool": "subfinder", "timeout_seconds": 90, "invocation": { "args": [ "-d", "fixture.securityrun.test", "-sources", "crtsh", "-proxy", "http://127.0.0.1:8080", "-json", "-silent", "-duc", "-timeout", "5", "-o", "domains.jsonl" ], "outputs": [ "domains.jsonl" ], "success_exit_codes": [ 0 ], "environment": { "SSL_CERT_FILE": "/tmp/work/provider-ca.crt" }, "executable": "subfinder", "files": [ { "path": "provider-ca.crt", "artifact_id": "artifact_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "executable": false } ] }, "target_profile": "crtsh-fixture" } ```