Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 227 Bytes

TaintedShell.md

File metadata and controls

15 lines (10 loc) · 227 Bytes

TaintedShell

Emitted when user-controlled input can be passed into to an exec call or similar.

<?php

$command = $_GET["command"];

runCode($command);

function runCode(string $command) {
    exec($command);
}