DissectMalware / PySameSame

This is a python version of samesame repo to generate homograph strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction to PySameSame

This is a python port of samesame utility developed by @TheTarquin. It also offers a few more features that deemed to be useful.

By using PySameSame, you can:

  1. replace ASCII characters with homograph (look-alike) characters in a given string
homoglyph = english_confusables.get_homograph("this is for test")
  1. obtain all of the potential ASCII representations of a given Unicode homoglyph.
ascii_reprs = english_confusables.convert_to_ascii("πˆπŸŽπˆπ”…Ω‘π”‘S",ignore_case=True)
  1. obtain an HTML table representing the internal mappings that is used by PySameSame
mappings = english_confusables.generate_table()
  1. manually select a Unicode homoglyph for each English Alphabet and use the resulted mapping to transform a text using a web interface.

About

This is a python version of samesame repo to generate homograph strings

License:Apache License 2.0


Languages

Language:HTML 74.1%Language:Python 25.9%