elceef/dnstwist

--tld does not work

MomentumRising opened this issue · 4 comments

I am using the command "dnstwist domainname.com --tld exts.dict --fuzzers hyphenation". It is only doing the lookups for the .com tld. I have a few dozen other tlds in the dictionary file. It's as if it doesn't see the --tld flag. I try putting the name of a dictionary file that doesn't exist and it gives an error about that. This used to work fine for me. Not sure why it doesn't work now.

Argument --tld enables additional fuzzing algorithm tld-swap which is not present on the list of enabled fuzzers. Try this: dnstwist domainname.com --tld exts.dict --fuzzers hyphenation,tld-swap.

To avoid this sort of mistakes, I added condition checks which will raise an error. Please pull the most recent code.

That resolved the issue. Thank you.

Was this broken? I get the following now.
python -m dnstwist accelit.com --tld .\tld.txt --fuzzers tld-swap -u
usage: dnstwist.py [OPTION]... DOMAIN
dnstwist.py: error: selected fuzzing algorithms do not generate any permutations for provided input domain

My tld.txt has a LOT of tls in it.

elceef commented

Does tld.txt contain valid and lower-case TLD?