Deprecated test case
Description
CWE: 78 OS Command Injection
BadSource: fromFile Read data from file (named c:\data.txt)
GoodSource: A hardcoded string
BadSink: exec dynamic command execution with Runtime.getRuntime().exec()
Flow Variant: 19 Control flow: Dead code after an if(true) return
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.