News for hackers. Stuff that matters.
Re:SQL Injection Galore by harrytuttle on Monday August 05, 2013 @08:44AM (#6159742)
I have commit hooks on our repository that look for things like this and prevent the user committing it!

We've got 30 odd rules so far that have saved us from all sorts of pain from exception swallowing to adding test ignores as well.

Re:SQL Injection Galore by mullethunter on Monday August 05, 2013 @10:06AM (#6160131)
I second this. I manage a couple of teams and one is dealing with legacy a PHP stack where they've been refactoring things like SQL injection risks and whatnot. Having something as an automated second set of eyes would be brilliant.
Re:SQL Injection Galore by dave1010uk on Monday August 05, 2013 @09:55AM (#6160072)
Could you share some of these?
Re:SQL Injection Galore by harrytuttle on Monday August 05, 2013 @10:33AM (#6160313)
Not really at the moment. I've been slowly refactoring it into a publishable chunk of code but progress is slow. I will publish it on github when it is done.
Re:SQL Injection Galore by tomjen3 on Monday August 05, 2013 @11:55AM (#6160847)
I am not sure that is enough, I mean if you look at the supposed results many of them can't actually be actacked (like the on that tests that Id is a number before it is used) but a semi stupid script wouldn't catch those.
Re:SQL Injection Galore by harrytuttle on Monday August 05, 2013 @01:12PM (#6161357)
It's good enough to make people aware that you are watching their every move :)