WebUI/index.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace hyst
{
using DBUtility;
using Model;
using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class index : Page
{
protected HtmlForm Form1;
protected ImageButton ImageButton1;
protected HtmlInputPassword password;
protected HtmlInputText username;
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Userinfo userl = new Userinfo();
switch (userl.UserLogin(this.username.Value.Trim(), DESEncrypt.Encrypt(this.password.Value)))
{
case "true":
base.ClientScript.RegisterStartupScript(base.ClientScript.GetType(), "myscript", "<script>var manager = $.ligerDialog.waitting('登录成功,正在跳转...');setTimeout(function (){ ll(); }, 1000);;</script>");
break;
case "pwd":
base.ClientScript.RegisterStartupScript(base.ClientScript.GetType(), "myscript", "<script> f_alert2('warn', '输入密码错误!');</script>");
break;
case "user":
base.ClientScript.RegisterStartupScript(base.ClientScript.GetType(), "myscript", "<script>f_alert2('warn', '用户名不存在!');</script>");
break;
}
}
protected void Page_Load(object sender, EventArgs e)
{
}
public string ProcessSqlStr(string Str)
{
string SqlStr = "exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare";
string ReturnValue = Str;
try
{
if (Str != "")
{
string[] anySqlStr = SqlStr.Split(new char[] { '|' });
foreach (string ss in anySqlStr)
{
if (Str.ToLower().IndexOf(ss) >= 0)
{
ReturnValue = "";
}
}
}
}
catch
{
ReturnValue = "";
后面还有 10 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
