by patio11 · 15y ago · 0 comments
You can also assume that the bad guys start with a list similar to this and tools to semi-randomly perturb their inputs until they find the right combo of hocus-locus to get past your filter and then "neutralized" by your regular expression magic into functioning exploit code.
(n.b. I'm talking about more interesting attacker goals than forcing a reload, obviously.)
That said, every professional engineer should understand enough about security to carry out their duties to their customers. Accordingly, I've been peripherally interested in it for years. See, among many others:
Show me your trivial regex solution to this problem and I'll show you how to break it.
I mean, s/location//g will do the trick too, but I was aiming a little more generic.
Ah well. TIL not to poke FizzBuzz.