summaryrefslogtreecommitdiff
path: root/src/tests/disable_function (follow)
AgeCommit message (Collapse)Author
2026-02-15tests: add several skip reasonsChristian Göttsche
Co-authored-by: Julien "jvoisin" Voisin <julien.voisin@dustri.org>
2025-09-01Add support for PHP8.5jvoisin
2023-02-02Url encode functions arguments when logging themjvoisin
2023-01-04Fix the CI for PHP8.2jvoisin
2022-12-11Add support for PHP8.2jvoisin
2022-07-12Log `eval` content when matching on its parameterjvoisin
2022-05-16Don't run disabled_functions_param_str_representation_php8 on php7jvoisin
2022-05-02Add more tests for php8jvoisin
2022-03-20Fix compilation on PHP<7.2jvoisin
2022-01-12removed redundant tests + minor fixesBen Fuhrmannek
2022-01-11fixed test caseBen Fuhrmannek
2022-01-11handle opcache test case failureBen Fuhrmannek
2022-01-11skip test if pcntl is missingBen Fuhrmannek
2022-01-05fix test case for php7Ben Fuhrmannek
2021-12-14test cases for testing edge cases, eval and cmd executionBen Fuhrmannek
2021-08-08fixed test case. src in path is not mandatoryBen Fuhrmannek
2021-08-07fixed disabled_functions testsBen Fuhrmannek
2021-08-02Merge branch 'master' of https://github.com/jvoisin/snuffleupagusBen Fuhrmannek
2021-05-09Fix disable function chmodWhiteWinterWolf
2021-05-09Fix the testsuite on fedorajvoisin
2021-05-08Add a test for #390jvoisin
2021-02-18rewrote parameter matching logic. breaks compatibility with previous versions.Ben Fuhrmannek
2021-02-18log forging protectionBen Fuhrmannek
2021-01-04Skip a failing test on php8jvoisin
2021-01-04Add a check on parameters namesxXx-caillou-xXx
Snuffleupagus will now warn when a particular function doesn't have the expected parameters configuration-wise.
2020-12-31Enabled matching on local var in php8jvoisin
PHP8 failed hard when it couldn't find the local variable we're looking for. using ZEND_FETCH_CLASS_SILENT makes it silent.
2020-12-31Enable 3 more tests for php8jvoisin
2020-12-28Enable 2 more testsjvoisin
2020-12-25mark some tests as passing on php8jvoisin
2020-12-12Mark the relevant php8 tests as broken (#359)jvoisin
* Skip tests broken on php8 * Oops * Fix some tests * Add some XXE tests for php8 * Fix a test
2020-12-01In tests, don't `die("skip")` but `print "skip"` instead (#358)jvoisin
This is required since the `die` is making php8 choke
2020-11-29Make the `>` operator skip over functionsjvoisin
2020-07-21Fix #338 - added log type if type is simulation, drop or log. (#339)Giovanni
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
2020-07-04Add two tests related to x-forwarded-for and remote-addrjvoisin
2020-06-07Fix a broken test on php nightlyjvoisin
Apparently, php is now raising errors for non-existing keys in arrays, so we're now catching the exception to allow the test to be run.
2020-05-01Make the testsuite work on php7.4jvoisin
Before php7.4, it seems that the curl module was loaded by default, but since it's no the case anymore, it has to be manually specified in the testsuite. Interestingly, Php's testsuite mechanism is running snippets to determine some runtime parameters like the extension directory. Unfortunately,it tries to run them with Snuffleupagus loaded, resulting in an error, since no configuration file is passed.
2020-03-04%s/nbs-system/jvoisinjvoisin
Since I'm the only one to maintain Snuffleupagus, let's adjust the links and contact addresses of my fork, to point to well… my fork.
2019-11-03Log ip addresseskkadosh
2019-02-23Fix the testsuite on php8.jvoisin
In php8, it's non-trivial to hook strlen, since this function is usually optimized away by the compiler.
2019-01-14Reorganize the testsuitejvoisin
Splitting the testsuite in several components makes it easier to manage and comprehend. This was also needed some some tests aren't passing on Alpine Linux, but we still want to run as many of them as we can on this platform.