https://github.com/jwilk/longutf8
generate overlong UTF-8 sequences
https://github.com/jwilk/longutf8
security unicode
Last synced: about 1 year ago
JSON representation
generate overlong UTF-8 sequences
- Host: GitHub
- URL: https://github.com/jwilk/longutf8
- Owner: jwilk
- License: mit
- Created: 2016-10-03T14:34:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T06:51:05.000Z (over 1 year ago)
- Last Synced: 2025-03-26T00:03:18.639Z (over 1 year ago)
- Topics: security, unicode
- Language: Python
- Size: 25.4 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
.. code:: console
$ longutf8 --help
usage: longutf8 [-h] [-2 | -3 | -4 | -5 | -6] TEXT [TEXT ...]
generator of overlong UTF-8 sequences
positional arguments:
TEXT
options:
-h, --help show this help message and exit
-2 produce 2-byte sequences (110xxxxx 10xxxxxx)
-3 produce 3-byte sequences (1110xxxx 10xxxxxx 10xxxxxx)
-4 produce 4-byte sequences (11110xxx 10xxxxxx 10xxxxxx 10xxxxxx)
-5 produce 5-byte sequences (111110xx 10xxxxxx 10xxxxxx 10xxxxxx
10xxxxxx)
-6 produce 6-byte sequences (1111110x 10xxxxxx 10xxxxxx 10xxxxxx
10xxxxxx 10xxxxxx)
.. vim:ft=rst ts=3 sts=3 sw=3 et