WeiWeiXinNet/test.ashx.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeiWeiXinNet
{
    /// <summary>
    /// test 的摘要说明
    /// </summary>
    public class test : IHttpHandler
    {

        string TIME_MID = "";
        string RID = "";

        public void ProcessRequest(HttpContext context)
        {


            //读取 
            HttpCookie cookie2 = context.Request.Cookies["weiweixing08"];

            if (cookie2 == null)
            {
                context.Response.Redirect("help.aspx");
            }
            else
            {
                TIME_MID = cookie2.Values["UserIDTime"];
                if (TIME_MID == null)
                {
                    context.Response.Redirect("help.aspx");
                }
                else
                {
                    //正确读取

                    RID = ClassLibraryWeiBao.ClassTimeEncryptionAlgorithm.GetID(context.Server.MapPath("~"), TIME_MID);

                    if (RID == "")
                    {
                        context.Response.Redirect("help.aspx");
                    }
                }
            }

            context.Response.ContentType = "text/html";
          //  context.Response.Write("Hello World");


            string Url  = context.Request.QueryString["dat"];

            if (Url == null)
                return;

            if (Url.ToLower().IndexOf("aspx") >= 0 || Url.ToLower().IndexOf("ashx") >= 0)
            {
                return;
            }
后面还有 18 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。