Live data from Hacker News

Show HN: Big List of Naughty Strings for testing user-input data

github.com

1–10 of 80 posts

Re: Show HN: Big List of Naughty Strings for testing user-input data

#3
post #2

Looks interesting, but the Script Injection, SQL Injection and Server Code Injection sections need a lot more samples to be remotely useful.

I definitely agree; hence the open-sourceness. :)

I only added what was off the top of my head for those sections; this list will consistently be updated.

Re: Show HN: Big List of Naughty Strings for testing user-input data

#4
post #2

Looks interesting, but the Script Injection, SQL Injection and Server Code Injection sections need a lot more samples to be remotely useful.

I definitely agree; hence the open-sourceness. :) I only added what was off the top of my head for those sections; this list will consistently be updated.

Wouldn't it make more sense to define building blocks and automatically generate all sensible combinations? Otherwise I don't think this list can be managed by hand, especially not in a volunteer project.

Re: Show HN: Big List of Naughty Strings for testing user-input data

#7
Nice; sort of a programming complement to Shutterstock's _List of Dirty, Naughty, Obscene, and Otherwise Bad Words_[0]. So helpful to have a bunch of minds working on useful lists like this. Good to see that GitHub passes this test!

[0] https://github.com/shutterstock/List-of-Dirty-Naughty-Obscen...

Re: Show HN: Big List of Naughty Strings for testing user-input data

#8

Nice; sort of a programming complement to Shutterstock's _List of Dirty, Naughty, Obscene, and Otherwise Bad Words_[0]. So helpful to have a bunch of minds working on useful lists like this. Good to see that GitHub passes this test! [0] https://github.com/shutterstock/List-of-Dirty-Naughty-Obscen...

I doubt the value of this repository. The first naughty French word "allumé" can't be considered naughty, dirty, or bad, like, at all. And many others are not naughty under too many circumstances...

Except very few swear words, word filtering is pretty much useless.

Re: Show HN: Big List of Naughty Strings for testing user-input data

#10
post #9

Is the scope just well-formed strings or would you consider adding binary nasties like null bytes, mal-encoded characters, or even just newlines on their own? What about XML billion laughs strings, or parser-busting very long runs of parentheses?

I've definitely seen NUL bytes in what's supposed to be a text string break many tools.
Post reply on HN