PageRenderTime 44ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/scanner/Test/sqlinjection-wrongquotation.php

https://bitbucket.org/theguly/thaps
PHP | 3 lines | 3 code | 0 blank | 0 comment | 0 complexity | 5f8d34102dac4ac1fdf957f82e74bbca MD5 | raw file
Possible License(s): GPL-3.0, BSD-3-Clause
  1. <?php
  2. $a = mysql_real_escape_string($_POST["a"]);
  3. mysql_query("SELECT '$a' FROM $a");