diff options
| author | Ben Fuhrmannek | 2022-04-19 19:01:52 +0200 |
|---|---|---|
| committer | jvoisin | 2022-07-12 22:50:28 +0200 |
| commit | cd9031935ef2306f7ba2097856b20bf116f341ee (patch) | |
| tree | be425fa8af11f41a2679ba9eae9f0a3e969d4da0 /src/tests/deny_writable/deny_writable_execution_simulation.phpt | |
| parent | 077e96b6319aaf26414d1d0eeb30eb4f144f0019 (diff) | |
extended checks for readonly_exec, enabled by default
introduced config options:
readonly_exec.extended_checks() or xchecks()
readonly_exec.no_extended_checks() or noxchecks()
Diffstat (limited to 'src/tests/deny_writable/deny_writable_execution_simulation.phpt')
| -rw-r--r-- | src/tests/deny_writable/deny_writable_execution_simulation.phpt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tests/deny_writable/deny_writable_execution_simulation.phpt b/src/tests/deny_writable/deny_writable_execution_simulation.phpt index e3460e4..abc276f 100644 --- a/src/tests/deny_writable/deny_writable_execution_simulation.phpt +++ b/src/tests/deny_writable/deny_writable_execution_simulation.phpt | |||
| @@ -41,10 +41,14 @@ unlink("$dir/non_writable_file.txt"); | |||
| 41 | unlink("$dir/writable_file.txt"); | 41 | unlink("$dir/writable_file.txt"); |
| 42 | ?> | 42 | ?> |
| 43 | --EXPECTF-- | 43 | --EXPECTF-- |
| 44 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/deny_writable_execution_simulation.php). in %a/deny_writable_execution_simulation.php on line 2 | 44 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/deny_writable_execution_simulation.php) in %a/deny_writable_execution_simulation.php on line 2 |
| 45 | 45 | ||
| 46 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/writable_file.txt). in %a/deny_writable_execution_simulation.php on line 12 | 46 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/writable_file.txt) in %a/deny_writable_execution_simulation.php on line 12 |
| 47 | 47 | ||
| 48 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/writable_file.txt). in %a/writable_file.txt on line 1 | 48 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of a writable file (%a/writable_file.txt) in %a/writable_file.txt on line 1 |
| 49 | Code execution within a writable file. | 49 | Code execution within a writable file. |
| 50 | |||
| 51 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of file owned by process (%s/tests/deny_writable/non_writable_file.txt) in %s/tests/deny_writable/deny_writable_execution_simulation.php on line 13 | ||
| 52 | |||
| 53 | Warning: [snuffleupagus][0.0.0.0][readonly_exec][simulation] Attempted execution of file owned by process (%s/tests/deny_writable/non_writable_file.txt) in %src/tests/deny_writable/non_writable_file.txt on line 1 | ||
| 50 | Code execution within a non-writable file. | 54 | Code execution within a non-writable file. |
