summaryrefslogtreecommitdiff
path: root/doc/source/features.rst
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-08-02 10:42:12 +0200
committerBen Fuhrmannek2021-08-02 10:42:12 +0200
commit4cda0120313dfd5d71236f6faf87416e93f5f89c (patch)
tree0c2c6d15e8ac5287fb3304f96de719547d9e847a /doc/source/features.rst
parent6c132e6a1d8d339a20282afb5a4af52eb6bce9db (diff)
parente62f226c3ed885808c832040872fc2d73ca46dac (diff)
Merge branch 'master' of https://github.com/jvoisin/snuffleupagus
Diffstat (limited to 'doc/source/features.rst')
-rw-r--r--doc/source/features.rst12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/source/features.rst b/doc/source/features.rst
index 2eebc88..25fd62d 100644
--- a/doc/source/features.rst
+++ b/doc/source/features.rst
@@ -480,15 +480,9 @@ to see that people are disabling it on production too.
480We're detecting/preventing this by not allowing the ``CURLOPT_SSL_VERIFYPEER`` and 480We're detecting/preventing this by not allowing the ``CURLOPT_SSL_VERIFYPEER`` and
481``CURLOPT_SSL_VERIFYHOST`` options from being set to ``0``. 481``CURLOPT_SSL_VERIFYHOST`` options from being set to ``0``.
482 482
483*Cheap* SQL injections detection 483*Cheap* error-based SQL injections detection
484"""""""""""""""""""""""""""""""" 484""""""""""""""""""""""""""""""""""""""""""""
485 485
486In some SQL injections, attackers might need to use comments, a feature that is 486If a function performing a SQL query returns ``FALSE``
487often not used in production system, so it might be a good idea to filter
488queries that contains some. The same filtering idea can be used against
489SQL functions that are frequently used in SQL injections, like ``sleep``, ``benchmark``
490or strings like ``version_info``.
491
492On the topic of SQL injections, if a function performing a query returns ``FALSE``
493(indicating an error), it might be useful to dump the request for further analysis. 487(indicating an error), it might be useful to dump the request for further analysis.
494 488