SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #157036

Back to the previous page... Back to the previous page

Test Case IDCandidate157036
Bad / Good / MixedGoodGood test case
AuthorBertrand Stivalet and Aurelien Delaitre
Associations
Test suite: 103  
Added byCharles Oliveira
LanguagePHP
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2015-10-20
DescriptionSafe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
SANITIZE : use in_array to check if $tainted is in the white list
construction : fopen
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .