Re: Mystery infestation strikes Linux/Apache Web sites
Posted by: Anonymous
on January 26, 2008 04:05 PM
it's not stupidity. Just put a freaking / at the beginning of the regex to match a directory marker and then you are guaranteed that you are matching a slash and then 5 chars. I simply don't want a bunch of admins wiping their servers because they think they've been rooted.
And btw,you can't put a ^ at the beginning because it's parsing a url. You are trying to parse http;//www.example.com/abcde.js or www.example.com/mydir/fghij.js. before you start with the stupidity crap, you should first know what the hell you're talking about.