#user-input #string #data #testing #list #blns

bin+lib naughty-strings

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

5 releases

Uses old Rust 2015

0.2.4 Apr 23, 2021
0.2.3 Mar 17, 2019
0.2.2 Jan 11, 2016
0.2.1 Dec 9, 2015
0.1.0 Dec 3, 2015

#51 in #user-input


Used in 2 crates

MIT/Apache

39KB
545 lines

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.

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.

Dependencies

~0.5–1MB
~20K SLoC