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
-srv, -ptr and -follow-records run only from the CLI (not TUI, MCP or library) #476
The v0.12 discovery passes -srv, -ptr and -follow-records are orchestrated inside internal/cli. The library has FollowRecords but no SRV or PTR option, the TUI has no fields for any of the three (it warns they are ignored), and MCP offers none of them.
Where
internal/cli/session.go:825-830 (SRV names), internal/cli/session.go:914 and internal/cli/ptr.go:192 (runPTRPass)
pkg/subenum/subenum.go:50, :115 (Config: FollowRecords, no SRV/PTR)
Also: -hosts is refused with -tui (internal/cli/cli.go:374)
Impact
TUI, MCP and library users get fewer names than CLI users on the same target. Missed SRV, HTTPS and CNAME targets also mean missed dangling-target takeover hints, which are the highest-value findings these passes produce. This kind of drift has been filed repeatedly (#405, #418).
Suggested fix
Move the SRV name list and the PTR pass behind library options (Config.ServiceNames, Config.PTR) so the CLI, TUI and MCP all call one implementation.
Add three toggle rows to the TUI field spec.
Add follow_records, srv and ptr to MCP remediationProps (all stay within max_queries).
Extend the parity tests (TestMCPInputSchemasMatchArgs, the TUI flags wiring test).
Filed by repo-audit/full-audit at a45b999. Severity: medium. Effort: M. audit-key: enhancement|internal/cli/session.go|srv/ptr passes
Activity