Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
homoglyphs — Homoglyphs: 유사한 문자를 가져오고, ASCII로 변환하고, 가능한 언어 및 UTF-8 그룹을 감지합니다. | Kitploit
도구/GitHubGitHub/life4/homoglyphs
OSINT (Open Source Intelligence)Phishing ToolsInformation GatheringSocial EngineeringArchived
GitHublife4/homoglyphs

homoglyphs

Homoglyphs: 유사한 문자를 가져오고, ASCII로 변환하고, 가능한 언어 및 UTF-8 그룹을 감지합니다.

저장소 보기
842395년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

프로젝트가 보관됨

포크: https://github.com/orsinium/forks


Homoglyphs

Homoglyphs 로고 Build Status PyPI version Status Code size License

Homoglyphs -- 호모글리프를 가져와 ASCII로 변환하는 파이썬 라이브러리입니다.

특징

더 똑똑해진 confusable_homoglyphs 버전입니다:

  • 자동 감지 또는 수동 카테고리 선택 (ISO 15924 별칭).
  • 필요한 알파벳만 메모리에 자동 또는 수동 로드.
  • ASCII로 변환.
  • 더 많은 구성 가능.
  • 더 안정적.

설치

root@kitploit:~
sudo pip install homoglyphs

사용법

무언가를 설명하는 가장 좋은 방법은 작동 방식을 보여주는 것입니다. 실제 사용 예를 살펴보겠습니다.

임포트:

root@kitploit:~
import homoglyphs as hg

언어

root@kitploit:~
#detect
hg.Languages.detect('w')
# {'pl', 'da', 'nl', 'fi', 'cz', 'sr', 'pt', 'it', 'en', 'es', 'sk', 'de', 'fr', 'ro'}
hg.Languages.detect('т')
# {'mk', 'ru', 'be', 'bg', 'sr'}
hg.Languages.detect('.')
# set()

# get alphabet for languages
hg.Languages.get_alphabet(['ru'])
# {'в', 'Ё', 'К', 'Т', ..., 'Р', 'З', 'Э'}

# get all languages
hg.Languages.get_all()
# {'nl', 'lt', ..., 'de', 'mk'}

카테고리

카테고리 -- (ISO 15924 별칭).

root@kitploit:~
#detect
hg.Categories.detect('w')
# 'LATIN'
hg.Categories.detect('т')
# 'CYRILLIC'
hg.Categories.detect('.')
# 'COMMON'

# get alphabet for categories
hg.Categories.get_alphabet(['CYRILLIC'])
# {'ӗ', 'Ԍ', 'Ґ', 'Я', ..., 'Э', 'ԕ', 'ӻ'}

# get all categories
hg.Categories.get_all()
# {'RUNIC', 'DESERET', ..., 'SOGDIAN', 'TAI_LE'}

호모글리프

호모글리프 가져오기:

root@kitploit:~
# get homoglyphs (latin alphabet initialized by default)
hg.Homoglyphs().get_combinations('q')
# ['q', '𝐪', '𝑞', '𝒒', '𝓆', '𝓺', '𝔮', '𝕢', '𝖖', '𝗊', '𝗾', '𝘲', '𝙦', '𝚚']

알파벳 로딩:

root@kitploit:~
# load alphabet on init by categories
homoglyphs = hg.Homoglyphs(categories=('LATIN', 'COMMON', 'CYRILLIC'))  # alphabet loaded here
homoglyphs.get_combinations('гы')
# ['rы', 'гы', 'ꭇы', 'ꭈы', '𝐫ы', '𝑟ы', '𝒓ы', '𝓇ы', '𝓻ы', '𝔯ы', '𝕣ы', '𝖗ы', '𝗋ы', '𝗿ы', '𝘳ы', '𝙧ы', '𝚛ы']

# load alphabet on init by languages
homoglyphs = hg.Homoglyphs(languages={'ru', 'en'})  # alphabet will be loaded here
homoglyphs.get_combinations('гы')
# ['rы', 'гы']

# manual set alphabet on init      # eng rus
homoglyphs = hg.Homoglyphs(alphabet='abc абс')
homoglyphs.get_combinations('с')
# ['c', 'с']

# load alphabet on demand
homoglyphs = hg.Homoglyphs(languages={'en'}, strategy=hg.STRATEGY_LOAD)
# ^ alphabet will be loaded here for "en" language
homoglyphs.get_combinations('гы')
# ^ alphabet will be loaded here for "ru" language
# ['rы', 'гы']

categories, languages, alphabet 및 원하는 전략을 조합할 수 있습니다. 전략은 아직 로드되지 않은 문자를 처리하는 방법을 지정합니다:

  • STRATEGY_LOAD: 이 문자에 대한 카테고리를 로드
  • STRATEGY_IGNORE: 결과에 문자 추가
  • STRATEGY_REMOVE: 결과에서 문자 제거

글리프를 ASCII 문자로 변환

root@kitploit:~
homoglyphs = hg.Homoglyphs(languages={'en'}, strategy=hg.STRATEGY_LOAD)

# convert
homoglyphs.to_ascii('ТЕСТ')
# ['TECT']
homoglyphs.to_ascii('ХР123.')  # this is cyrillic "х" and "р"
# ['XP123.', 'XPI23.', 'XPl23.']

# string with chars which can't be converted by default will be ignored
homoglyphs.to_ascii('лол')
# []

# you can set strategy for removing not converted non-ASCII chars from result
homoglyphs = hg.Homoglyphs(
    languages={'en'},
    strategy=hg.STRATEGY_LOAD,
    ascii_strategy=hg.STRATEGY_REMOVE,
)
homoglyphs.to_ascii('лол')
# ['o']

# also you can set up range of allowed char codes for ascii (0-128 by default):
homoglyphs = hg.Homoglyphs(
    languages={'en'},
    strategy=hg.STRATEGY_LOAD,
    ascii_strategy=hg.STRATEGY_REMOVE,
    ascii_range=range(ord('a'), ord('z')),
)
homoglyphs.to_ascii('ХР123.')
# ['l']
homoglyphs.to_ascii('хр123.')
# ['xpl']
도구 다운로드