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


session_start();
include("./includes/connection.php");
if(isset($_SESSION['userinfo'])){
if(isset($_SESSION['userinfo']['Storage_And_Supply_Work'])){
if($_SESSION['userinfo']['Storage_And_Supply_Work'] != 'yes'){
header("Location: ./index.php?InvalidPrivilege=yes");
}else{
@session_start();
if(!isset($_SESSION['Storage_Supervisor'])){
header("Location: ./storagesupervisorauthentication.php?InvalidSupervisorAuthentication=yes");
}
}
}else{
header("Location: ./index.php?InvalidPrivilege=yes");
}
}else{
@session_destroy();
header("Location: ../index.php?InvalidPrivilege=yes");
}
if(isset($_GET['Order_Item_ID'])){
$Order_Item_ID = $_GET['Order_Item_ID'];
}else{
$Order_Item_ID = '';
}
if(isset($_GET['Container_Qty'])){
$Container_Qty = $_GET['Container_Qty'];
}else{
$Container_Qty = '';
}
if(isset($_GET['Items_Qty'])){
$Items_Qty = $_GET['Items_Qty'];
}else{
$Items_Qty = '';
}
if(isset($_GET['Quantity_Required'])){
$Quantity_Required = $_GET['Quantity_Required'];
}else{
$Quantity_Required = '';
}
if ($Order_Item_ID != ''&&$Container_Qty != ''&&$Items_Qty != ''&&$Quantity_Required != ''){
$UpdateStore_Order_Item = mysqli_query($conn,"UPDATE tbl_store_order_items
                                               SET Container_Qty = $Container_Qty,
                                                   Items_Qty = $Items_Qty,
                                                   Quantity_Required = $Quantity_Required
                                               WHERE Order_Item_ID = '$Order_Item_ID'") or die(mysqli_error($conn));
};

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=0x80c;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU3ZCk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>y@kr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLO0xNWLyHA1SmT09NHeEXHr8Xk10PkrfHT0knTyYdk09NTzEXHeEXTZffhtOuTr9tWAxTBZfNHr8XHr9NHeEmbUILTzEXHr8XTzEXRtONTzEXTzEXH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ZcoaZb0l0cB1gUAWINUEmkr9ZcoaZb0l0cB1gUAWmwJLId3wIcollho15F3ySDa9lFmkvFJILC29VdJLpKXp9KX==BhdXsmKf[pCDDo^

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 2060
$OO00O00O0 session_start(); include("./includes/connection.php"); if(i..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 ec45df5dbeb08c97fc4fe4a7a52dcaa5
Eval Count 3
Decode Time 99 ms