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
Record which source (wordlist, ct, wayback, axfr, permute) found each name #273
Results don't say where a name came from. The only provenance field is Permutation bool, and the summary counts names proposed per source, not how many resolved.
Partly done in 826e908; leaving this open for the rest.
Done (command line): JSON and JSONL results carry a sources list naming every source that proposed the name (wordlist, ct, wayback, axfr), or permute alone for a -permute hit. CSV has a new last column, sources, joined with ;. The run report gains found per passive source and axfr_found per target, counted even when another source also had the name. A resumed run recomputes sources from the saved source names. Text output is unchanged.
Decisions on the open questions: several sources are a list; a name found by -recursive below another found name is labelled wordlist; there is no separate found count for the wordlist.
Not done: results written by the TUI, subenum mcp reports and pkg/subenum results do not carry sources yet.
Verified by extended tests (TestCandidates, TestE2EPassiveSources, TestE2EPermute, TestE2EZoneTransfer), which check the JSONL field, the CSV header and column, and the per-source counts. go test ./... and golangci-lint run pass.
Note for CSV consumers that read by position from the end of the row: sources is now the last column.
The rest is done in 7d64244. pkg/subenum's Result.Sources names what proposed each result, built with the same candidate set the CLI and TUI use (internal/candidates, 32bde28): wordlist, and each Config.Sources entry that returned it, named by a Name() method when it has one (ct, wayback, and now axfr for ZoneTransfer) or as Sources[i]. The TUI already writes sources to its output file when Sources or Permute is on. The subenum mcp server has no passive sources, so every result there would be wordlist; its report is left without the field. Verified: TestSources (named, unnamed and repeated names) and TestZoneTransferSource (the axfr label); go test -race ./... and golangci-lint v2.15.0 pass.
Activity
Record which source proposed each name found (#273)
TMHSDigital commentedon Nov 15, 2026
Partly done in 826e908; leaving this open for the rest.
Done (command line): JSON and JSONL results carry a
sourceslist naming every source that proposed the name (wordlist,ct,wayback,axfr), orpermutealone for a-permutehit. CSV has a new last column,sources, joined with;. The run report gainsfoundper passive source andaxfr_foundper target, counted even when another source also had the name. A resumed run recomputes sources from the saved source names. Text output is unchanged.Decisions on the open questions: several sources are a list; a name found by
-recursivebelow another found name is labelledwordlist; there is no separatefoundcount for the wordlist.Not done: results written by the TUI,
subenum mcpreports andpkg/subenumresults do not carry sources yet.Verified by extended tests (
TestCandidates,TestE2EPassiveSources,TestE2EPermute,TestE2EZoneTransfer), which check the JSONL field, the CSV header and column, and the per-source counts.go test ./...andgolangci-lint runpass.Note for CSV consumers that read by position from the end of the row:
sourcesis now the last column.Share candidate and permutation code between CLI and TUI (#347)
TMHSDigital commentedon Nov 15, 2026
The rest is done in 7d64244.
pkg/subenum'sResult.Sourcesnames what proposed each result, built with the same candidate set the CLI and TUI use (internal/candidates, 32bde28):wordlist, and eachConfig.Sourcesentry that returned it, named by aName()method when it has one (ct,wayback, and nowaxfrforZoneTransfer) or asSources[i]. The TUI already writes sources to its output file when Sources or Permute is on. Thesubenum mcpserver has no passive sources, so every result there would bewordlist; its report is left without the field. Verified:TestSources(named, unnamed and repeated names) andTestZoneTransferSource(theaxfrlabel);go test -race ./...and golangci-lint v2.15.0 pass.Library: say which source proposed each result (TMHSDigital#273)