National Institute of Standards and Technology
Package illustrating a test case

Test case 157070

Description

Safe sample
input : use exec to execute the script /tmp/tainted.php and store the output in $tainted
SANITIZE : use in_array to check if $tainted is in the white list
construction : concatenation and checks if the user is allowed to see this data

Test Suites

Have any comments on this test case? Please, send us an email.