summaryrefslogtreecommitdiff
path: root/scripts (follow)
AgeCommit message (Collapse)Author
2026-01-05Fix possible arbitrary code execution on misconfigured deploymentsjvoisin
When `upload_validation` is enabled, and when VLD isn't installed, an attacker sending a multipart POST is able to get arbitrary PHP content executed. Reported-By: thomas-chauchefoin-tob
2024-03-24Don't forbid use of assert in PHP 8+bohwaz
2024-03-24Also ignore function definitionsbohwaz
2024-03-24Don't whitelist files if the function name is actually a method of a classbohwaz
2024-02-19Include functions from global space that are prefixed with \Christoph Amthor
2020-11-18Replace broken magic number with constantDirk Weise
PHP's parser token constants are dynamically generated, values can change from version to version. See: https://www.php.net/manual/en/tokens.php
2018-12-15Provide a php script, to get rid of the python one for test suiteRemi Collet
This commit adds a php version of the upload_validation.py script.
2018-08-17Add ignore hash feature in `generate_rules.php` (#208)xXx-caillou-xXx
https://github.com/nbs-system/snuffleupagus/issues/206
2018-02-22php-nightly is now allowed to failjvoisin
PHP is breaking too many things on nightly, we'll only support releases from now on. This should also make our vld-based file-upload checker more resilient: no more random warnings on stderr.
2018-02-12Provide a script for upload validationjvoisin
The Python script is using vld (https://derickrethans.nl/projects.html#vld) to check for malicious opcodes.
2017-10-12Add `curl_multi_exec` to the magic php scriptjvoisin
2017-10-12Add a missing function to the generator scriptjvoisin
2017-10-08Improve a bit the script to generate rulesjvoisin
2017-09-20Initial importSebastien Blot