mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
229 B
229 B
TaintedShell
Emitted when tainted input detection is turned on and tainted shell code is detected.
<?php
$command = $_GET["command"];
runCode($command);
function runCode(string $command) {
exec($command);
}