elceef/dnstwist

Better support with IDN

thib-d opened this issue · 1 comments

Hi,

When I am using the tool with example.fr, DnsTwist is suggesting ɇxample.fr.

However with the TLD ".fr", "ɇ" is not a valid character -> https://www.afnic.fr/wp-media/uploads/2020/12/Afnic-Registration-Rules-1-and-2-characters.pdf

Could we adapt the tool to suggest only approved characters for the TLD suggested.
Thanks

The homoglyph fuzzer has been extended. I added dedicated look-alike character mapping for .fr and other popular country-code TLD, including a few which does not support IDN (in such a case the mapping is simply empty).
On top of this, I extended the generic map with more similar looking characters which should further improve the coverage.
Please pull the most recent code and let me know if you're happy with this change.