You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1cbee27
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cli): -silent pipeline mode and a Pipelines guide
-silent prints bare result names on stdout and only errors on stderr,
plus a one-line warning when results are simulated so a test run cannot
pass for a real one. docs/pipelines.md shows dnsx/httpx/nuclei chains,
verdict gating via -stats or the JSONL summary, and takeover-first triage.
Fixes#128
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
## [Unreleased]
9
9
10
10
### Added
11
+
-`-silent` for pipelines: bare result names on stdout and nothing on stderr but errors and a one-line warning when results are simulated. A new [Pipelines](docs/pipelines.md) page chains subenum with dnsx, httpx and nuclei and gates each step on the run-quality verdict (#128).
11
12
- A Go library API, `pkg/subenum`, so other programs can embed the engine: `Config` (every zero value takes the CLI's default), `Scan` for a finished run, `Run` to stream `Event` values, and `Result`, `Record` and `Stats`. The DNS internals stay unexported, engine messages name `Config` fields instead of CLI flags, and `Run` always ends with one terminal event carrying the final `Stats`. Runnable examples ship for pkg.go.dev (#77).
12
13
- Lab mode: `-simulate-zone <file>` answers every query from a scenario file (names, A/AAAA/CNAME records, wildcards, TIMEOUT/SERVFAIL/REFUSED/NXDOMAIN failures, `$DELAY` and `$REFUSE-ABOVE` rate limiting) through a DNS server on `127.0.0.1`. The real resolver, wildcard detection, `-rate`, takeover hints and the run-quality report run unchanged, deterministically and without traffic leaving the machine. A new [Labs](docs/labs.md) page has five guided exercises with answers, and the scenarios ship in `examples/labs/`. The run-quality report gains a `zone` field (#76).
13
14
- Contributor experience: a devcontainer (Go 1.26 plus the CI golangci-lint) with an "Open in Codespaces" badge, YAML issue forms with blank issues disabled and contact links to private vulnerability reporting and Discussions, `FUNDING.yml` and `CITATION.cff` (#75).
|`-progress`|`true`| Live progress line on stderr. Off by default when stderr is not a terminal; passing `-progress` there prints whole progress lines instead of redrawing one |
278
+
|`-silent`|`false`| Pipeline mode: bare result names on stdout, only errors (and a one-line simulation warning) on stderr. See [Pipelines](https://tmhsdigital.github.io/subenum/pipelines.html)|
278
279
|`-simulate`|`false`| Simulation mode: no real DNS queries |
279
280
|`-hit-rate <n>`|`15`| Simulated resolution rate, percent (1-100), applied uniformly to every name |
280
281
|`-seed <n>`|`0`| Simulation seed; the same seed reproduces the same results (line order can vary unless `-t 1`). `0` picks a random seed and prints it |
|`-show-records`| - | In text format, append each result's records (TYPE=value) |
29
+
|`-silent`| - | Pipeline mode: bare result names on stdout, and only errors (and a simulation warning) on stderr |
29
30
|`-simulate`| - | Run in simulation mode without actual DNS queries (for testing) |
30
31
|`-simulate-zone <string>`| - | Lab mode: answer every query from this scenario file via a local DNS server, so no traffic leaves the machine (see the Labs page) |
31
32
|`-state <string>`| subenum-resume.json | Where an interrupted run saves its state for -resume |
0 commit comments