merge upstream & update configs

This commit is contained in:
Mihai Pitu
2013-08-23 13:54:30 +03:00
parent 107ff9af8f
commit 9651da3d4c
192 changed files with 14497 additions and 439 deletions

18
tests/op/detectSQLi.t Normal file
View File

@@ -0,0 +1,18 @@
{
type => "op",
name => "detectSQLi",
input => "",
ret => 0
},
{
type => "op",
name => "detectSQLi",
input => "this is not isqli",
ret => 0
},
{
type => "op",
name => "detectSQLi",
input => "ascii(substring(version() from 1 for 1))",
ret => 1
}

View File

@@ -55,8 +55,8 @@
{
type => "op",
name => "rx",
param => qr/^([^=])\s*=\s*((?:abc)+(?:def|ghi){2})$/i,
input => "x =AbCDeFgHi",
param => "(?i:(sleep\\((\\s*?)(\\d*?)(\\s*?)\\)|benchmark\\((.*?)\\,(.*?)\\)))",
input => "SELECT pg_sleep(10);",
ret => 1,
},