diff options
| author | Ben Fuhrmannek | 2021-11-11 13:15:52 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-11-11 13:15:52 +0100 |
| commit | 713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch) | |
| tree | b1bd945693215ca349180d44ae929f7f59427f09 /config | |
| parent | 9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff) | |
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'config')
| -rw-r--r-- | config/default.rules | 2 | ||||
| -rw-r--r-- | config/default_php8.rules | 2 | ||||
| -rw-r--r-- | config/suhosin.rules | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/config/default.rules b/config/default.rules index b964073..2de703b 100644 --- a/config/default.rules +++ b/config/default.rules | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | sp.harden_random.enable(); | 7 | sp.harden_random.enable(); |
| 8 | 8 | ||
| 9 | # Disabled XXE | 9 | # Disabled XXE |
| 10 | sp.disable_xxe.enable(); | 10 | sp.xxe_protection.enable(); |
| 11 | 11 | ||
| 12 | # Global configuration variables | 12 | # Global configuration variables |
| 13 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); | 13 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); |
diff --git a/config/default_php8.rules b/config/default_php8.rules index de2da5c..1d16191 100644 --- a/config/default_php8.rules +++ b/config/default_php8.rules | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | sp.harden_random.enable(); | 8 | sp.harden_random.enable(); |
| 9 | 9 | ||
| 10 | # Disabled XXE | 10 | # Disabled XXE |
| 11 | sp.disable_xxe.enable(); | 11 | sp.xxe_protection.enable(); |
| 12 | 12 | ||
| 13 | # Global configuration variables | 13 | # Global configuration variables |
| 14 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); | 14 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); |
diff --git a/config/suhosin.rules b/config/suhosin.rules index 4beb4c8..0bdc453 100644 --- a/config/suhosin.rules +++ b/config/suhosin.rules | |||
| @@ -276,6 +276,6 @@ sp.harden_random.enable(); | |||
| 276 | sp.auto_cookie_secure.enable(); | 276 | sp.auto_cookie_secure.enable(); |
| 277 | #sp.cookie.name("cookie1").samesite("lax"); | 277 | #sp.cookie.name("cookie1").samesite("lax"); |
| 278 | #sp.cookie.name("cookie2").samesite("strict");; | 278 | #sp.cookie.name("cookie2").samesite("strict");; |
| 279 | sp.disable_xxe.enable(); | 279 | sp.xxe_protection.enable(); |
| 280 | #sp.sloppy_comparison.enable(); | 280 | #sp.sloppy_comparison.enable(); |
| 281 | 281 | ||
