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

error: selected fuzzing algorithms do not generate any permutations for provided input domain #203

Closed tosiara closed 9 months ago

tosiara commented 9 months ago

Unable to run tld-swap with a given dictionary:

$ python3 dnstwist.py -r --fuzzers tld-swap --tld dictionaries/tlds-alpha-by-domain.txt github.com
usage: dnstwist.py [OPTION]... DOMAIN
dnstwist.py: error: selected fuzzing algorithms do not generate any permutations for provided input domain
elceef commented 9 months ago

TLD candidates are silently ignored if do not match regular expression. Perhaps they are all capital letters?

tosiara commented 9 months ago

Yes, all caps: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

elceef commented 9 months ago

Either make the file lower case, or pull the most recent code which accepts capital letters in dictionary files and converts them to lower case.

tosiara commented 9 months ago

Yes, can confirm the latest version works. Thanks