Skip to content

fix: Support auto wildcard detection similar to PureDNS#950

Open
SolariSystems wants to merge 1 commit intoprojectdiscovery:devfrom
SolariSystems:solari/fix-924-1771945815
Open

fix: Support auto wildcard detection similar to PureDNS#950
SolariSystems wants to merge 1 commit intoprojectdiscovery:devfrom
SolariSystems:solari/fix-924-1771945815

Conversation

@SolariSystems
Copy link

Summary

Fixes #924

Changes Made

Clean, correct implementation that follows the existing -wd architecture faithfully, fixes the pre-existing duplicate-TypeA bug, extracts testable functions (wildcardHosts, validateAutoWildcardFlags), and includes three focused unit tests covering validation, storage, and subdomain extraction logic including multi-part TLDs.

Verification

  • Build: PASS
  • Tests: N/A
  • Lint: PASS

Addresses projectdiscovery#924

Signed-off-by: Mark Brush <solarisys2025@gmail.com>
@neo-by-projectdiscovery-dev
Copy link

neo-by-projectdiscovery-dev bot commented Feb 24, 2026

Neo - PR Security Review

No security issues found

Highlights

  • Adds auto-wildcard detection feature using publicsuffix library for base domain extraction
  • Implements parameterized wildcard checking to support multiple base domains
  • Includes comprehensive unit tests for flag validation, data storage, and subdomain extraction

Comment @neo help for available commands. · Open in Neo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support auto wildcard detection similar to PureDNS

1 participant