projectdiscovery / shuffledns

MassDNS wrapper written in go to enumerate valid subdomains using active bruteforce as well as resolve subdomains with wildcard filtering and easy input-output support.
https://projectdiscovery.io
GNU General Public License v3.0
1.3k stars 185 forks source link

Brute-force does not work with list of domains. #42

Closed vipinbihari closed 4 years ago

vipinbihari commented 4 years ago

shuffledns -d example.com -r /dnsfinder/resolver.txt -silent -w words.txt -list sub.example.com.txt If we run the above command, only the subdomains in sub.example.com.txt are resolved, but the example.com is not bruteforced with words.txt wordlist. In sort,-w and -list flag can not be used together.

ehsandeep commented 4 years ago

Hi @vipinbihari,

that's right, in the readme, it says:-

shuffledns supports two types of operations.

  1. Bruteforce (works with -w)
  2. Resolve (works with -list)

Can you clarify the purpose of this issue?

vipinbihari commented 4 years ago

I wanted to use both on the options in a single command. I have a huge list of subdomain that I want to resolve i.e sub.example.com.txt, and at the same time, I want to bruteforce the parent domain (example.com) with a wordlist words.txt. I want these two operation to be carried out simultaneously. So my final command becomes. shuffledns -d example.com -r /dnsfinder/resolver.txt -silent -w words.txt -list sub.example.com.txt

ehsandeep commented 4 years ago

Hey!

Unfortunately, that's not possible and not the intended way to use it, you can perform one operation at a time, we might add input validation in the future.

Closing this issue as this is expected behavior.