Find homoglyph characters in two compared words.
Main concern of this project is investigating whether a link behind the html href tag is diretcting a fake website using homoglyph conjugate or not. However, if you want to use want use homoglyph comparator, you can implement your own reader and integrate with homoglyph comparator.
In orthography and typography, a 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.
For example:
- microsoft.com and rnicrosoft.com (m and rn)
- flicker.com and fIicker.com (lowercase L and capital i. Looks almost same isn't it!?!)
- Make sure your those python3 libraries in your lib file:
import urllib, html, json, homoglyph
- There should be twitter data under ./txt file to read to run TwitterDataReader.py
- confusables.txt contains all homoglyph conjugates which is needed to run homoglyph.py
- Run directly main.py file to generate output.txt
- You can use homoglyph.py easily to compare your texts contains homoglyph caracters or not.
This project is conducted at BU Secure Systems Lab(BUSec LAB) with guidance of Prof. Manuel EGELE. Thanks to him, I have completed the project and learn a lot stuff.