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 // Copyright VeryCo Tech Co,. LTD $OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%..

Decoded Output download

$OO0OO0000=$OOO000000{17}.$OOO000000{12}.$OOO000000{18}.$OOO000000{5}.$OOO000000{19};if(!0)$O000O0O00=$OO0OO0000($OOO0O0O00,'rb');$OO0OO000O=$OOO000000{17}.$OOO000000{20}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OO0OO00O0=$OOO000000{14}.$OOO000000{0}.$OOO000000{20}.$OOO000000{0}.$OOO000000{20};$OO0OO000O($O000O0O00,1167);$OO00O00O0=($OOO0000O0($OO0OO00O0($OO0OO000O($O000O0O00,380),'9/DmWGxHvqlLFBPU+5gAa4rw3hXYnM0ysCZNSoIQJEbcT2feKip6VRz7kOjt18ud=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0);$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",($OOO0000O0($OO0OO00O0($OO0OO000O($O000O0O00,$OO00O0000),'9/DmWGxHvqlLFBPU+5gAa4rw3hXYnM0ysCZNSoIQJEbcT2feKip6VRz7kOjt18ud=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'))));fclose($O000O0O00);eval($OO00O00O0);
$LANG_MODULES = array('SMARTvend_lang','function');
include_once("include/auth.php");
if (!$User->checkAction("00504","001"))
{
echo Tools::getMessageBox($LG_COMMON['infoWarn'],$LG_MSG['-90002']);
exit;
}
if (!$User->checkAction("00502","001"))
{
echo $User->getMessageJSON(-90002);
exit;
}
$PAGE_SIZE = _IM_PAGE_SIZE_;
$userCode = TUser::currentUser();
$branchCode = TUser::currentBranch();
$branchPOS = TBranchPOS::getInstance();
if ($branchCode==""||!$branchPOS->loadByUser($branchCode,$userCode,"Code"))
{
echo Tools::getMessageBox($LG_COMMON['infoWarn'],$LG_MSG['-10066']);
exit;
}
$branchPOS->load($branchPOS->Code);
$Dictionary = TDictionary::getInstance();
$cursor = $Dictionary->loadDictionaries("SYS_PARAM","","'CURRENCY'");
foreach ($cursor as $row)
{
$$row["Code"] = $row["V2"];
}
;echo '<div class="va_content" >
    <table class="TableBlock" width="100%" cellspacing="1px">
       <tr>
        <td nowrap class="TableHeader" colspan="2"><img src="/images/green_arrow.gif" align="absMiddle"/> ';echo $LG_FUNC['VA_PV_VEND_BAC'];echo '</td>
       </tr>
       <tr>
        <td nowrap class="TableContent" width="150px">&nbsp;';echo $LG_SMA['BRCAU_VS'];echo '</td>
        <td nowrap class="TableData">&nbsp;';echo $branchPOS->BranchName;echo '        </td>
       </tr>
       <tr>
        <td nowrap class="TableContent" >&nbsp;';echo $LG_SMA['POS_ID'];echo '</td>
        <td nowrap class="TableData">&nbsp;';echo $branchPOS->PosNumber;echo '        </td>
       </tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_OWNER'];echo '</td>
        <td nowrap class="TableData">&nbsp;';echo $branchPOS->Owner;echo '        </td>
       </tr>
       
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_Phone'];echo '</td>
        <td nowrap class="TableData">&nbsp;';echo $branchPOS->TelNo;echo '        </td>
       </tr>
      
       <tr>
        <td nowrap class="TableContent" >&nbsp;';echo $LG_SMA['POS_Balance'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;">&nbsp;';echo $branchPOS->AccBalance;echo '&nbsp;';echo $CURRENCY;echo '</td>
       </tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_FREEZE'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;color:red;">&nbsp;';echo $branchPOS->AccFreeze;echo '&nbsp;';echo $CURRENCY;echo '</td>
       </tr>
       <tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_Arrear'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;color:red;">&nbsp;';echo $branchPOS->AccArrears;echo '&nbsp;';echo $CURRENCY;echo '</td>
       </tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo  $LG_SMA['POS_kWhCosh'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;">&nbsp;';echo $branchPOS->AMT;echo '&nbsp;';echo $CURRENCY;echo '</td>
       </tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_Commission'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;">&nbsp;';echo $branchPOS->CommAMT;echo '&nbsp;';echo $CURRENCY;echo '</td>
       </tr>
       <tr>
        <td nowrap class="TableContent">&nbsp;';echo $LG_SMA['POS_Status'];echo '</td>
        <td nowrap class="TableData" id="vCustomer" style="font-size: 10pt;font-weight: bold;">&nbsp;
        ';
if ($branchPOS->Actived == "Y")
echo "<img src=\"/images/selected.png\" />";
;echo '</td>
       </tr>
    </table>
</div>
';

Did this file decode correctly?

Original Code

<?php // Copyright VeryCo Tech Co,. LTD
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=5024;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPM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/6MHoThAVZhI8fMDR6XwEoPZ9iFH/VPzheYQ+2Mz4EhzCVPZ/ZYziSPpvuqIOZn79tq62o3zCevD5ZnIGf3zC+ARF2USBeYrR/A4+thrBJYp9QqIOZn79tq62o3zCevD5m44qg5aOmrA2o3zCevDn1L75SUsVlvD9svD9svmKeMHvum+JsvD9svD9sUH5pUsVlvD9svD9svD91Mx+sYI87nIGKvxBT3wB6Ugqa3rqThaBeYQ5oYQ+ZUZhf3QBKPpnthrBJYp9SAWMyaVR/rpM+ARBya75CMH46qRVthrBJYp9QUD8VhmkBDZ9svD9svD9sUH5SvxOeM7qCnD/NYxG6n6VZ4xGZYx4W3w5CvZ/EhmVZMSBRn75eYr4pvZ/6MHoThAVZhI8fMDR6XwEoPZ9iFH/VPzheYQ+2Mz4EhzCVPZ/ZYziSPpvuqIOZn79tm+JsvD9svD9svDntm+EEhZ9Jqxqp3rONXG/UapVu+rBVXwhohD98Ug9ZrgvEm+Eo3zCevDv1XrRQvHBp36RnvZ8EYrGQhwFenz4ThrBVhr+fnxOQwDvsL6kZPKVlPz4NXx1sq6KeMx+um+JsvD9svD9sUD8VnNkBDZ9svD91L75C3IioUsVlUD8SXw3um+JQPK==

Function Calls

fread 3
strtr 2
fclose 1
OOO0000O0 1
urldecode 1
str_replace 1
base64_decode 2

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 5024
$OO00O00O0 $LANG_MODULES = array('SMARTvend_lang','function'); inclu..
$OO0OO0000 fopen
$OO0OO000O fread
$OO0OO00O0 strtr
$OOO000000 th6sbehqla4co_sadfpnr
$OOO0000O0 base64_decode
$OOO0O0O00 index.php
$LANG_MODULES [{'key': 0, 'value': 'SMARTvend_lang'}, {'key': 1, 'value': 'function'}]

Stats

MD5 f88d3d55f08335d48488fc44c8c1f765
Eval Count 3
Decode Time 117 ms