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
e5989108
Commit
e5989108
authored
Oct 30, 2018
by
mh
Browse files
also for the other queries
parent
9de60a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/snuffleupagus/base.rules
View file @
e5989108
...
...
@@ -58,21 +58,21 @@ sp.disable_function.function("ini_get").param("var_name").value_r("(?:allow_url_
sp.disable_function.function("mysql_query").param("query").value_r("information_schema").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("sleep").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();
# some CMS and ORM's use this to predict the current schema f.e doctrine
#
sp.disable_function.function("mysqli_query").param("query").value_r("information_schema").drop();
#sp.disable_function.function("PDO::query").param("query").value_r("/\\*").drop();
sp.disable_function.function("PDO::query").param("query").value_r("--").drop();
sp.disable_function.function("PDO::query").param("query").value_r("#").drop();
#
sp.disable_function.function("PDO::query").param("query").value_r("--").drop();
#
sp.disable_function.function("PDO::query").param("query").value_r("#").drop();
#sp.disable_function.function("PDO::query").param("query").value_r(";.*;").drop();
sp.disable_function.function("PDO::query").param("query").value_r("benchmark\\s*\\(").drop();
sp.disable_function.function("PDO::query").param("query").value_r("sleep\\s*\\(").drop();
#
sp.disable_function.function("PDO::query").param("query").value_r("benchmark\\s*\\(").drop();
#
sp.disable_function.function("PDO::query").param("query").value_r("sleep\\s*\\(").drop();
# some CMS and ORM's use this to predict the current schema f.e doctrine
#
sp.disable_function.function("PDO::query").param("query").value_r("information_schema").drop();
...
...
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