WebSite/Handlers/common/common.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace CRMSYS.Handlers.common
{
using BLL.common;
using Common;
using System;
using System.Configuration;
using System.IO;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
public partial class common : Page
{
protected void Page_Load(object sender, EventArgs e)
{
string strMethod = base.Request.Params["Method"].ToString();
if (strMethod != null)
{
TCWL_B_UserLog log;
if (!(strMethod == "loadmenu"))
{
if (strMethod == "rp")
{
log = new TCWL_B_UserLog();
base.Response.Clear();
base.Response.Write(log.getAuthoByRole(DESEncrypt.Decrypt(base.Request["svrid"].ToString()), base.Request["userID"].ToString()));
base.Response.End();
}
else if (strMethod == "DelFile")
{
string fullpath = base.Request.Form["file"].ToString();
string user = base.Request["user"].ToString();
try
{
string[] path = fullpath.Split(new char[] { '╯' });
string mobileFile = "";
for (int i = 0; i < path.Length; i++)
{
bool mb = false;
if (path[i] != "")
{
if (path[i].Trim().Contains("www."))
{
mobileFile = mobileFile + path[i].Replace(path[i].Substring(0, path[i].IndexOf("/HNTCWLUploadFile")), "..") + "╯";
mb = true;
}
if (path[i].Trim().Contains("http://"))
{
mobileFile = mobileFile + path[i].Replace(path[i].Substring(0, path[i].IndexOf("/HNTCWLUploadFile")), "..") + "╯";
mb = true;
}
if (!mb)
{
string file = path[i].Replace("../", "");
System.IO.File.Delete(HttpContext.Current.Server.MapPath("../../") + (file.Substring(0, file.LastIndexOf('/')).Replace("/", @"\") + file.Substring(file.LastIndexOf('/')).Replace("/", "//")));
}
}
}
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
