Skip to content
Snippets Groups Projects

Add the snuffleupagus module

Open ale requested to merge hardening into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
  • 5469c3fb
    Disable wrappers_whitelist · 5469c3fb
    ale authored
    Possibly causing the error:
    "[snuffleupagus][0.0.0.0][config][log] duplicate keyword 'list' on line 31 in Unknown on line 0"
@@ -28,9 +28,9 @@ sp.auto_cookie_secure.enable();
# PHP has a lot of wrappers, most of them aren't usually useful, you should
# only enable the ones you're using.
sp.wrappers_whitelist.list("file,php,phar");
#sp.wrappers_whitelist.list("file,php,phar");
# The "php" wrapper can be further filtered, e.g. to only allow `php://stdout`, `php://stdin` and `php://stderr`:
sp.wrappers_whitelist.php_list("stdout,stdin,stderr");
#sp.wrappers_whitelist.php_list("stdout,stdin,stderr");
# Prevent sloppy comparisons.
# sp.sloppy_comparison.enable();
Loading