Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // This file is protected by copyright law and provided under license. Reverse engin..
Decoded Output download
?><?php
class HTTPFetch
{
var $huMEqvdNZBVngOM4 = array();
function fetch($Jdp4o0I89UFO, $dp=0, $Cfi42kSQk9VdlM=false, $N_Fm0hhD3owWta=false, $aSEQp8r1SwaCrb = "")
{
global $grab_parameters,$RDBArX5GVUARm1Cvq;
@ini_set('default_socket_timeout', 5);
if($grab_parameters['xs_urlprefix'])
$Jdp4o0I89UFO = $grab_parameters['xs_urlprefix'].urlencode($Jdp4o0I89UFO);
$_ua=$_ref='';
if($dp>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;$hi<count($Qgnxtj7h7Ib);$hi++)
{
$lk = preg_split("#\s*:\s*#",$Qgnxtj7h7Ib[$hi],2);
if(count($lk)>1){
$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<count($hoxrmfFginIYPn[1]);$i++)
{
$HZpRje35mVkO0jMR = hexdec(trim($hoxrmfFginIYPn[1][$i]));
$ZBWGkqS6VQ71 = '';
if(!$i&&!$HZpRje35mVkO0jMR)return $s;
if(!$HZpRje35mVkO0jMR)break;
do{
$ZBWGkqS6VQ71 .= $hoxrmfFginIYPn[1][++$i];
}while((strlen($ZBWGkqS6VQ71)<$HZpRje35mVkO0jMR||!trim($hoxrmfFginIYPn[1][$i+1])) && ($i<count($hoxrmfFginIYPn[1])));
$e5VXUaptWL7P .= trim($ZBWGkqS6VQ71);
}
return $e5VXUaptWL7P;
}
}
$p1XDt1S0MI8YR = new HTTPFetch();
?>
Did this file decode correctly?
Original Code
<?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
eval(base64_decode('Pz48P3BocApjbGFzcyBIVFRQRmV0Y2gKewp2YXIgJGh1TUVxdmROWkJWbmdPTTQgPSBhcnJheSgpOwpmdW5jdGlvbiBmZXRjaCgkSmRwNG8wSTg5VUZPLCAkZHA9MCwgJENmaTQya1NRazlWZGxNPWZhbHNlLCAkTl9GbTBoaEQzb3dXdGE9ZmFsc2UsICRhU0VRcDhyMVN3YUNyYiA9ICIiKQp7Cmdsb2JhbCAkZ3JhYl9wYXJhbW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