Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahogony
php
Commits
e0e23c89
Commit
e0e23c89
authored
Oct 17, 2018
by
mh
Browse files
more hardening
parent
61fb0e61
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/snuffleupagus/base.rules
View file @
e0e23c89
# Harden the PRNG
sp.harden_random.enable();
# Disabled XXE
sp.disable_xxe.enable();
# based on https://snuffleupagus.readthedocs.io/config.html#miscellaneous-examples
# based on https://snuffleupagus.readthedocs.io/config.html#miscellaneous-examples
# Harden the `chmod` function
# Harden the `chmod` function
# sp.disable_function.function("chmod").param("mode").value_r("^[0-9]{2}[67]$").drop();
# sp.disable_function.function("chmod").param("mode").value_r("^[0-9]{2}[67]$").drop();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment