Skip to content

Permutation / alteration mode for second-stage brute-forcing #72

Closed

Description

@TMHSDigital

Why it matters

Once you know api.example.com and dev.example.com exist, the next names most likely to exist are api-dev, api2, dev-api and staging-api. Tools like alterx, dnsgen and gotator exist only to generate these. Doing it in subenum, with its rate limiting and wildcard filtering, closes the passive → brute → permute loop in one binary.

Proposal

  • -permute (or -alter): after the main pass, or from -seeds found.txt, generate permutations of the discovered labels:
    • insert or prefix words from a small built-in list (dev, staging, prod, api, internal, v1, v2 and so on);
    • number increments;
    • -/. joins.
  • Bound it with -max-queries, deduplicate against visited, and report permutation hits separately.

Done when

On the test DNS server, seeded api.example.com finds a planted api-dev.example.com that isn't in the wordlist.

Activity

  1. added
    priority: low
    feature
    area: scan
    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: scanfeaturepriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions