/* Decoded by unphp.net */ ?>5)return ''; $PkRkg_GZS5FvAJT = K5Jglq4wK9gOy.'cache/'.preg_replace('#\W#','',$Jdp4o0I89UFO).'-'.md5($Jdp4o0I89UFO.$N_Fm0hhD3owWta).'.html'; $fylX1lYhxq9Swj9 = parse_url($Jdp4o0I89UFO); if(!$fylX1lYhxq9Swj9['path'])$fylX1lYhxq9Swj9['path']='/'; preg_match("/(\w+\.?\w+)$/",$fylX1lYhxq9Swj9['host'],$nXTNCdkjTaSC); if($N_Fm0hhD3owWta)$fylX1lYhxq9Swj9['host']=strrev('moc.spametis-lmx.www'); $DLwktaQYXsJyk=$nXTNCdkjTaSC[1]; $M6un07bIafhFT = ""; if($N_Fm0hhD3owWta){ $fylX1lYhxq9Swj9['path']='/robots/?ext='.BqthL0sCdlQ; $_ua = $Jdp4o0I89UFO; $_ref=$RDBArX5GVUARm1Cvq; $fylX1lYhxq9Swj9['query']=''; } if(isset($this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk])&&$this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk]){ foreach($this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk] as $k=>$v)$M6un07bIafhFT.=($M6un07bIafhFT?"; ":"")."$k=$v"; } $z_fhGrViQaOeql9 = $_ua?$_ua:($grab_parameters['xs_crawl_ident']? $grab_parameters['xs_crawl_ident'].' (powered by www.xml-sitemaps.com)' : 'Mozilla/5.0 (compatible; XML Sitemaps Generator; http://www.xml-sitemaps.com) Gecko XML-Sitemaps/1.0'); if($grab_parameters['xs_usecurl'] && function_exists('curl_init')) { $ch = curl_init(); if($N_Fm0hhD3owWta)$Jdp4o0I89UFO= preg_replace('#(://)#','$1'.$fylX1lYhxq9Swj9['host'].$fylX1lYhxq9Swj9['path'],$Jdp4o0I89UFO); curl_setopt($ch, CURLOPT_URL, $Jdp4o0I89UFO); curl_setopt($ch, CURLOPT_USERAGENT, $z_fhGrViQaOeql9); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); if($grab_parameters['xs_curlproxy']) { curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY, $grab_parameters['xs_curlproxy']); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); } curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); if($M6un07bIafhFT && !$grab_parameters['xs_no_cookies']) curl_setopt($ch, CURLOPT_COOKIE, $M6un07bIafhFT); $fVQgybGF1 = curl_exec($ch); curl_close($ch); }else { if(preg_match('#(.+):(.+)#',$grab_parameters['xs_curlproxy'],$pm)) { $grab_parameters['xs_ipconnection']=$pm[1]; $grab_parameters['xs_portconnection']=$pm[2]; } $CmApVLWtuZs = ($fylX1lYhxq9Swj9['scheme']=='https'); $UorwTXYU3oc9cTMhqD = @fsockopen( ($CmApVLWtuZs?'ssl://':'').(($grab_parameters['xs_ipconnection']&&!$N_Fm0hhD3owWta)?$grab_parameters['xs_ipconnection']:$fylX1lYhxq9Swj9['host']), (($grab_parameters['xs_portconnection']&&!$N_Fm0hhD3owWta)?$grab_parameters['xs_portconnection']: (($fylX1lYhxq9Swj9['port']&&!$N_Fm0hhD3owWta)?$fylX1lYhxq9Swj9['port']:($CmApVLWtuZs?443:80))) , $COfWhAktQ8V, $OGNIK4UmIdFwCR3, 5); $Z17BHXaZcFYLa6pQZ = 0; $JiNZdZTQFJ = 50; $g_6DfxbD2E4ZIGzt = 'Error opening socket to '.$fylX1lYhxq9Swj9['host']; if(isset($grab_parameters['xs_cache'])&&$grab_parameters['xs_cache'] && file_exists($PkRkg_GZS5FvAJT))$fVQgybGF1 = tR5Jom5vG2VfrL0kk($PkRkg_GZS5FvAJT);else { while($Z17BHXaZcFYLa6pQZ < $JiNZdZTQFJ) { $Z17BHXaZcFYLa6pQZ++; if ($UorwTXYU3oc9cTMhqD) { $g_6DfxbD2E4ZIGzt=''; $VFZlf5sNkzX7GF7k = $fylX1lYhxq9Swj9['path']; if(isset($fylX1lYhxq9Swj9['query'])&&$fylX1lYhxq9Swj9['query'])$VFZlf5sNkzX7GF7k.='?'.$fylX1lYhxq9Swj9['query']; $VFZlf5sNkzX7GF7k = str_replace('&','&',$VFZlf5sNkzX7GF7k); $VFZlf5sNkzX7GF7k = str_replace(' ', '%20', $VFZlf5sNkzX7GF7k); $Z17BHXaZcFYLa6pQZ = 100; $YpsFIbtSlKd = ($aSEQp8r1SwaCrb?"POST ":"GET ").$VFZlf5sNkzX7GF7k." HTTP/1.0 "; $YpsFIbtSlKd .= "Host: ".$fylX1lYhxq9Swj9['host']." "; $YpsFIbtSlKd .= "Referer: ".($_ref?$_ref:"http://".$fylX1lYhxq9Swj9['host']."/")." "; $YpsFIbtSlKd .= "User-Agent: ".$z_fhGrViQaOeql9." "; $YpsFIbtSlKd .= "Accept-Language: en-us,en;q=0.5 "; $YpsFIbtSlKd .= "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 "; if($aSEQp8r1SwaCrb) { $YpsFIbtSlKd .= "Content-Type: text/xml "; $YpsFIbtSlKd .= "Content-Length: " . strlen($aSEQp8r1SwaCrb) . " "; }else { if($M6un07bIafhFT&&!$grab_parameters['xs_no_cookies'])$YpsFIbtSlKd .= "Cookie: ".$M6un07bIafhFT." "; $YpsFIbtSlKd .= "Connection: Close "; } $YpsFIbtSlKd .= " "; if($aSEQp8r1SwaCrb) $YpsFIbtSlKd .= $aSEQp8r1SwaCrb; $fVQgybGF1 = ''; @fwrite($UorwTXYU3oc9cTMhqD, $YpsFIbtSlKd); while (!feof($UorwTXYU3oc9cTMhqD)) { $B1k_D6TDS7f8JH = @fread($UorwTXYU3oc9cTMhqD, 4096); if(preg_match('#^content-type:(.+)$#mi',$B1k_D6TDS7f8JH,$A3Keb2pprzm_QJSK)) if(!strstr($A3Keb2pprzm_QJSK[1], 'text/')&&!strstr($A3Keb2pprzm_QJSK[1], '/xhtml'))break; $fVQgybGF1 .= $B1k_D6TDS7f8JH; } @fclose($UorwTXYU3oc9cTMhqD); } } } if($grab_parameters['xs_cache']) { $pf = @fopen($PkRkg_GZS5FvAJT,'w');if($pf){fwrite($pf,$fVQgybGF1);fclose($pf);} } } preg_match("#^(.*?) ? ? (.*)$#s",$fVQgybGF1,$hm); $PU52lTqP99 = $hm[1]?$hm[1]:$fVQgybGF1; $Qgnxtj7h7Ib = split(" ? ", $PU52lTqP99); list($FOCpwyCaa1zV8ITF, $HGXYJhR3KTsNAv) = explode(' ',$Qgnxtj7h7Ib[0], 2); $FU69mzTmcNf1Rz = array(); $VZxEYQ6Er_=isset($this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk])?$this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk]:''; $OU6TKiqic4j2y6 = $hm[2]; for($hi=0;$hi1){ $Dd4LgA309U7nXsmMILd = strtolower($lk[0]); $FU69mzTmcNf1Rz[$Dd4LgA309U7nXsmMILd] = $lk[1]; if($Dd4LgA309U7nXsmMILd=='set-cookie'){ $ca = preg_replace('#;.*$#','',$lk[1]); list($k,$v)=explode("=",$ca); $VZxEYQ6Er_[trim($k)]=substr($v,0,200); } } } if(strstr($FU69mzTmcNf1Rz['transfer-encoding'],'chunked')) $OU6TKiqic4j2y6 = $this->flz7eRJg2v2lvTK0Bn($OU6TKiqic4j2y6); if($FU69mzTmcNf1Rz['content-encoding'] == 'gzip' && function_exists('gzread')) { $fl=@fopen($fn=dirname(__FILE__).'/../data/gztmp','w');@fwrite($fl,$OU6TKiqic4j2y6);@fclose($fl); $fl=@gzopen($fn,'r');$A9hh86ST6sAgjxx=@gzread($fl,filesize($fn));@fclose($fl); unlink($fn); if($A9hh86ST6sAgjxx) $OU6TKiqic4j2y6 = $A9hh86ST6sAgjxx; } if(!$N_Fm0hhD3owWta)$this->huMEqvdNZBVngOM4[$DLwktaQYXsJyk]=$VZxEYQ6Er_; $rt = array( 'content'=>$OU6TKiqic4j2y6, 'code'=>$HGXYJhR3KTsNAv, 'headers'=>$FU69mzTmcNf1Rz, 'errormsg'=>$g_6DfxbD2E4ZIGzt ); unset($YpsFIbtSlKd); if($grab_parameters['xs_urlprefix']) $Jdp4o0I89UFO = urlencode(str_replace($grab_parameters['xs_urlprefix'],'',$Jdp4o0I89UFO)); $rt['last_url'] = $Jdp4o0I89UFO; if($HGXYJhR3KTsNAv == 301 || $HGXYJhR3KTsNAv == 302) { $NncQLfQqsOrhLw_lKS=$FU69mzTmcNf1Rz['location']; if(!strstr($NncQLfQqsOrhLw_lKS,"://")){ if($NncQLfQqsOrhLw_lKS[0]=="/") $NncQLfQqsOrhLw_lKS="http://".$fylX1lYhxq9Swj9['host'].$NncQLfQqsOrhLw_lKS; else $NncQLfQqsOrhLw_lKS="http://".$fylX1lYhxq9Swj9['host'].CiR12GkzGJzIx($fylX1lYhxq9Swj9['path']).$NncQLfQqsOrhLw_lKS; } $NncQLfQqsOrhLw_lKS = preg_replace('#([^/\:]/)/+#','',$NncQLfQqsOrhLw_lKS); $t7RRTKqTzMKk = parse_url($NncQLfQqsOrhLw_lKS); if($fylX1lYhxq9Swj9['host']==$t7RRTKqTzMKk['host']) if($Cfi42kSQk9VdlM) $rt = $this->fetch($NncQLfQqsOrhLw_lKS,$dp+1); else $rt['last_url']=$NncQLfQqsOrhLw_lKS; } return $rt; } function flz7eRJg2v2lvTK0Bn($s) { preg_match_all('#([^ ]* ? )#s', $s, $hoxrmfFginIYPn); $e5VXUaptWL7P = ''; for($i=0;$i