naughty-strings 0.2.2

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

rust-naughty-strings

Rust binding of minimaxir's Big List Of Naughty Strings.

The crate only provides one array naughty_strings::BLNS : &'static [&'static str]:

extern crate naughty_strings;

fn main() {
    for ns in naughty_strings::BLNS {
        println!("{}", ns);
    }
}

crates.io

The crate is on crates.io.

Documentation

The documentation is available here.

Note that because those strings are so naughty, rustdoc did not handle the documentation of the crate correctly!

Generate the library

The library is generated with cargo run --bin make-lib [PATH-TO-BLNS-REPO] (PATH-TO-BLNS-REPO defaults to minimaxir's repo). This generates the sole file src/lib.rs.

License

Licensed under either of

at your option.

Contribution

Contributions are welcome, Just open an issue or make a pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.