⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvinfotech.com1
/
View File Name :
mail.php
<?php require 'email/PHPMailerAutoload.php'; if($_POST){ if(isset($_POST['submit'])) { // print_r($_POST['name']);die(); $name=$_POST['name']; $from=$_POST['email']; $phone=$_POST['mobile']; if(!empty($phone)) // phone number is not empty { if(preg_match('/^\d{10}$/',$phone)) // phone number is valid { $phone =$phone; $messages=$_POST['message']; $sendmailcheck_result = sendmailcheck($messages); //print_r($sendmailcheck_result);die(); if($sendmailcheck_result) { $name1 = "Name : ".$name; $mobileno = "Mobile : ".$phone; $desc = $messages; $namelen = strlen($name1); $mobilelen = strlen($phone); $desclen = strlen($desc); $totlen = $namelen + $mobilelen; $remcount = 160 - $totlen; $enqdesc = substr($desc,0,$remcount); $message1 = $name1." ".$mobileno." ".$enqdesc; $msg1 = urlencode($message1); $mobile = "9094345145"; //$mobile = "9843909035"; $url2 = 'http://103.250.30.5/SendSMS/sendmsg.php?uname=NINOSADMIN&pass=abc321&send=SKVINF&dest='.$mobile.'&msg='.$msg1.''; $rr = file_get_contents($url2); $mail = enquiry_mail($name, $from, $phone, $messages); if($mail) { echo "<script>alert('Mail Sent Successfully')</script>"; echo "<script>window.location='index';</script>"; $return = '<div style="width: 100%; margin: 0 auto;overflow: hidden; font-family:arial"> <header style="width: 100%; height:auto;padding: 5px 10px;background: #b5155f; overflow:hidden;"> <img src="http://www.skvinfotech.com/images/logo.png" alt="" style=" width: 200px; height: auto; float: left;"> </header> <section style="padding: 20px 20px 0 20px;background:#f9f9f9;border-right: 1px solid #b5155f;border-left: 1px solid #b5155f;"> <div style="color:#424242;"> <p style=" font-size:14px; line-height:20px;"> Dear <strong>'.$name.',</strong>,</p> <p style="font-size:14px; line-height:20px;">Good day!. Greeting from skvinfotech</p> <p style="text-align:justify; font-size:14px; line-height:20px;">Thanks for showing interest on our services in skvinfotech. Your Enquiry was successfully delivered. You will receive a call shortly. Incase of Emergency Requirments, Please don\'t hesitate to call:<strong>+91 90943 45145 / +91 95145 22223</strong></p> </div> <div style=" margin-top: 50px; color:#424242;"> <p style="line-height: 15px;font-size: 14px;"><strong>Thanks & Regards,</strong></p> <p style="line-height: 15px;font-size: 14px;">skvinfotech</p> <p style="line-height:15px;font-size: 14px;">+91 90943 45145/ +91 95145 22223</p> </div> <div style="text-align:center; padding-top:50px; padding-bottom:20px;"> <ul style="padding: 0 !important;list-style: :none; margin: 0;text-align:center;"> <li style="display: inline;padding: 0; margin: 0 !important;"> <a href="" style=" color: #fff;display: inline-block;padding: 5px 5px;margin: 5px 0;"> <img src="http://hostatecphasis.com/images/facebook-logo.png" alt="facebook" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href="" style=" color: #fff; display: inline-block; padding: 5px 5px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/twitter-logo.png" alt="LinkedIn" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href="" style=" color: #fff; display: inline-block; padding: 3px 3px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/pinterest-logo-w.png" alt="LinkedIn" width="15" height="15"></a> </li> </ul> <p style="margin:0;color:#8c8c8c;font-weight:bold; font-size:12px;line-height:16px;"><strong>Phone:</strong>+91 90943 45145/+91 95145 22223 <br>Email:info@skvinfotech.com </p> </div> </section> <footer style="background: #b5155f;width: 100%;overflow: hidden;"> <div style="width: 100%; padding: 10px 0;"> <p style=" margin: 0;text-align: center; margin-right: 30px;line-height: 25px;color:#fff; font-size:14px;"><strong>Branding By:</strong> <a href="http://www.ecphasisinfotech.com" style="background:#fff;padding:15px 3px;"><img style=" width: 120px; height: auto; margin-right: 10px; vertical-align: middle;" src="http://www.ecphasisinfotech.com/images/ecphasisinfotech-logo.png" alt=""></a> </p> <div style="text-align:center;"> <p style=" font-size:14px;margin: 0;display:inline-block; margin-right: 10px;line-height: 25px; color:#fff;"><strong>For Branding: </strong> <img src="http://hostatecphasis.com/images/call-answer-w.png" alt="LinkedIn" width="15" height="15" style="vertical-align:middle;"> <span style=" color: #fff;"><strong>+91 9962211492</strong></span></p> <p style=" font-size:14px;margin: 0;display:inline-block; margin-right: 10px;line-height: 25px; color:#fff;"> <img src="http://hostatecphasis.com/images/close-envelope-w.png" alt="LinkedIn" width="15" height="15" style="vertical-align:middle;"> <span style=" color: #fff;"><strong>info@ecphasisinfotech.com</strong></span></p> <ul style="display:inline-block;padding: 0 !important;list-style: :none; margin: 0;text-align:center;"> <li style="display: inline;padding: 0; margin: 0 !important;"> <a href="https://www.facebook.com/ecphasis" style=" color: #fff;display: inline-block;padding: 3px 3px;margin: 5px 0;"> <img src="http://hostatecphasis.com/images/facebook-logo-w.png" alt="facebook" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href="https://plus.google.com/app/basic/104208256626448761033" style=" color: #fff; display: inline-block; padding: 3px 3px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/google-plus-logo-w.png" alt="Google Plus" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href="https://twitter.com/ecphasisinfo" style=" color: #fff; display: inline-block; padding: 3px 3px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/twitter-logo-w.png" alt="LinkedIn" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href=" https://in.linkedin.com/in/ecphasis-infotech-49a08537" style=" color: #fff; display: inline-block; padding: 3px 3px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/linkedin-logo-w.png" alt="LinkedIn" width="15" height="15"></a> </li> <li style="display: inline;padding: 0; margin: 0;"> <a href="https://in.pinterest.com/ecphasis/" style=" color: #fff; display: inline-block; padding: 3px 3px; margin: 5px 0;"><img src="http://hostatecphasis.com/images/pinterest-logo-w.png" alt="LinkedIn" width="15" height="15"></a> </li> </ul> </div> </div> </footer> </div>'; $mail = new PHPMailer; $mail->Host = 'smtp.skvinfotech.com'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'info@skvinfotech.com'; // SMTP username $mail->Password = 'info@123'; // SMTP password $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 587; // TCP port to connect to $mail->setFrom('info@skvinfotech.com', 'skvinfotech'); $mail->addAddress($from,$to); // Add a recipient $mail->isHTML(true); // Set email format to HTML $mail->Subject = 'Enquiry Mail Sent Successfully'; $mail->Body = $return; //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; if(!$mail->send()) { return false; } else { return true; } } else { echo "<script>window.location='index';alert('Failed. please try again.');</script>"; } } else { echo "<script>window.location='index';alert('Failed. please try again.');</script>"; } // your other code here } else // phone number is not valid { echo "<script>window.location='index';alert('Phone number invalid !');</script>"; } } else // phone number is empty { echo "<script>window.location='index';alert('You must provid a phone number !');</script>"; } } } else { echo "<script>window.location='index';</script>"; } function enquiry_mail($name, $from, $phone, $messages) { date_default_timezone_set('Asia/kolkata'); $date = date('Y-m-d h:i:s a'); $subject="$name enquired in SKV COMPUTER SCRAP BUYER"; $content = '<html> <head> <style type="text/css"></style> </head> <body> <p>Date: '.$date.'</p> <p>From: '.$from.'</p> <p>To: info@skvinfotech.com</p> <p>Dear skvinfotech</p><br> <p>Mr .'.$name.' Made on in your www.skvinfotech.com Please find the details below of Mr .'.$name.' enquired </p> <div style="width: 100%;margin:0px auto;;font-family:calibri;"> <div style="width:100%;margin-top: 10px;float:left;"> <h4 style="margin-top: 10px;background-color:#282828;color:#fff;letter-spacing: 1px;border-radius:4px; padding: 10px;font-size:18px;">Enquiry From '.$name.' </h4> <table style="width:100%;border:1px solid #ccc;padding:7px;margin:1em 0px"> <h1 style="text-transform:uppercase;color:#ff5361">skvinfotech</h1> <tbody> <tr style="height:35px;line-height:35px;border-bottom:1px solid #ddd;"> <td style="width:50%;">Name</td> <td style="text-indent:20px;"> '.$name.'</td> </tr> <tr style="height:35px;line-height:35px;border-bottom:1px solid #ddd;"> <td style="width:50%">E-mail</td> <td style="text-indent:20px;"> '.$from.'</td> </tr> <tr style="height:35px;line-height:35px;border-bottom:1px solid #ddd;"> <td style="width:50%">Phone Number</td> <td style="text-indent:20px;"> '.$phone.'</td> </tr> <tr style="height:35px;line-height:35px;border-bottom:1px solid #ddd;"> <td style="width:50%">Message</td> <td style="text-indent:20px;"> '.$messages.'</td> </tr> </tbody> </table> <p><strong>Note:</strong>This email is automatically genereated from the www.skvinfotech.com if you feel anything wrong kindly contact the support team,Ninositsolution:+044-43852285</p><br> <p>Thanks And Regards<br> skvinfotech<br> +91 90943 45145 /+91 95145 22223<br> </p> </div> </body> </html>'; $mail = new PHPMailer; $mail->Host = 'smtp.skvinfotech.com'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'info@skvinfotech.com'; // SMTP username $mail->Password = 'info@123'; // SMTP password $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 587; // TCP port to connect to $mail->setFrom('info@skvinfotech.com', 'skvinfotech'); // Add a recipient $mail->addAddress('vencky1990@gmail.com','skvinfotech'); //$mail->addAddress('sam@ninositsolution.com','skvinfotech'); $mail->addReplyTo($from,$return); $mail->addCC('ecphasisinfotech2008@gmail.com'); $mail->addCC('support@ninositsolution.com'); $mail->addCC('nizamdeen.t@ninositsolution.com'); $mail->addBCC('matthew@ninositsolution.com','skvinfotech'); $mail->isHTML(true); // Set email format to HTML $mail->Subject = $subject; $mail->Body = $content; //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; if(!$mail->send()) { return false; } else { return true; } } function sendmailcheck($message) { $badWords = array("anal","anus","arse","ass","ass fuck","ass hole","assfucker","asshole","assshole","bastard","bitch","black cock","bloody hell","boong","cock","cockfucker","cocksuck","cocksucker","coon","coonnass","crap","cunt","cyberfuck","damn","darn","dick","dirty","douche","erect","erection","erotic","escort","fag","faggot","fuck","Fuck off","fuck you","fuckass","fuckhole","god damn","gook","hard core","hardcore","homoerotic","hore","lesbian","lesbians","mother fucker","motherfuck","motherfucker","negro","nigger","orgasim","orgasm","penis","penisfucker","piss","piss off","porn","porno","pornography","pussy","retard","sadist","sex","sexy","shit","slut","son of a bitch","suck","tits","viagra","whore","xxx","Fast Money","The Busy Budgeter", "вÐâ", "How to Make","crypto","cryptocurrency","Krypto","bitcoin","bitcoins","https:","http:","www","https","http","href"); $string = $message; $matches = array(); $matchFound = preg_match_all( "/\b(" . implode($badWords,"|") . ")\b/i", $string, $matches ); if ($matchFound) { return false; }else{ return true; } } ?>