SkidSec WebShell

Server Address : 2a02:4780:a:760:0:37cc:13e2:3

Web Server : LiteSpeed

Uname : Linux uk-fast-web660.main-hosting.eu 5.14.0-570.55.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:27:51 EDT 2025 x86_64

PHP Version : 7.4.33



Current Path : /home/u936121314/public_html/



Current File : /home/u936121314/public_html/mail.php
<?php
//Import PHPMailer classes into the global namespace
//These must be at the top of your script, not inside a function
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;

if(isset($_POST['mail'])){
    $id='mail@startechworld.com';
    $pass='mdhDDFS$uir&IX23Lkj87';
    $to='info@startechworld.com';
    $from = $_POST['email'];
    $name = $_POST['name'];
    $phone = $_POST['phone'];
    $message = $_POST['message'];
    $subject=$_POST['subject'];
    $message1 = "\n Client Email : ".$from."\n Client Name : ". $name. "\n Contact Number : ".$phone. "\n Wrote the Following message : \n".$message;
    $header="location:contact.php";
}


require 'PHPMailer/PHPMailer/src/Exception.php';
require 'PHPMailer/PHPMailer/src/PHPMailer.php';
require 'PHPMailer/PHPMailer/src/SMTP.php';

//Create an instance; passing `true` enables exceptions
$mail = new PHPMailer(true);
//Server settings
$mail->isSMTP();                                            //Send using SMTP
$mail->SMTPDebug = 0;
$mail->Host       = 'smtp.hostinger.com';                     //Set the SMTP server to send through
$mail->SMTPAuth   = true;                                   //Enable SMTP authentication
$mail->Username   = $id;                     //SMTP username
$mail->Password   = $pass;                               //SMTP password
$mail->Port       = 465;                                    
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;            //Enable implicit SMTPS encryption
//Recipients
$mail->setFrom($id,'StarTech Enquiries');
$mail->addAddress($to);     //Add a recipient

//Content
$mail->Subject = $subject;
$mail->Body    = $message1;


$mail->send();
if($mail){
echo '<script type="text/javascript">alert("Sent successfully. We will contact you shortly!")</script>';    
}
else {
echo '<script type="text/javascript">alert("Submission Failed! Try again later.")</script>';
}
header($header);

?>