Skip to content

Commit

Permalink
Fix snuffleupagus rules to allow nc talk
Browse files Browse the repository at this point in the history
  • Loading branch information
benyanke authored Mar 9, 2023
1 parent 1aac999 commit 4127937
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ sp.disable_function.function("ini_get").param("option").value("open_basedir").fi
sp.disable_function.function("ini_get").param("option").value("open_basedir").filename("/nextcloud/3rdparty/symfony/process/ExecutableFinder.php").allow();
sp.disable_function.function("ini_get").param("option").value("allow_url_fopen").filename("/nextcloud/3rdparty/guzzlehttp/guzzle/src/Utils.php").allow();
sp.disable_function.function("exec").param("command").value("apachectl -M | grep mpm").filename("/nextcloud/apps2/spreed/lib/Settings/Admin/AdminSettings.php").allow();
sp.disable_function.function("function_exists").filename("/nextcloud/apps2/spreed/lib/Settings/Admin/AdminSettings.php").allow();

# Harden the `chmod` function (0777 (oct = 511, 0666 = 438)
sp.disable_function.function("chmod").param("permissions").value("438").drop();
Expand Down

0 comments on commit 4127937

Please sign in to comment.