National Institute of Standards and Technology
Package illustrating a test case

Test case 173724

Description

Safe sample
input : execute a ls command using the function system, and put the last result in $tainted
sanitize : use of the function htmlentities. Sanitizes the query but has a high chance to produce unexpected results
construction : use of sprintf via a %s with simple quote

Test Suites

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