- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
因此,在下面的代码中,您会注意到注释“//This item is obfuscated and can't be translation.”。
我想知道的是,这是否意味着该注释代替了一些混淆代码,后面的内容实际上并未混淆,还是意味着“以下代码已混淆”?
从我在网上可以找到的内容来看,这听起来像是前者,但我不确定。代码显然看起来很模糊,但并非不可翻译,只是很搞笑。
public static NameValueCollection ParseStringIntoNameValueCollection(string responseString, bool undoCallbackEscapes)
{
// This item is obfuscated and can not be translated.
NameValueCollection values;
string[] strArray;
int num;
string str2;
string str3;
int num3;
goto Label_0027;
Label_0002:
switch (num3)
{
case 0:
if (!undoCallbackEscapes)
{
goto Label_0057;
}
num3 = 4;
goto Label_0002;
case 1:
goto Label_00E5;
case 2:
if (num < strArray.Length)
{
string str = strArray[num];
int index = str.IndexOf('=');
str2 = str.Substring(0, index);
str3 = str.Substring(index + 1);
num3 = 0;
}
else
{
num3 = 6;
}
goto Label_0002;
case 3:
if (7 < (7 - 5))
{
goto Label_0071;
}
goto Label_00E5;
case 4:
str2 = unEscapeCallbacks(str2);
str3 = unEscapeCallbacks(str3);
num3 = 5;
goto Label_0002;
case 5:
goto Label_0057;
case 6:
return values;
}
Label_0027:
values = new NameValueCollection();
strArray = responseString.Split(new char[] { '&' }, StringSplitOptions.RemoveEmptyEntries);
num = 0;
num3 = 1;
goto Label_0002;
Label_0057:
values.Add(str2, str3);
num++;
num3 = 3;
goto Label_0002;
Label_00E5:
num3 = 2;
goto Label_0002;
}
最佳答案
从某种意义上说,它似乎看起来很模糊,它是一个字符串函数,它根据与号拆分字符串并通过 switch
/case
以确定如何处理它。 goto
的用法纯粹(从它的外观来看)以一种有点糟糕的方式混淆了代码阅读器......
当然,您可以使用 Redgate 的反射器(以前称为 Rutz Loeder 的反射器)加载任何 .NET EXE/DLL 来分析和转储代码,因此无论它如何“混淆”,混淆都没有真正起到作用,因为代码可以完全反编译容易地。
没有保护 .NET EXE/DLL 的真正方法,除非它被加密并使用非托管 C/C++ 代码加载 .NET 运行时,解密 .NET EXE 并将其加载到新托管的应用程序域中......
希望这可以帮助,
此致,
汤姆。
关于obfuscation - Reflector:这段代码中的注释是否意味着整个事情都被混淆了?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2345553/
我如何重新编译我编辑过的代码 或者用原始文件替换它并在 dotpeek 中将其另存为 exe? 我尝试重新编译编辑过的文件并保存它,但我不能 如果您找到任何方法,请分享 谢谢 最佳答案 在Assemb
因此,在下面的代码中,您会注意到注释“//This item is obfuscated and can't be translation.”。 我想知道的是,这是否意味着该注释代替了一些混淆代码,后
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我正在使用 beta 7.2 反射器,当我尝试反射某些 exe 文件时,我看到了这条消息。这是什么意思? 谢谢 最佳答案 这意味着 EXE 不是 .NET assembly.它是标准的 Windows
在 .NET Reflector 的先前版本中,我能够获取函数内指令的命名空间,但现在我不能并且文档不存在。 Red Gate 的 .NET Reflector 6.8.2.5(最后一个免费版本) 这
我正在使用 @SetMetaData('version', 'v2') 为 Controller 中的 http 方法设置版本控制。然后我有一个自定义的 @Get() 装饰器来将版本作为后缀添加到 C
给出下面的示例源代码,有人可以使用反汇编程序查看 _secret 的值吗?我没有看到通过 Reflector 获取值的方法,但我用得不多。假设代码没有以任何方式混淆。 class Foo {
我正在使用 @SetMetaData('version', 'v2') 为 Controller 中的 http 方法设置版本控制。然后我有一个自定义的 @Get() 装饰器来将版本作为后缀添加到 C
Reflector 显示了自动属性: public string AddressLine1 { [CompilerGenerated] get { return
有没有办法让反射器反汇编回新的 C# 结构? 自动实现的属性是这样的: [CompilerGenerated] private string k__BackingField; public stri
所以我正在反射一些框架 2.0 代码并以以下解构结束 fixed (void* voidRef3 = ((void*) &_someMember)) { ... } 由于“固定语句赋值的右侧可能不是强
这个问题在这里已经有了答案: 关闭 11 年前。 Possible Duplicate: Open Source Alternatives to Reflector? 自 3 月以来,此工具不再免费
我正在使用 Reflection.Emit 动态生成一个程序集,然后保存它。它包含一个 Type 和一个静态 Main() 方法。 .NET 足以自动引用所需的程序集。但是,在 Main() 中,有一
我不时听到有人提到一个或多个名为“reflector(s)”的邮件列表,C++ 标准委员会的成员在其中讨论与他们在 C++ 标准化方面的工作相关的问题。 这些邮件列表是否可供公众阅读?如果是这样,有人
COM 库有没有像 Reflector 这样的工具?我想打开一个 COM 库并像在 Reflector 中一样浏览类和接口(interface)。如果可能的话,我宁愿不安装 Visual Basic
我对 .NET 有点陌生,但对编程并不陌生,而且我对反汇编编译的 .NET 代码的趋势和兴奋感到有些困惑。似乎毫无意义。 .NET 的高级易用性是我使用它的原因。我在资源有限的环境中编写了 C 和真正
当我们跑 (.someMethod obj arg1 arg2 arg3) clojure.lang.Reflector 类是否一直在使用,这对性能有何影响? 最佳答案 这取决于编译器是否可以静态确定
是否可以使用 .NET Reflector (或其他工具)来修改和重新编译代码 快 (也就是说,不转储源代码,然后使用 Visual Studio 重新编译它)? 最佳答案 您可能可以使用 Refle
就目前情况而言,这个问题不太适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、民意调查或扩展讨论。如果您觉得这个问题可以改进并可能重新开放,visit
作为 .NET 和 C# 的新程序员,我发现使用 .NET Reflector 是一个令人难以置信的实用程序,可以用来查看“专业人士”如何编写他们的代码。 任何人都可以建议好的基于 .NET 的应用程
我是一名优秀的程序员,十分优秀!