Skip to content

Commit

Permalink
Updated homoglyph character mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
elceef committed Sep 16, 2023
1 parent a10569f commit de727cf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dnstwist.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,12 +469,14 @@ def __del__(self):

class Fuzzer():
glyphs_idn_by_tld = {
**dict.fromkeys(['cz', 'sk', 'uk', 'co.uk', 'nl', 'edu'], {
**dict.fromkeys(['cz', 'sk', 'uk', 'co.uk', 'nl', 'edu', 'us'], {
# IDN not supported by the corresponding registry
}),
**dict.fromkeys(['jp', 'co.jp', 'ad.jp'], {
**dict.fromkeys(['jp', 'co.jp', 'ad.jp', 'ne.jp'], {
}),
**dict.fromkeys(['br'], {
**dict.fromkeys(['cn', 'com.cn', 'tw', 'com.tw', 'net.tw'], {
}),
**dict.fromkeys(['br', 'com.br'], {
'a': ('à', 'á', 'â', 'ã'),
'c': ('ç',),
'e': ('é', 'ê'),
Expand Down

0 comments on commit de727cf

Please sign in to comment.