elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.73k stars 753 forks source link

--tld does not work #178

Closed MomentumRising closed 1 year ago

MomentumRising commented 1 year ago

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.

elceef commented 1 year ago

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.

MomentumRising commented 1 year ago

That resolved the issue. Thank you.

MomentumRising commented 8 months ago

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 8 months ago

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