Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahogony
php
Commits
6257c16f
Commit
6257c16f
authored
Oct 18, 2018
by
mh
Browse files
this blocks inserts of json or php pickles
parent
e0e23c89
Changes
1
Show whitespace changes
Inline
Side-by-side
files/snuffleupagus/base.rules
View file @
6257c16f
...
@@ -47,7 +47,7 @@ sp.disable_function.function("ini_get").param("var_name").value_r("(?:allow_url_
...
@@ -47,7 +47,7 @@ sp.disable_function.function("ini_get").param("var_name").value_r("(?:allow_url_
sp.disable_function.function("mysql_query").param("query").value_r("/\\*").drop();
sp.disable_function.function("mysql_query").param("query").value_r("/\\*").drop();
sp.disable_function.function("mysql_query").param("query").value_r("--").drop();
sp.disable_function.function("mysql_query").param("query").value_r("--").drop();
sp.disable_function.function("mysql_query").param("query").value_r("#").drop();
sp.disable_function.function("mysql_query").param("query").value_r("#").drop();
sp.disable_function.function("mysql_query").param("query").value_r(";.*;").drop();
#
sp.disable_function.function("mysql_query").param("query").value_r(";.*;").drop();
sp.disable_function.function("mysql_query").param("query").value_r("benchmark").drop();
sp.disable_function.function("mysql_query").param("query").value_r("benchmark").drop();
sp.disable_function.function("mysql_query").param("query").value_r("sleep").drop();
sp.disable_function.function("mysql_query").param("query").value_r("sleep").drop();
# some CMS and ORM's use this to predict the current schema f.e doctrine
# some CMS and ORM's use this to predict the current schema f.e doctrine
...
@@ -57,7 +57,7 @@ sp.disable_function.function("mysql_query").param("query").value_r("information_
...
@@ -57,7 +57,7 @@ sp.disable_function.function("mysql_query").param("query").value_r("information_
sp.disable_function.function("mysqli_query").param("query").value_r("/\\*").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("/\\*").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("--").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("--").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("#").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("#").drop();
sp.disable_function.function("mysqli_query").param("query").value_r(";.*;").drop();
#
sp.disable_function.function("mysqli_query").param("query").value_r(";.*;").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("benchmark").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("benchmark").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("sleep").drop();
sp.disable_function.function("mysqli_query").param("query").value_r("sleep").drop();
# some CMS and ORM's use this to predict the current schema f.e doctrine
# some CMS and ORM's use this to predict the current schema f.e doctrine
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment