diff options
| author | jvoisin | 2021-05-01 17:50:32 +0200 |
|---|---|---|
| committer | jvoisin | 2021-05-01 17:51:48 +0200 |
| commit | 73f764647baa7cdfb66eb6bf4b2feb96e190ef88 (patch) | |
| tree | 9761a2569ea32c0a47063da67f089669e25c9f65 /doc/source/features.rst | |
| parent | 006026b492b119319219cd0e6eb2a6cbdb77c4e6 (diff) | |
Improve our SQLI-related documentation and remove some useless rules
Diffstat (limited to 'doc/source/features.rst')
| -rw-r--r-- | doc/source/features.rst | 12 |
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. | |||
| 480 | We're detecting/preventing this by not allowing the ``CURLOPT_SSL_VERIFYPEER`` and | 480 | We'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 | ||
| 486 | In some SQL injections, attackers might need to use comments, a feature that is | 486 | If a function performing a SQL query returns ``FALSE`` |
| 487 | often not used in production system, so it might be a good idea to filter | ||
| 488 | queries that contains some. The same filtering idea can be used against | ||
| 489 | SQL functions that are frequently used in SQL injections, like ``sleep``, ``benchmark`` | ||
| 490 | or strings like ``version_info``. | ||
| 491 | |||
| 492 | On 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 | ||
