snuffleupagus 11

This commit is contained in:
Florent Daigniere
2024-11-16 22:11:13 +01:00
parent aa52bbb731
commit 9a928f8c7b
3 changed files with 4 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ sp.readonly_exec.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,mailsosubstreams,mailsoliteral,mailsotempfile,mailsobinary");
# The "php" wrapper can be further filtered: we probably don't want 'filter' nor 'fd'
sp.wrappers_whitelist.php_list("stdout,stdin,stderr,input,output,memory,temp");
# Prevent sloppy comparisons.
sp.sloppy_comparison.enable();