Net程序,用这种选择加壳,能脱壳吗

 我来答
恒妙菡3
2016-12-14 · TA获得超过398个赞
知道答主
回答量:194
采纳率:60%
帮助的人:70.1万
展开全部
貌似……好了一些?文本有了使用de4dot-sae
(点评无法回复OTZ)
你的check_a?
using Common;
using System;
using System.Configuration;
using System.Data;
using Util;
using Webrer.Common;

public static class Com_a_Check
{
public static bool IsZC()
{
return true;
}

public static bool IsZCExt()
{
try
{
Computer.GetMac();
SqlHelper.ExecuteDatasetBySQL("select value from
T_Intf_Online_SysConfig8000001 where
type='SysType'").Tables[0].Rows[0]["value"].ToString();
string text = "select top 1 * from T_Intf_Online_Regedit8000001";
DataSet dataSet = SqlHelper.ExecuteDatasetBySQL(text);
bool result;
if (dataSet.Tables[0].Rows.Count == 1)
{
string a = dataSet.Tables[0].Rows[0]["DogCode"].ToString();
if (a == "")
{
result = true;
return result;
}
try
{
try
{
ConfigurationManager.AppSettings["WLURL"].ToString();
}
catch (System.Exception)
{
}
string text2 = "";
if (text2 == "")
{
result = true;
return result;
}
if (Base64.DecodeBase64(text2).Split(new char[]
{
';'
}, System.StringSplitOptions.RemoveEmptyEntries)[6].Split(new char[]
{
'='
})[1] == "1")
{
result = true;
return result;
}
result = true;
return result;
}
catch (System.Exception ex)
{
Log.get_Instance().Error("IsZCExt GetWL Error: ", ex);
}
}
result = true;
return result;
}
catch (System.Exception ex2)
{
Log.get_Instance().Error("Error: ", ex2);
}
return true;
}
}

你的例子的地方
// OnlineUserLogin
public static string LoginEx(string userName, string password, string s, HttpContext context)
{
int num = 0;
string result;
try
{
DataSet dataSet =
SqlHelper.ExecuteDataset(SqlHelper.ConnectionString,
"P_Intf_Online_GetUserLogin8000001", new object[]
{
userName
});
if (dataSet.Tables.Count != 0 && dataSet.Tables[0].Rows.Count != 0)
{
DataRow dataRow = dataSet.Tables[0].Rows[0];
if (dataRow["Avail"].ToString() == "0")
{
result = Constant.LOGIN_RESULT_TYSTATUS_ERR;
}
else if (dataRow["Avail"].ToString() == "-1")
{
result = Constant.LOGIN_RESULT_SHSTATUS_ERR;
}
else if (dataRow["Avail"].ToString() != "1")
{
result = Constant.LOGIN_RESULT_FQYSTATUS_ERR;
}
else if (dataRow["Password"].ToString() != password.Trim())
{
result = Constant.LOGIN_RESULT_PASSWORD_ERR;
}
else if
(dataRow[Constant.LOGIN_USERTYPE].ToString() == "1" &&
(dataRow[Constant.LOGIN_BASEBID].ToString() == "" ||
dataRow[Constant.LOGIN_BASEBNAME].ToString() == ""))
{
Log.get_Instance().Info("用户" + userName + ",对应客户被停用或者客户被删除!");
result = Constant.LOGIN_RESULT_BASEB_ERR;
}
else
{
OnlineOrderSession onlineOrderSession = new OnlineOrderSession();
onlineOrderSession.set_BASEBCODE(dataRow[Constant.LOGIN_USERCODE].ToString());
onlineOrderSession.set_BASEBDISCOUNT(dataRow[Constant.LOGIN_BASEBDISCOUNT].ToString());
onlineOrderSession.set_BASEBID(dataRow[Constant.LOGIN_BASEBID].ToString());
onlineOrderSession.set_BASEBNAME(dataRow[Constant.LOGIN_BASEBNAME].ToString());
onlineOrderSession.set_BASEBPRICE(dataRow[Constant.LOGIN_BASEBPRICE].ToString());
onlineOrderSession.set_BASECNAME(dataRow[Constant.LOGIN_BASECNAME].ToString());
onlineOrderSession.set_CID(dataRow[Constant.LOGIN_CID].ToString());
onlineOrderSession.set_DADDRESS(dataRow[Constant.LOGIN_DADDRESS].ToString());

onlineOrderSession.set_FIRSTDATE(System.DateTime.Parse(dataRow[Constant.LOGIN_NOWDATE].ToString()).AddDays((double)(-(double)System.DateTime.Parse(dataRow[Constant.LOGIN_NOWDATE].ToString()).Day
+ 1)).ToString("yyyy-MM-dd"));
onlineOrderSession.set_ISAUTHORIZATION(dataRow[Constant.LOGIN_ISAUTHORIZATION].ToString());
onlineOrderSession.set_ISSHOWMSTOCK(dataRow[Constant.LOGIN_ISSHOWMSTOCK].ToString());
onlineOrderSession.set_ISSHOWZSTOCK(dataRow[Constant.LOGIN_ISSHOWZSTOCK].ToString());
onlineOrderSession.set_NOWDATE(dataRow[Constant.LOGIN_NOWDATE].ToString());
onlineOrderSession.set_USERCODE(dataRow[Constant.LOGIN_USERCODE].ToString());
onlineOrderSession.set_USERID(dataRow[Constant.LOGIN_USERID].ToString());
onlineOrderSession.set_USERNAME(dataRow[Constant.LOGIN_USERNAME].ToString());
onlineOrderSession.set_USERTYPE(dataRow[Constant.LOGIN_USERTYPE].ToString());
onlineOrderSession.set_IMAGEURL(dataRow[Constant.LOGIN_IMAGEURL].ToString());
onlineOrderSession.set_INDEXPAGE(dataRow[Constant.LOGIN_INDEXPAGE].ToString());
onlineOrderSession.set_ISALLORDERS(dataRow[Constant.LOGIN_ISALLORDERS].ToString());
onlineOrderSession.set_BASEEID(dataRow[Constant.LOGIN_BASEEID].ToString());
OnlineOrderSession value = onlineOrderSession;
context.Session[Constant.LOGIN_USERSESSION_OBJECT] = value;
Log.get_Instance().Info("用户" + userName + "登录成功");
if (num == 0)
{
result = Constant.LOGIN_RESULT_SUCCESS;
}
else
{
result = Constant.LOGIN_RESULT_DOGCODE_ERR;
}
}
}
else
{
result = Constant.LOGIN_RESULT_USERCODE_ERR;
}
}
catch (System.Exception ex)
{
Log.get_Instance().Error("用户" + userName + "登录异常", ex);
result = Constant.LOGIN_RESULT_USERCODE_ERR;
}
return result;
}
AiPPT
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图... 点击进入详情页
本回答由AiPPT提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式