News for hackers. Stuff that matters.
Re:SQL Injection Galore by readme on Monday August 05, 2013 @09:11AM (#6159849)
I know the PHP/PDO way to do it, is prepared statements.

I'm not able to see why the parent's suggestion to just escape the strings is not a valid solution from a security perspective.

Re:SQL Injection Galore by orf on Monday August 05, 2013 @09:39AM (#6159992)
because you also have integer based SQL injection. Escaping strings isn't a complete fix.
Re:SQL Injection Galore by user24 on Monday August 05, 2013 @09:49AM (#6160030)
Yep. In fact the typical SQL injection example is " 0 OR 1=1 ".
Re:SQL Injection Galore by anoncow on Monday August 05, 2013 @09:42AM (#6160007)
>that's less secure than prepared statements, and may break some things (eg if the code is relying on certain things not being escaped, etc)