" # Server Code Injection # # Strings which can cause user to run code on server as a privileged user (c.f. https://news.ycombinator.com/item?id=7665153 ) /dev/null; rm -rf /*; echo " That's a little aggressive for testing no?
Some would argue that if you're testing on a system you can't recreate easily/quickly, you're doing devops wrong.
Show HN: Big List of Naughty Strings for testing user-input data
41–50 of 80 posts
Re: Show HN: Big List of Naughty Strings for testing user-input data
#42Earlier quoted context omitted.
Bi-directional text is probably another one. All the bidi control characters, especially. Probably really all Unicode control characters in general.
Sure, but there's already a lot of bidi text in the file.
Re: Show HN: Big List of Naughty Strings for testing user-input data
#43Earlier quoted context omitted.
Thankfully, there are no strings invoking Cthulhu :)
lol! You must be referring to the ICFP contest 2015. http://icfpcontest.org/
Re: Show HN: Big List of Naughty Strings for testing user-input data
#44Earlier quoted context omitted.
Sure, but there's already a lot of bidi text in the file.
Bah, I only saw mono-directional text. Looking closely I only see one line of with bi-directional text, "הָיְתָהtestالصفحات التّحول"?
Re: Show HN: Big List of Naughty Strings for testing user-input data
#45Unintentionally, this also shows that GitHub is going pretty well when it comes it sanitising user inputs.
Re: Show HN: Big List of Naughty Strings for testing user-input data
#46Is it naughty to include it here?
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
[0] https://en.wikipedia.org/wiki/EICAR_test_fileRe: Show HN: Big List of Naughty Strings for testing user-input data
#47" # Server Code Injection # # Strings which can cause user to run code on server as a privileged user (c.f. https://news.ycombinator.com/item?id=7665153 ) /dev/null; rm -rf /*; echo " That's a little aggressive for testing no?
Some would argue that if you're testing on a system you can't recreate easily/quickly, you're doing devops wrong.
Re: Show HN: Big List of Naughty Strings for testing user-input data
#48[1] - https://chrome.google.com/webstore/detail/bug-magnet/efhedld...
Re: Show HN: Big List of Naughty Strings for testing user-input data
#49" # Server Code Injection # # Strings which can cause user to run code on server as a privileged user (c.f. https://news.ycombinator.com/item?id=7665153 ) /dev/null; rm -rf /*; echo " That's a little aggressive for testing no?
Some would argue that if you're testing on a system you can't recreate easily/quickly, you're doing devops wrong.
Re: Show HN: Big List of Naughty Strings for testing user-input data
#50Yeah, I would make the SQL injection and command injections test a little less kinetic =). Using a simple SELECT test, like SELECT @@VERSION, would be a little safer... Edit: Forget to say thanks! This is a pretty cool list.
You want something that modifies so that you can detect that the SQL executed. But an INSERT would be a much friendlier than a DROP TABLE. :)