elceef/dnstwist

Your online website creating junk results at times

summercms opened this issue · 2 comments

Steps to repeat issue

  1. Go to https://dnstwist.it/
  2. Add the domain: coinbase.com
  3. Download the Scanned 4676 permutations file.

You should see the following random Chinese characters in the txt file.

image

I think everything goes wrong when your code adds ascii characters in possible domains, you need to create and save the txt file in UTF-8 format most likely the cause of this error.

elceef commented

HTTP server sets the following headers:

< content-type: text/plain; charset=utf-8
< content-disposition: attachment; filename=dnstwist.txt

All domain permutations in this text file are punycode-encoded so the file is pure ASCII. I guess the reason you see this garbage is that your text editor enforces UTF-16, UTF-32 or some other encoding.

Thank you, I loaded the txt file in Visual Studio Code and it's totally fine.

(going to close this issue as it's an external issue and not this repo)