projectdiscovery / dnsx

dnsx is a fast and multi-purpose DNS toolkit allow to run multiple DNS queries of your choice with a list of user-supplied resolvers.
https://docs.projectdiscovery.io/tools/dnsx
MIT License
2.19k stars 245 forks source link

Extend the wildcard detection support #232

Open forgedhallpass opened 2 years ago

forgedhallpass commented 2 years ago

Currently wildcard detection only works with a single domain. It would be nice to be able to support the following use-case:

cat root_domains | dnsx -rc servfail -w wordlist.txt -wd -r resolvers.txt

Steps:

  1. filter based on the response code
  2. brute-force
  3. detect servers supporting wildcards
  4. show all subdomains. Input domain that support wildcards, should appear only once. We could also mark them somehow.
marcelo321 commented 2 years ago

@forgedhallpass would be cool to give as a flag the domains we want to filter, or just completely extend the wildcard filtering to all subs in the list.