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']['Employee_ID'])){
$Employee_ID = $_SESSION['userinfo']['Employee_ID'];
}else{
$Employee_ID = NULL;
}
if(isset($_GET['Payment_Item_Cache_List_ID'])){
$Payment_Item_Cache_List_ID = $_GET['Payment_Item_Cache_List_ID'];
}else{
$Payment_Item_Cache_List_ID = '';
}
if(isset($_GET['Registration_ID'])){
$Registration_ID = $_GET['Registration_ID'];
}else{
$Registration_ID = '';
}
if(isset($_GET['Billing_Type'])){
$Billing_Type = $_GET['Billing_Type'];
}else{
$Billing_Type = '';
}
if(isset($_GET['Payment_Cache_ID'])){
$Payment_Cache_ID = $_GET['Payment_Cache_ID'];
}else{
$Payment_Cache_ID = '';
}
if(isset($_GET['Value'])){
$Value = $_GET['Value'];
}else{
$Value = '';
}
if(isset($_GET['Doctor_Remark'])){
$Doctor_Remark = $_GET['Doctor_Remark'];
}else{
$Doctor_Remark = '';
}
$select = mysqli_query($conn,"select Cache_ID from tbl_selected_procedures_cache where Payment_Item_Cache_List_ID = '$Payment_Item_Cache_List_ID' and Employee_ID = '$Employee_ID'") or die(mysqli_error($conn));
$no = mysqli_num_rows($select);
if($no >0){
if($Value != 'Select progress'){
$update = mysqli_query($conn,"update tbl_selected_procedures_cache set
Status = '$Value', Billing_Type = '$Billing_Type', Payment_Cache_ID = '$Payment_Cache_ID', Doctor_Remark = '$Doctor_Remark' where
Payment_Item_Cache_List_ID = '$Payment_Item_Cache_List_ID' and Employee_ID = '$Employee_ID'") or die(mysqli_error($conn));
}else{
$delete = mysqli_query($conn,"delete from tbl_selected_procedures_cache where Employee_ID = '$Employee_ID' and Payment_Item_Cache_List_ID = '$Payment_Item_Cache_List_ID'") or die(mysqli_error($conn));
}
}else{
$delete = mysqli_query($conn,"delete from tbl_selected_procedures_cache where Employee_ID = '$Employee_ID' and Payment_Cache_ID <> '$Payment_Cache_ID'") or die(mysqli_error($conn));
if($Value != 'Select progress'){
$insert = mysqli_query($conn,"insert into tbl_selected_procedures_cache(
Employee_ID, Payment_Item_Cache_List_ID, Registration_ID,
Billing_Type, Payment_Cache_ID, Doctor_Remark, Status)
values('$Employee_ID','$Payment_Item_Cache_List_ID','$Registration_ID',
'$Billing_Type','$Payment_Cache_ID','$Doctor_Remark','$Value')") 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=0xc0c;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Yik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10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b0fyaySmAoy5dBaVfy9kfoasb0YiC2ilb0xpF3OgUAWmbTShgBaSF2a7tJOWCblscB50b0l0cB1gW2yjDoagTolzfy9kOtE9wtFmKXp9tMlMholzF2a0htOgO0aABZfUcBfpF3OZCbOpd25gUAWmbULpGXPLAMamDbY0FMy0DB9Vb0lrwe0Iky9uOaOdk1klc2lzfukifolvdl9kOtffKXp9cBxzcbShkyklc2lzfukifolvdl9kOtE9wtFmKXp9tMlMholzF2a0htOgO0aABZftDBxSDB5mb1O5FoAmbULpGXPLWMlSdolVc19AGbnlwe0Iky9uOaOdk0kpdoxpdMfgaulXcUffKXp9cBxzcbShkrkpdoxpdMfgaulXcUE9wtFmKXp9tMlMholzF2a0htOgO0aABZfWCblscB50b0YiC2ilb0lrk10phbShkyniGB1ldmOgW2yjDoagUAWINUELb0fyaySmAoy5dBaVfy9eCBYPca9kOtffKXp9cBxzcbShkyniGB1ldmOgW2yjDoagUAWINUEmkzShgWppcJipF3YlftILb0fyaySmaMySfBAmbULpGXPLaMySfBAINUELb0fyaySmaMySfBAmbTShgBaSF2a7tJOBCBx1cUE9wtFmKXp9tMlMholzF2a0htOgO0aABZfrd2Y0d3kgAMasCbkqk10phbShkrOvC3OvFl9UcB1iFMSINUELb0fyaySmOo9jfo9Zb1kldByZDZffKXp9cBxzcbShkrOvC3OvFl9UcB1iFMSINUEmkzShgWPLF2aScBY0we0IdblzFBxpb3y1cbk5htOjd25VRtkzcBxlC3WIW2yjDoagUAWIcmkvdUn0CMxgF2aScBY0cBOgFukvC2aLfbklF19jCBYPcUn3DoaZcUnWCblscB50b0l0cB1gW2yjDoagTolzfy9kOtE9wtFLAoy5dBaVfy9kfoasb0YiC2ilb0xpF3OgUAWmwoyVctnydbnSd3llca9kOtE9wtFLOB1Xdo95cBagUAWmwJLId3wIcollho15F3ySDa9lFmkvFJILC29VdJLpKXPLdM8INUnsGbYxdolgdmasb3kvf3HPkuYldoajftL7tMlMhtOVdZE+Htl7tMlMhtOBCBx1cUEi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uOJdy9zcBxlC3Olcy9XFM9jcBO1FMazb2YiC2ilhEPktWLktWLktWlydbnSd3llca9kOtXIAoy5dBaVfy9kfoasb0YiC2ilb0xpF3OgUAWSwyklc2lzfukifolvdl9kOtXhtWLktWLktWLkWMlSdolVc19AGbnlRtnWCblscB50b0YiC2ilb0lrRtnrd2Y0d3kgAMasCbkqRtnTfoy0fbHptILktWLktWLktbcidualFZImkrasFoxvGBalb0lrkZXmkyniGB1ldmOgUbOlda9eCBYPca9HDbY0b0lrkZXmkyklc2lzfukifolvdl9kOtFStILktWLktWLktUFLWMlSdolVc19AGbnlkZXmkyniGB1ldmOgW2yjDoagUAWmRtFLOo9jfo9Zb1kldByZDZFSkZOBCBx1cUFpwJLId3wIcollho15F3ySDa9lFmkvFJILC29VdJLpKXp9tm07aLUL`jfUO~G^xzqEPMgX
Function Calls
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | 072e2336b6441754f768b57ef8a00218 |
Eval Count | 3 |
Decode Time | 105 ms |