Skip to content

TUI cannot set -max-queries or -no-abort, so large recursive scans need Force, which also disables the wildcard abort #35

Closed

Description

@TMHSDigital

Why it matters

The TUI can't reach two v0.7.0 safety controls, -no-abort and -max-queries. In particular, a recursive TUI scan that exceeds the 1e7-job ceiling can only be unblocked by ticking Force. Force also disables the wildcard-DNS abort. So the only way to run a large but deliberate recursive scan from the TUI is to also accept meaningless wildcard results, which is the opposite of what the ceiling is for.

Evidence

  • internal/tui/model.go:139-153: scan.Config is built without NoAbort or MaxQueries.
  • internal/scan/runner.go:213-219: the ceiling is bypassed by MaxQueries > 0 || Force.
  • internal/tui/config.go:10-26: savedConfig has no fields for them.
  • ROADMAP P2-P5 brought the other flags to TUI parity. These two were added later in the same release and missed.

Suggested approach

Add a Max queries numeric field and a No abort toggle to the form, persist both in last.json, and validate them with the same rules as validateFlags.

Done when

  • A TUI recursive scan above the ceiling can be started by setting Max queries, without enabling Force.
  • Both values round-trip through last.json, with tests in config_test.go and form_test.go.

Activity

  1. added
    enhancement
    priority: medium
    area: tui
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: tuienhancementpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions