Package net.andreinc.mockneat.unit.text
Class NaughtyStrings
java.lang.Object
net.andreinc.mockneat.abstraction.MockUnitBase
net.andreinc.mockneat.unit.text.NaughtyStrings
- All Implemented Interfaces:
MockUnit<java.lang.String>,MockUnitString
public class NaughtyStrings extends MockUnitBase implements MockUnitString
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NaughtyStrings(MockNeat mockNeat) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.andreinc.mockneat.abstraction.MockUnit
array, array, collection, collection, collection, collection, collection, collection, consume, consume, get, get, list, list, list, list, list, list, map, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapToDouble, mapToInt, mapToLocalDate, mapToLong, mapToString, mapToString, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, serialize, set, set, set, set, set, set, stream, val, val, valStr, valStrMethods inherited from interface net.andreinc.mockneat.abstraction.MockUnitString
accumulate, append, array, base64, escapeCsv, escapeEcmaScript, escapeHtml, escapeXml, format, md2, md5, noSpecialChars, prepend, replace, replace, replaceAll, replaceFirst, sha1, sha256, sha384, sha512, split, split, sub, sub, urlEncode, urlEncode
-
Constructor Details
-
Method Details
-
naughtyStrings
Returns a
NaughtyStringsobject that can be used to generate "naughty strings".Please check this URL for more info about the naughty strings:
https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt
- Returns:
- A re-usable
NaughtyStringsobject. TheNaughtStringsclass implementsMockUnitString.
-
supplier
public java.util.function.Supplier<java.lang.String> supplier()Description copied from interface:MockUnitThis is the sole abstract method of the interface. Needs to be implemented every-time a MockUnit is implemented. -
cveVulnerabilities
-
emoji
-
fileInclusions
-
inconousStrings
-
japaneseEmoji
-
msdosSpecialFileNames
-
numeric
-
quotations
-
regionalIndicators
-
reservedKeyWords
-
rightToLeftStrings
-
rubyInjection
-
scriptInjection
-
serverCodeInjection
-
specialChars
-
sqlInjection
-
trickUnicode
-
twoByteChars
-
unicodeFont
-
unicodeNumbers
-
unicodeSymbols
-
unicodeUpsideDown
-
unicodeSubScriptSuperScript
-
unwantedInterpolation
-
xmlInjection
-
zalgoText
-