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
TUI form lacks sources, max duration, auto rate, retry inconclusive, permute #274
The TUI form has no fields for options added since v0.9: passive sources / CT, max duration, auto rate, retry inconclusive and permute. Earlier work (#80, #195) aimed to keep the CLI and TUI in step.
internal/tui/form.go:486-506 (options): it doesn't set AutoRate, RetryInconclusive or Deadline
Proposal
Add the missing fields through the existing formFields table (one entry per field), and map them in options(). Sources and permute run around the scan rather than inside the engine, so wire them into the TUI scan start alongside the pool.
Who benefits
TUI users, who currently have to switch to the CLI for these features.
Partly done in 83fa92b: the form now has Auto Rate, Max Duration (a Go duration such as 20m, blank for none) and Retry Inconclusive, mapped in options(). beginScan sets the deadline when the scan starts. The fields are seeded from flags, SUBENUM_* and the config file, and saved for the next session.
Verified with the new TestAutoRateDurationRetryFields (mapping, bad and negative durations, save and reload), the updated form-row and tab-order tests, the #262 drift guard (these three are off the TUI's unmapped list), and the full go test ./... plus golangci-lint.
Still open: passive sources (-sources/-ct) and -permute. Both run around the scan, not inside the engine. Sources need an HTTPS fetch before the scan and permute needs a second scan pass after it, so the TUI needs new stages and screen states for them rather than a form row each.
Fixed in 04ffe4a. Auto Rate, Max Duration and Retry Inconclusive were already added in 83fa92b; this adds the remaining two.
Sources (text, after Wordlist): parsed like -sources. The sources are asked while the wordlist loads and their names are merged after its entries. A failed or truncated source is a warning on the scan screen. They are not asked with Simulate on.
Permute (toggle, after Depth): when the main pass finishes, a permutation pass runs on the same screen. It is skipped after ctrl+c or a reliability abort, as on the command line. The finished screen sums both passes and shows the worse verdict.
Both fields are pre-filled from flags, SUBENUM_* and the config file, and saved with the last settings. With either set, the results file carries sources per result and permutation on permutation hits, and the summary has the matching entries. The short-terminal form from #287 still fits with the two extra rows.
Verified with five new tests in internal/tui/passes_test.go, including an end-to-end scan against the in-process DNS server with local stand-ins for the two sources. go test ./... and golangci-lint run pass.
Left as is: subenum -tui -ct still warns instead of pre-filling Sources with ct, and -axfr and -seeds remain command-line only. The source-merge and permutation logic in the TUI is a compact copy of the CLI's rather than shared code.
Activity
Share scan option checks, pool building and defaults (#262)
TUI: add Auto Rate, Max Duration and Retry Inconclusive fields (#274)
TMHSDigital commentedon Nov 14, 2026
Partly done in 83fa92b: the form now has Auto Rate, Max Duration (a Go duration such as
20m, blank for none) and Retry Inconclusive, mapped inoptions().beginScansets the deadline when the scan starts. The fields are seeded from flags, SUBENUM_* and the config file, and saved for the next session.Verified with the new
TestAutoRateDurationRetryFields(mapping, bad and negative durations, save and reload), the updated form-row and tab-order tests, the #262 drift guard (these three are off the TUI's unmapped list), and the fullgo test ./...plus golangci-lint.Still open: passive sources (
-sources/-ct) and-permute. Both run around the scan, not inside the engine. Sources need an HTTPS fetch before the scan and permute needs a second scan pass after it, so the TUI needs new stages and screen states for them rather than a form row each.TMHSDigital commentedon Nov 15, 2026
Fixed in 04ffe4a. Auto Rate, Max Duration and Retry Inconclusive were already added in 83fa92b; this adds the remaining two.
-sources. The sources are asked while the wordlist loads and their names are merged after its entries. A failed or truncated source is a warning on the scan screen. They are not asked with Simulate on.Both fields are pre-filled from flags,
SUBENUM_*and the config file, and saved with the last settings. With either set, the results file carriessourcesper result andpermutationon permutation hits, and the summary has the matching entries. The short-terminal form from #287 still fits with the two extra rows.Verified with five new tests in
internal/tui/passes_test.go, including an end-to-end scan against the in-process DNS server with local stand-ins for the two sources.go test ./...andgolangci-lint runpass.Left as is:
subenum -tui -ctstill warns instead of pre-filling Sources withct, and-axfrand-seedsremain command-line only. The source-merge and permutation logic in the TUI is a compact copy of the CLI's rather than shared code.TUI: add Sources and Permute fields (TMHSDigital#274)