patschi

Untitled

Sep 16th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. Client:
  2. <?php
  3. echo file_get_contents("http://site/path/uptime.php");
  4. ?>
  5.  
  6.  
  7. Server:
  8. <?php
  9. if($_SERVER["REMOTE_ADDR"] == "127.0.0.1") {
  10.     echo shell_exec("uptime");
  11. }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment