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


$titlehead = "Internal Mark Calculation Config";
require("commontop.php");
$delete_id = base64_decode($_GET['del_id']);
if($delete_id)
{
$condition = 'intAutoNo='.$gnl->fn_cleandata($delete_id);
$num = $db->fn_delete(' academic_internal_calculation_config',$condition);
if($num==1) $msg = "Record Deleted Successfully";
}
$res_course	=	$db->fn_select("SELECT DISTINCT A.intCourseID, B.chrCourseName 
								FROM coursesem_divmaster A
								LEFT JOIN course_master B ON A.intCourseID = B.intAutoNo
								WHERE A.chrStatus = 'Y' AND B.intCampusID = '$campus_id'
								ORDER BY chrCourseName ASC");
if($gnl->fn_null_not($keywords) == true)
{
$cnd	=	" AND A.intCourseID  = '$keywords' ";
}
$sel_div = "SELECT A.*, B.chrCourseName, C.chrSubject, D.chrCriteria
	 			FROM  academic_internal_calculation_config A
	 			LEFT JOIN  course_master B ON B.intAutoNo = A.intCourseID 
				LEFT JOIN  academic_subjects C On C.intAutoNo = A.intSubID 
				LEFT JOIN  academic_criteria_master D ON D.intAutoNo = A.intCriteriaID 
				WHERE 1 $cnd
				
				ORDER BY intCourseID ASC";
$res_dep = $db->fn_select($sel_div);
$total = $db->fn_num_rows($sel_div);
require('pagination.php');
$sel_divs = $sel_div." LIMIT $startfrom,$listing_per_page";
$res_divs = $db->fn_select($sel_divs);
$count_divs = $db->fn_num_rows($sel_divs);
$first_num = (($page-1)*$listing_per_page)+1;

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=0x740;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Nyk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>G[G@OdLLTPQ\kr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLO0xNWLyHA1SmT09NHeEXHr8Xk10PkrfHT0knTyYdk09NTzEXHeEXTZffhtOuTr9tWAxTBZfNHr8XHr9NHeEmbUILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmO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JwryKOtnnRMlVfrYvfbkzcAlrwtE9wtFLD2a5f29ZcuHmwtw7eWp9eWPLF2aSb2OpfJE9wtkTOAxyW1WIWU4QRtntRMYPFLYvfbkzcA5idBASwrHVC2iZA3aJDMajftXIOt5jDukeFMl0cbkpCW0htUEktWloAL9YwtniC2yLcB1pC19pdmOlFM5idy9jCBxjfBxifolvdl9jd25MDBFIWW0htUEktWlHOAcAwrpNUA4IwoYvfbkzca9sCbY0cbwIWJnNTJntRMlVfry1fo9KdZE9wrrVDB50W291FmYlUAWIeWPktWLkTraoatnhT0lKwtniC2yLcB1pC19zfBkQcBY0FZnewr9VwrHVDB50Wba0d05vwe0IWU5pdmOTfBkkOtEYtILktWlHOAcAwrpNUA4IwoyjCBOldBljb2YZDbOlFMlib21iF3OlFJnrwr9KwrWVDB50Wba0d05vwe0IWU5pdmOeFMl0cbkpCAlrwE0htWLktafwOakywerIkoYVcE0htWLktW0htWLktA9UOraUwrkcwolVfrYvfbkzcAlrwryTWZw7eWPLFMazb2OlFtE9wtOLCJ0+cM5gF2aScBY0htOzcBxgcol2hTSYtJO0d3OidtE9wtOLCJ0+cM5gdmasb3kvf3HPkuYldy9LDbCpKX0hFMaxfBlZcUImFoymDB5ifolvdJ5XDuEmhTSYtJOzcBxgcol2FZE9wtOzcBxgcol2RJwITrlYUaWIkuY0Cbk0cmkvdUXLdolzfolVc19XcbkgFoymcUw7eWPLFMazb2OpfmHINUELcowsNMcVb3YldoajftILF2aSb2OpfmHpKX0hkoYvfB50b2OpfmHINUELcowsNMcVb251da9Zd3fzhtOzcBxgcol2FZL7eWPLcMlZF3Ogdmaswe0IhtILFoymcU0xhUPLdolzfolVc19XcbkgFoymcULqHTS=Bqrpbus

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 1856
$OO00O00O0 $titlehead = "Internal Mark Calculation Config"; require(..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 94151150c97f7039f73288392b57060a
Eval Count 3
Decode Time 113 ms