{"id":20448509,"url":"https://github.com/shadawck/homoglyph","last_synced_at":"2025-10-19T17:22:53.649Z","repository":{"id":62445048,"uuid":"521024302","full_name":"shadawck/homoglyph","owner":"shadawck","description":"Generate all homoglyphs for a given input sentence.","archived":false,"fork":false,"pushed_at":"2022-09-14T15:31:19.000Z","size":1096,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T23:56:25.736Z","etag":null,"topics":["dnsname","domain-name","domain-squatting","homoglyphs","homograph-attack","infosec","permutations","phishing","phishing-detection","phishing-domains","security"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shadawck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-03T20:35:34.000Z","updated_at":"2025-01-14T03:51:03.000Z","dependencies_parsed_at":"2022-11-01T22:30:59.698Z","dependency_job_id":null,"html_url":"https://github.com/shadawck/homoglyph","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shadawck/homoglyph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Fhomoglyph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Fhomoglyph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Fhomoglyph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Fhomoglyph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadawck","download_url":"https://codeload.github.com/shadawck/homoglyph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Fhomoglyph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259775234,"owners_count":22909199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dnsname","domain-name","domain-squatting","homoglyphs","homograph-attack","infosec","permutations","phishing","phishing-detection","phishing-domains","security"],"created_at":"2024-11-15T10:35:24.930Z","updated_at":"2025-10-19T17:22:48.595Z","avatar_url":"https://github.com/shadawck.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homoglyphs (CLI)\n\n**Generate all homoglyphs for a given input sentence.**\n\n\u003e An homoglyph is one of two or more graphemes, characters, or glyphs with shapes that appear identical or very similar. The designation is also applied to sequences of characters sharing these properties.\n\u003e\n\u003e The Unicode character set contains many strongly homoglyphic characters known as \"confusables\". These present security risks in a variety of situations. One might deliberately spoof a domain name by replacing one character with its homoglyph, thus creating a second domain name, not readily distinguishable from the first, that can be exploited in phishing.\n\u003e \\- *[wikipedia](https://en.wikipedia.org/wiki/Homoglyph)*\n\n## Install\n\n```bash\ncargo install homoglyphs\n```\n\n## Examples\n\n### Generate all possible homoglyphs with all the confusable characters\n\n```bash\nhomoglyphs -a \"rust\"\n```\n\n### Generate homoglyphs with default settings (100 homoglyphs, 8 confusables for each characters of input sentence)\n\n```bash\nhomoglyphs \"rust is nice\"\n```\n\n### Generate 'n' homoglyphs\n\n```bash\nhomoglyphs -n 3000 \"rust is awesome\"\n```\n\n### Generate homoglyphs possible for the given number of confusable\n\n```bash\nhomoglyphs -n 3000 \"rust is incredible\"\n```\n\n### Try to generate a maximum of 'n' homoglyphs with 'c' confusable for each characters of input sentence\n\n```bash\nhomoglyphs -n 500 -c 6 \"rust is the best\"\n```\n\n### Print output in different format\n\n#### In array with ascii, empty, markdown, modern and psql styles\n\n```bash\nhomoglyphs -n 25 \"rust is the best\" -f markdown\n```\n\n#### In json or just raw\n\n```bash\nhomoglyphs -n 25 \"rust is the best\" -f json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadawck%2Fhomoglyph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadawck%2Fhomoglyph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadawck%2Fhomoglyph/lists"}