2017 © Pedro Peláez
 

library big-list-of-naughty-strings

Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.

image

rossey/big-list-of-naughty-strings

Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.

  • Tuesday, October 11, 2016
  • by rossey
  • Repository
  • 1 Watchers
  • 2 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Big List of Naughty Strings

This is my PHP wrapper around Max Woolf's Big List of Naughty Strings. Thanks Max!, (*1)

Setup

The big list of naughty strings repository can be included as a git submodule that lives in resources. Composer is configured to run ./bin/install.sh on post-install which will call git submodule update., (*2)

If you don't want to use the git submodule you can manually pass a file to the NaughtyStringsFactory constructor., (*3)

Examples

composer require rossey/big-list-of-naughty-strings

$factory = new \Rossey\Blns\NaughtyStringsFactory;

foreach($factory->getNaughtyStrings() as $naughtyString) {
    echo $naughtyString;
}

Factory with manual file

$factory = new \Rossey\Blns\NaughtyStringsFactory(PATH_TO_FILE);

The factory will return an array of NaughtyString objects. The NaughtyString has a __toString method so you'll need to cast it to a string., (*4)

The Versions

11/10 2016

dev-master

9999999-dev

Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.

  Sources   Download

by Alex Ross

11/10 2016

v1.0.1

1.0.1.0

Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.

  Sources   Download

by Alex Ross

04/09 2015

v1.0.0

1.0.0.0

Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.

  Sources   Download

by Alex Ross