Naughty-Strings
Useful for testing applications against special characters, invisible white space, emojis, etc...
From github: https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt
Usage
const strings = ; console; = '😍'
If a number is passed into the function call it will return an array with the number of elements.
{}Strings which may be used elsewhere in code
{}Strings which can be interpreted as numeric
{}ASCII punctuation All of these characters may need to be escaped in somecontexts Divided into three groups based keyboard position
{}and U+Often forbidden to appear in various text-based file or reused for internal delimiters on the theory that they should neverappear in inputThe next line may appear to be blank or mojibake in some viewers
{}Commonly misinterpreted as additional graphic charactersThe next line may appear to be blank mojibake or dingbats in some viewers
{}version 800) plus U+ U+ U+ U+and U+ which are in the C categories but are oftentreated as whitespace in some contextsThis file unfortunately cannot express strings containingU+0000 U+000A or U+The next line may appear to be blank or mojibake in some viewersThe next line may be flagged for "trailing whitespace" in some viewers
{}general category The next line may appear to be blank or mojibake in some viewers
{}The next two lines may appear to be blank or mojibake in some viewers
{}Strings which contain common unicode
{}Strings which contain unicode subscripts/superscripts; can cause rendering issues
{}Strings which contain misplaced quotation marks; can cause encoding errors
{}Strings which contain two-byte characters: can cause rendering issues or character-length issues
{}A super string recommended by VMware Inc Globalization Team: can effectively cause rendering issues or character-length issues to validate product globalization readiness表 ポ KATAKANA LETTER あ HIRAGANA LETTER A LATIN CAPITAL LETTER 鷗 Œ LATIN SMALL LIGATURE é LATIN SMALL LETTER E WITH B FULLWIDTH LATIN CAPITAL LETTER 逍 Ü LATIN SMALL LETTER U WITH ß LATIN SMALL LETTER SHARP ª FEMININE ORDINAL ą LATIN SMALL LETTER A WITH ñ LATIN SMALL LETTER N WITH 丂 㐀 CJK Ideograph Extension A 𠀀 CJK Ideograph Extension B
{}Strings which consists of Japanese-style emoticons which are popular on the web
{}Strings which contain Emoji; should be the same behavior as two-byte characters but not always
{}Regional Indicator Symbols can be displayed differently acrossfonts and have a number of special behaviors
{}Strings which contain unicode numbers; if the code is localized it should see the input as numeric
{}Strings which contain text that should be rendered RTL if
{}Strings which contain unicode with unusual cf http://www.unicode.org/charts/PDF/U2000.pdf)
{}Strings which contain "corrupted" text The corruption will not appear in non-HTML text however via http://www.eeemo.net)
{}Strings which contain unicode with an "upsidedown"
{}Strings which contain bold/italic/etc versions of normal characters
{}Strings which attempt to invoke a benign script injection; shows vulnerability to XSS
{}Strings which can cause a SQL injection if inputs are not sanitized
{}Strings which can cause user to run code on server as a privileged
{}Strings which can call system commands within Ruby/Rails applications
{}String which can reveal system files when parsed by a badly configured XML parser
{}Strings which can be accidentally expanded into different strings if evaluated in the wrong context eg used as a printf format string or via Perl or shell eval Might expose sensitive data from the program doing the interpolation or might just represent the wrong string
{}Strings which can cause user to pull in files that should not be a part of a web server
{}Strings that test for known vulnerabilities
{}Strings which are reserved characters in MSDOS/Windows
{}Strings that may occur on IRC clients that make security products freak out
{}Innocuous strings which may be blocked by profanity
{}Strings which may cause human to reinterpret worldview
{}Strings which punish the fools who use cat/type on this file