Taints the specified scalar
$scalar - the scalar to taint
The passed in scalar.
debug(debug() | 128); $script = 'println(' . @ARGV[0] . ');'; eval($script);
$ java -jar sleep.jar taint.sl "2 + 2" 4 $ java -Dsleep.taint=true -jar sleep.jar taint.sl "2 + 2" Warning: tainted value: '2 + 2);' from: '2 + 2' at taint.sl:3 Warning: tainted value: 'println(2 + 2);' from: '2 + 2);' at taint.sl:3 Warning: Insecure &eval: 'println(2 + 2);' is tainted at taint.sl:4