Project

unisec

0.01
The project is in a healthy, maintained state
Toolkit for security research manipulating Unicode: confusables, homoglyphs, hexdump, code point, UTF-8, UTF-16, UTF-32, properties, regexp search, size, grapheme, surrogates, version, ICU, CLDR, UCD, BiDi, normalization
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.0
~> 1.0
~> 2.3
~> 6.11, >= 6.11.5
 Project Readme

unisec

GitHub forks GitHub stars GitHub license Rawsec's CyberSecurity Inventory

GitHub Workflow Status GitHub commit activity

Unicode Security Toolkit

What is it?

A CLI tool and library to play with Unicode security.

Features

  • BiDi spoofing
    • Craft payloads for attack using BiDi code points (e.g. spoofing a domain name or a file name)
  • Confusables / homoglyphs
    • List confusables characters for a given character
    • Replace all characters from a string with random confusables
  • Hexdump
    • UTF-8, UTF-16, UTF-32 hexadecimal dumps
  • Normalization
    • NFC, NFKC, NFD, NFKD normalization forms
  • Properties
    • Get all properties of a given Unicode character
    • List code points matching a Unicode property
    • List all Unicode properties name
  • Regexp search
    • Search for Unicode code point names by regular expression
  • Size
    • Code point, grapheme, UTF-8/UTF-16/UTF-32 byte/unit size
  • Surrogates
    • Code point ↔️ Surrogates conversion
  • Versions
    • Version of Unicode, ICU, CLDR, UCD, gems used in Unisec

Installation

$ gem install unisec

Check the installation page on the documentation to discover more methods.

Packaging status Gem Version GitHub tag (latest SemVer)

Documentation

Homepage / Documentation: https://acceis.github.io/unisec/

Author

Made by Alexandre ZANNI (@noraj) at ACCEIS.