|
14 | 14 | | `-dry-run` | - | Print the plan without scanning: candidates after dedupe and -exclude, query and duration estimates, and the resolver preflight (its only DNS query, also sent to each -r pool resolver); then exit | |
15 | 15 | | `-exclude <string>` | - | Comma-separated out-of-scope names and \*.parent patterns; never queried or expanded | |
16 | 16 | | `-exclude-file <string>` | - | File of out-of-scope names and \*.parent patterns, one per line (# comments allowed) | |
17 | | -| `-follow-records` {% include unreleased.html flag="follow-records" %} | - | Also test the names under the target that found names' CNAME, MX, NS and HTTPS records point at, once each, unless they are already candidates; they count against -max-queries | |
| 17 | +| `-follow-records` | - | Also test the names under the target that found names' CNAME, MX, NS and HTTPS records point at, once each, unless they are already candidates; they count against -max-queries | |
18 | 18 | | `-force` | - | Continue scanning even if wildcard DNS is detected | |
19 | 19 | | `-format <string>` | text | Output format: text, json, jsonl, or csv | |
20 | 20 | | `-hit-rate <int>` | 15 | In simulation mode, percentage of names that resolve (1-100) | |
21 | | -| `-hosts <file>` {% include unreleased.html flag="hosts" %} | - | A file of full host names to resolve instead of a wordlist, one per line (- for stdin); each target looks up only the names under it, names under no target are skipped | |
| 21 | +| `-hosts <file>` | - | A file of full host names to resolve instead of a wordlist, one per line (- for stdin); each target looks up only the names under it, names under no target are skipped | |
22 | 22 | | `-inconclusive <string>` | - | Write the names still without an answer (timeout, refused, other) to this file, one per line, to rescan with -w | |
23 | 23 | | `-log-format <string>` | text | Diagnostics format on stderr: text, or json for one JSON object per line (level, kind, target, message); results on stdout are unchanged | |
24 | 24 | | `-max-duration <duration>` | 0s | Time budget for the whole run, e.g. 20m (0 = unlimited); then no new names are tested, lookups in flight finish, and the run ends with its report, a degraded verdict and saved state for -resume to continue from | |
25 | 25 | | `-max-queries <int>` | - | Max candidate names to test (0 = unlimited); each name sends one query per record type, per attempt | |
26 | 26 | | `-no-abort` | - | Do not abort when the resolver failure rate exceeds 20% (warning is still emitted) | |
27 | | -| `-nsec-walk` {% include unreleased.html flag="nsec-walk" %} | - | When the target's zone is signed with plain DNSSEC NSEC, list it by walking the NSEC chain at its name server first, and add the names as candidates and -permute seeds; one query per name, paced by -rate and bounded by -max-queries, -max-duration and -exclude | |
| 27 | +| `-nsec-walk` | - | When the target's zone is signed with plain DNSSEC NSEC, list it by walking the NSEC chain at its name server first, and add the names as candidates and -permute seeds; one query per name, paced by -rate and bounded by -max-queries, -max-duration and -exclude | |
28 | 28 | | `-o <file>` | - | Write results to file (in addition to stdout); repeat for several files, each in -format or in the format named as a prefix, format:path (jsonl:results.jsonl) | |
29 | 29 | | `-permute` | - | After each scan, scan permutations of the names found (api -> api-dev, dev-api, dev.api, api2, ...) | |
30 | | -| `-permute-only` {% include unreleased.html flag="permute-only" %} | - | Skip the wordlist scan and run only the -permute pass over the -seeds names; needs -seeds, and cannot be used with -w, -hosts, -recursive, -recursive-w or the flags that add candidates (-ct, -sources, -axfr, -nsec-walk, -srv, -follow-records) | |
31 | | -| `-permute-w <file>` {% include unreleased.html flag="permute-w" %} | - | Path to a file (- for stdin) of the words -permute combines with each seed name, one per line, instead of the built-in list; repeat to combine several | |
| 30 | +| `-permute-only` | - | Skip the wordlist scan and run only the -permute pass over the -seeds names; needs -seeds, and cannot be used with -w, -hosts, -recursive, -recursive-w or the flags that add candidates (-ct, -sources, -axfr, -nsec-walk, -srv, -follow-records) | |
| 31 | +| `-permute-w <file>` | - | Path to a file (- for stdin) of the words -permute combines with each seed name, one per line, instead of the built-in list; repeat to combine several | |
32 | 32 | | `-print-config` | - | Print every setting's effective value and its source (flag, env, config or default), then exit | |
33 | 33 | | `-progress` | true | Show progress during scanning | |
34 | | -| `-ptr` {% include unreleased.html flag="ptr" %} | - | After each scan, look up the PTR records of the public addresses found, and test the names under the target they give, unless already found; the PTR queries are paced by -rate and bounded by -max-queries, -max-duration and -exclude, which also takes reverse zones such as \*.2.0.192.in-addr.arpa | |
| 34 | +| `-ptr` | - | After each scan, look up the PTR records of the public addresses found, and test the names under the target they give, unless already found; the PTR queries are paced by -rate and bounded by -max-queries, -max-duration and -exclude, which also takes reverse zones such as \*.2.0.192.in-addr.arpa | |
35 | 35 | | `-r <string>` | - | File of resolvers (ip[:port], tls://host[:port] or https://host/path, one per line) to spread queries over; every hit is re-validated against -dns-server | |
36 | 36 | | `-rate <int>` | - | Max DNS queries per second on the wire, all workers combined; counts every record type, retry and wildcard probe (0 = unlimited) | |
37 | 37 | | `-rate-per-resolver <int>` | - | With -r, max DNS queries per second sent to each pool resolver; -rate still caps the total (0 = unlimited) | |
38 | 38 | | `-recursive` | - | Recursively enumerate subdomains of discovered subdomains | |
39 | | -| `-recursive-w <file>` {% include unreleased.html flag="recursive-w" %} | - | Path to a wordlist file (- for stdin) of the labels -recursive tries under each name it finds, at depth 2 and below; repeat to combine several; omitted: the -w list | |
| 39 | +| `-recursive-w <file>` | - | Path to a wordlist file (- for stdin) of the labels -recursive tries under each name it finds, at depth 2 and below; repeat to combine several; omitted: the -w list | |
40 | 40 | | `-resume <string>` | - | Resume a run that was interrupted, ran out of -max-duration or was aborted, from its state file (no other arguments but the pacing flags -rate, -rate-per-resolver, -t, -timeout, -attempts, -auto-rate, -no-abort and -max-duration) | |
41 | 41 | | `-retries <int>` | - | Deprecated: use -attempts instead | |
42 | 42 | | `-retry-inconclusive` | - | After each scan, look up once more (against -dns-server) every name that timed out, was refused or failed; names it resolves are reported, but not expanded by -recursive | |
|
46 | 46 | | `-show-records` | - | In text format, append each result's records (TYPE=value) | |
47 | 47 | | `-silent` | - | Pipeline mode: bare result names on stdout, and only errors (and a simulation warning) on stderr | |
48 | 48 | | `-simulate` | - | Run in simulation mode without actual DNS queries (for testing) | |
49 | | -| `-simulate-zone <string>` | - | Lab mode: answer every query from this scenario file, or a built-in scenario such as lab1 (lab1-lab6, lab7, lab8, lab9), via a local DNS server, so no traffic leaves the machine (see the Labs page) lab7, lab8, lab9: {% include unreleased.html value="simulate-zone=lab7" %} | |
50 | | -| `-sources <string>` | - | Comma-separated keyless passive sources whose names become candidates and -permute seeds: ct (Certificate Transparency, crt.sh), wayback (Wayback Machine), certspotter (Certificate Transparency, SSLMate Cert Spotter; up to 10 pages, set CERTSPOTTER\_API\_KEY for a higher quota); one HTTPS request per source and target certspotter: {% include unreleased.html value="sources=certspotter" %} | |
51 | | -| `-srv` {% include unreleased.html flag="srv" %} | - | Also look up a built-in list of about 50 service names (\_sip.\_tcp, \_autodiscover.\_tcp, \_ldap.\_tcp, ...) under each target; needs SRV in -type | |
| 49 | +| `-simulate-zone <string>` | - | Lab mode: answer every query from this scenario file, or a built-in scenario such as lab1 (lab1-lab6, lab7, lab8, lab9), via a local DNS server, so no traffic leaves the machine (see the Labs page) | |
| 50 | +| `-sources <string>` | - | Comma-separated keyless passive sources whose names become candidates and -permute seeds: ct (Certificate Transparency, crt.sh), wayback (Wayback Machine), certspotter (Certificate Transparency, SSLMate Cert Spotter; up to 10 pages, set CERTSPOTTER\_API\_KEY for a higher quota); one HTTPS request per source and target | |
| 51 | +| `-srv` | - | Also look up a built-in list of about 50 service names (\_sip.\_tcp, \_autodiscover.\_tcp, \_ldap.\_tcp, ...) under each target; needs SRV in -type | |
52 | 52 | | `-state <string>` | subenum-resume.json | Where a run that was interrupted, ran out of -max-duration or was aborted saves its state for -resume | |
53 | 53 | | `-stats <string>` | - | Write a JSON run-quality report (outcomes, queries sent, verdict) to this file | |
54 | 54 | | `-t <int>` | 100 | Number of concurrent workers | |
55 | 55 | | `-takeover-providers <string>` | - | File of takeover-prone services, one "<suffix> <name>" per line (.example-cdn.net example-cdn; # comments allowed; name - removes a suffix), added to the built-in list for takeover hints | |
56 | 56 | | `-takeover-providers-only` | - | Use only the -takeover-providers file, not the built-in provider list | |
57 | 57 | | `-timeout <int>` | 1000 | DNS lookup timeout in milliseconds | |
58 | 58 | | `-tui` | - | Launch the interactive terminal UI, its form pre-filled from the other flags and the domain argument | |
59 | | -| `-type <string>` | A,AAAA | Comma-separated DNS record types to look up: A, AAAA, CNAME, NS, MX, TXT, SRV, HTTPS (CNAME, NS, SRV and HTTPS aliases also check for takeovers; with NS, a name that fails with SERVFAIL is asked of the zone's own name servers for its delegation) SRV, HTTPS: {% include unreleased.html value="type=SRV" %} | |
| 59 | +| `-type <string>` | A,AAAA | Comma-separated DNS record types to look up: A, AAAA, CNAME, NS, MX, TXT, SRV, HTTPS (CNAME, NS, SRV and HTTPS aliases also check for takeovers; with NS, a name that fails with SERVFAIL is asked of the zone's own name servers for its delegation) | |
60 | 60 | | `-v` | - | Enable verbose output | |
61 | 61 | | `-version` | - | Show version information | |
62 | 62 | | `-w <file>` | - | Path to a wordlist file (- for stdin); repeat to combine several, deduplicated; omitted: the bundled top-5000 list | |
0 commit comments