Comment
This commit is contained in:
parent
46ae7180f8
commit
c4e9e1c8df
@ -111,7 +111,7 @@ function testSqlAndScriptInject($val, $type)
|
||||
$inj += preg_match('/insert\s+into/i', $val);
|
||||
$inj += preg_match('/select\s+from/i', $val);
|
||||
$inj += preg_match('/into\s+(outfile|dumpfile)/i', $val);
|
||||
$inj += preg_match('/user\s*\(/i', $val); // avoid to use function user() that return current database login
|
||||
$inj += preg_match('/user\s*\(/i', $val); // avoid to use function user() or mysql_user() that return current database login
|
||||
$inj += preg_match('/information_schema/i', $val); // avoid to use request that read information_schema database
|
||||
$inj += preg_match('/<svg/i', $val); // <svg can be allowed in POST
|
||||
$inj += preg_match('/update.+set.+=/i', $val);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user