WeiWeiXinNet/admin/WebFormSecurity.aspx.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace WeiWeiXinNet.admin
{
public partial class WebFormSecurity : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
HtmlControl frame1 = (HtmlControl)this.FindControl("frame1");
if (Page.IsPostBack) return;
//读取的时候
HttpCookie cookie2 = Request.Cookies["weiweixing"];
if (cookie2 == null)
{
Response.Redirect("login.aspx");
return;
}
string name = cookie2.Values["name"];
if (name == null)
{
Response.Redirect("login.aspx");
return;
}
string md5 = cookie2.Values["md5"];
if (md5 == null)
{
Response.Redirect("login.aspx");
return;
}
}
protected void Button1_Click(object sender, EventArgs e)
{
if (TextBox1.Text.Trim() == "")
return;
string PathM = System.IO.Path.Combine(Server.MapPath("~"), "USER_DIR");
frame1.Attributes["src"] = "Security.ashx?e="+ TextBox1.Text ;
//当然你还可以动态改变frame的大小:
frame1.Attributes["width"] = "100%";
frame1.Attributes["height"] = "500px";
后面还有 19 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。