403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/penpalamerica.com/wwwroot/penpal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/penpalamerica.com/wwwroot/penpal/sendemail.php
<?php
include "general.php";
include "connect.php";
include 'sendmailclient.php';


$query= "select sn,name,email from penpal where email ='nosa.osahon@penpalamerica.com' and domain ='penpalamerica.com'";
//echo $query;
$cnt ="#";

      $con=mysqli_connect("127.0.0.1","smsEngine","guEnaR28T","smartsmsrouter");
      ///Check connection
if (mysqli_connect_errno())
{
        // //echo mysqli_error($con);
        //echo "-1";
        return '#';
        die();
}
if(!$result= mysqli_query($con,$query))
{
      mysqli_close($con);
    return "#";
}
else
{
   $photo_number=0;
   $items= [];
   $mysub="Penpal America - No Profile Picture";
   $mfrom ="<noreply@penpalamerica.com>";
   $mfromname ="Penpal America";
  while($row = mysqli_fetch_array($result))
  {
     $email = $row[2];
     $name = $row[1];
     $sn = $row[0];
     $myMessage= "Hello Dear";
     $myMessage2= $myMessage;
     // Validate email
if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
    $mymail = sendmailtoclient($email,$myMessage,$myMmessage2,$mysub,$mfrom,$mfromname);
    echo "$sn $name $email   ****done***\n";
    sleep(1);
   
  } else {
    echo(" Invalid email $email ");
  }
     
   
    

  }










   
   //echo $elem;

}
 //$last_error = json_last_error_msg();
   //if(strtolower($last_error) != "No Error") {
 //     echo "ERROR: " . $last_error; die; 
 // }

?>

Youez - 2016 - github.com/yon3zu
LinuXploit