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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

 include_once("./functions/stocktaking.php");
if(isset($_GET['Stock_Taking_Item_ID'])){
$Stock_Taking_Item_ID = $_GET['Stock_Taking_Item_ID'];
}else{
$Stock_Taking_Item_ID = 0;
}
if(isset($_GET['Stock_Taking_ID'])){
$Stock_Taking_ID = $_GET['Stock_Taking_ID'];
}else{
$Stock_Taking_ID = 0;
}
if ($Stock_Taking_Item_ID >0) {
if (Remove_Stock_Taking_Item($Stock_Taking_Item_ID)) {
echo "<table width='100%' border='0'><tbody>";
echo "<tr>";
echo "<td style='text-align: center; width: 4%;'>Sn</td>";
echo "<td style='text-align: center; width: 40%;'>Item Name</td>";
echo "<td style='text-align: center; width: 10%;'>Store Balance</td>";
echo "<td style='text-align: center; width: 10%;'>Under Quantity</td>";
echo "<td style='text-align: center; width: 10%;'>Over Quantity</td>";
echo "<td style='text-align: center; width: 10%;'>Store Balance After Stock Taking</td>";
echo "<td style='text-align: center; width: 10%;'>Remark</td>";
echo "<td style='text-align: center; width: 7%;'>Remove</td>";
echo "</tr>";
$Stock_Taking_Items = Get_Stock_Taking_Items($Stock_Taking_ID);
$i = 1;
foreach($Stock_Taking_Items as $Stock_Taking_Item) {
echo "<tr>";
echo "<td> <input type='text' value='{$i}'/>  </td>";
echo "<td> <input type='text' readonly='readonly'
                                id='Product_Name_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Stock_Taking_Item['Product_Name']}'/>  </td>";
echo "<td> <input type='text' readonly='readonly'
                                id='Store_Balance_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Stock_Taking_Item['Store_Balance']}'/>  </td>";
echo "<td> <input type='text'
                                id='Under_Quantity_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Stock_Taking_Item['Under_Quantity']}'
                                onclick=\"removeZero(this)\"
                                onkeypress=\"numberOnly(this); Update_Under_Quantity(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\"
                                onkeyup=\"numberOnly(this); Update_Under_Quantity(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\"/>
                                </td>";
echo "<td> <input type='text'
                                id='Over_Quantity_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Stock_Taking_Item['Over_Quantity']}'
                                onclick=\"removeZero(this)\"
                                onkeypress=\"numberOnly(this); Update_Over_Quantity(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\"
                                onkeyup=\"numberOnly(this); Update_Over_Quantity(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\"/>
                                </td>";
$Balance_After_Stock_Taking = $Stock_Taking_Item['Store_Balance'];
$Over_Quantity = $Stock_Taking_Item['Over_Quantity'];
if ($Over_Quantity >0) {
$Balance_After_Stock_Taking = $Stock_Taking_Item['Store_Balance'] +$Over_Quantity;
}
$Under_Quantity = $Stock_Taking_Item['Under_Quantity'];
if ($Under_Quantity >0) {
$Balance_After_Stock_Taking = $Stock_Taking_Item['Store_Balance'] -$Under_Quantity;
}
echo "<td> <input type='text'
                                id='Balance_After_Stock_Taking_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Balance_After_Stock_Taking}' readonly />
                                </td>";
echo "<td> <input type='text'
                                id='Item_Remark_{$Stock_Taking_Item['Stock_Taking_Item_ID']}'
                                value='{$Stock_Taking_Item['Item_Remark']}'
                                onkeypress=\"Update_Item_Remark(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\"
                                onkeyup=\"Update_Item_Remark(this.value,{$Stock_Taking_Item['Stock_Taking_Item_ID']})\" />
                                </td>";
echo "<td> <input type='button' name='Remove_Item' id='Remove_Item' value='X' class='art-button'
                                onclick='Confirm_Remove_Item(\"{$Stock_Taking_Item['Product_Name']}\", {$Stock_Taking_Item['Stock_Taking_Item_ID']})' />  </td>";
echo "</tr>";
$i++;
}
echo "</tbody></table>";
}
};

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1674;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Yik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEy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XJabnLCbOlb0l0cB1gAMasCbkqhuOPDbHVfMySfBASGZOTfo9jD19ACBspdMfgUbOldaSmA3OvC2sgaoyqDB5mb0l0cB1gUAWmbb0pbtwhwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtnvdMslGbaXNaXJabnLCbOlb0l0cB1gAMasCbkqhuOPDbHVfMySfBASGZOTfo9jD19ACBspdMfgUbOldaSmA3OvC2sgaoyqDB5mb0l0cB1gUAWmbb0pbtwIRz4hwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtE8R3OLNJw7tMajDo8Iwjx0ce4INolVFua0wuO5FoA9k2k1fuOvdJFIdMyscT0mAMasd3clb0l0cB0mwolLNUfUcB1vfMagUbOldUFIfMySfBA9k1ImwoYSCbYzNUfiFmWsCma0fo9VkXPIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwo9VC2xpC2S9k0YvdMcpFM1gAMasd3clb0l0cB0Pbtk7kyY0d2Yqb1OiD2lVc19kfoasBZfWFM9LfBY0b05idBAmbb1FwJXIGZOTfo9jD19ACBspdMfgUbOldaSmA3OvC2sgaoyqDB5mb0l0cB1gUAWmbb0pkZEvNJEINt90ce4JKXplC2ivwtw8R3OZNJw7tJOphZS7tm0hcBYPdZEJNt90CM9LGT48R3OiCMxlNJw7tm0hgTS=ziEe][[_ze[J{X^eu

Function Calls

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

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 5748
$OO00O00O0 include_once("./functions/stocktaking.php"); if(isset($_GET..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 77c115115f21c7fe2ff98f77c97538ed
Eval Count 3
Decode Time 95 ms