TLD not working correctly
wizardlevel9 opened this issue · 2 comments
wizardlevel9 commented
I recently realised that the TLD is not being sustituted with available TLD domains.
This isn't working with or without the --tld <filename_with_additional_tlds>
python3 dnstwist.py google.com -f list | grep -i shop
python3 dnstwist.py --tld TLDs.txt google.com -f list | grep -i shop
For example, I would expect that the commands above would output google.shop as ".shop" is a TLD.
Viewing the output, it seems that the TLD is being used as a subdomain prefix rather than as a TLD replacement.
It would be good if dnstwist could also replace the domains TLD with those in the TLD list.
elceef commented
I can't reproduce this issue on my end:
$ cat /tmp/tld.dict
shop
$ ./dnstwist.py --tld /tmp/tld.dict -r google.com -f list | grep -i shop
google.shop
wizardlevel9 commented
My apologies, this behaviour is only on MacOS.
It works as expected on Linux.