MOON
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.4.10
System: Linux vps.presagepowered.net 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: mckernan (512)
PHP: 5.4.10
Disabled: NONE
Upload Files
File: /home/mckernan/public_html/iJournal/index.php
<?php
	set_time_limit(0);
	
	// init
	define('DB_PREFIX', 'mckernan_ijnl_');
	
	
	// include files
	require "includes/functions.php";
	
		
	
	// get request
	if (isset($_POST['mod'])) $mode = $_POST['mod'];
	if (isset($_POST['act'])) $action = $_POST['act'];
	
	if (isset($_GET['mod'])) $mode = $_GET['mod'];
	if (isset($_GET['act'])) $action = $_GET['act'];
	
		
	$mode = whitelist_request('mode', $mode);
	$action = whitelist_request('action', $mode, $action);
	
	$inc = "includes/" . $mode . "/" . $action . ".php";
	
	// get sid
	$sid = getRawSID();
	
	// process request
	if (file_exists($inc))
	{
		require $inc;
	}
	else
	{
		header('Server: ');
		header('X-Powered-By: ');
		header("HTTP/1.0 404 Not Found");
	}
?>