lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <1066526620.6483.16.camel@tantor.nuclearelephant.com> From: jonathan at nuclearelephant.com (Jonathan A. Zdziarski) Subject: Question: is this exploitable? Eh? How does this prevent a sql injection exploit? Placeholders (as was previously suggested) are really the only way to accomplish that. > $query=sprintf("insert into projects values(null,%s)",dbh->quote($project)); > $sth = $dbh->prepare($query);