Silverlight 代码混淆
我正在寻找可用于 Silverlight 代码混淆的任何免费工具的推荐。 Obfuscator专业版支持Silverlight,但Obfuscator社区版不支持。
Google Code 中的 Obfuscar 要求手动指定不应混淆的每个项目,因此必须手动列出 XAML 中引用的每个控件和属性。 没有选项可以不混淆任何公共类型和成员的名称。 即使我手动指定每个公共类和成员,我也不知道是否还潜伏着任何其他 Silverlight 问题。
我没有兴趣开始另一场关于代码混淆是否明智或缺乏的讨论。
I'm looking for recommendations of any free tools available for Silverlight code obfuscation. The professional version of obfuscator supports Silverlight, but the community edition of Obfuscator does not.
Obfuscar from Google Code requires manual specification of every item that shouldn't be obfuscated, so every control and property referenced in XAML must be manually listed. There's no option to not obfuscate names of any public types and members. Even if I manually specify every public class and member, I don't know yet whether there are any other Silverlight issues lurking.
I'm not interested in starting another discussion about the wisdom of code obfuscation, or the lack thereof.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
.NET Reactor 是浪费钱。 几乎所有版本的程序都有自动解包工具,并且作者不回复电子邮件。 在对许多混淆器进行评估和测试期间,我得出了以下列表:
CodeFort - 非常有前途。 在撰写本文时缺少一些功能,但作者已经在研究它们并且对电子邮件非常敏感。 与其他产品相比也便宜。
CLISecure - 良好的支持和产品,但非常昂贵
SmartAssembly - 受保护的程序崩溃,也可以使用反混淆器,但他们时不时地改变一些小东西来阻止它们,所以这是一个不错的选择。
9Rays - 几乎没有混淆任何东西。 (我检查了设置)太浪费钱了。
DeapSea - 比 CodeFort 更贵,功能更少。
CryptoObfuscator - 中等价格和功能丰富。 但我不确定保护有多强。 根据一些帖子,一度很容易破解。 不确定情况是否仍然如此。
.NET Reactor is a waste of money. There are automatic unpacking tools for almost all versions of the program and the author doesn't answer emails. During my evaluations and testing of a lot of obfuscators I came up with the following list:
CodeFort - Very promising. Missing some features at the time of writing but author is already working on them and very responsive to emails. Cheap in comparison to others as well.
CLISecure - Good support and product but very very pricey
SmartAssembly - Protected program crashed also deobfuscators available but they change small things now and then to thwart them so Its a good choice.
9Rays - Hardly obfuscated anything. (I checked the settings) So waste of money.
DeapSea - More expensive then CodeFort and fewer features.
CryptoObfuscator - Mid range pricing and feature packed. But I'm not sure how strong the protection is. At one point it was very easy to crack according to some posts. Not sure if that's is still the case.
我很高兴地告诉您,您不再需要从 Silverlight 程序集的混淆中手动排除类型和成员。 事实上,您根本不必排除任何东西。
CodeFort 是第一个引入 XAML 和 BAML 重命名的混淆器。 这意味着对 XAML 和 BAML 代码内部的类型和成员的引用将与混淆的其余部分同步更新 - 通过这样做,就不需要像今天所有其他混淆器那样使大部分代码不受保护。
如果您想亲自查看,请从我们的网站下载 CodeFort 免费版:
http://codefort.org/download
希望这有帮助,
Christian
codefort.org
I am excited to tell you, that you no longer have to manually exclude types and members from obfuscation of Silverlight assemblies. In fact, you don't have to exclude anything at all.
CodeFort is the first obfuscator ever to introduce XAML and BAML renaming. This means that references to types and members inside of the XAML and BAML code will be updated in sync with the rest of the obfuscation - and by doing that there's no need to leave large portions of the code unprotected, as all other obfuscators do today.
If you want to take a look for yourself, go download the CodeFort Free Edition from our website:
http://codefort.org/download
Hope this helps,
Christian
codefort.org
Visual Studio 2010 附带的 Dotfuscator Community Edition 版本将支持 Silverlight 2 和 Silverlight 3 程序集的混淆。
The version of Dotfuscator Community Edition that will ship with Visual Studio 2010 will support obfuscation of both Silverlight 2 and Silverlight 3 assemblies.
http://code.google.com/p/babelobfuscator/ 免费且超酷的一款目前 :)
http://code.google.com/p/babelobfuscator/ the free and cool one for now :)
我还没见过好的& 到目前为止,Silverlight 的免费混淆器。 以下是一些廉价混淆器的精彩评论:
http://www.olsonsoft.com/ blogs/stefanolson/post/Selecting-an-obfuscator-for-Silverlight.aspx。
作者选择 .NET Reactor 作为最喜欢的混淆器。
I haven't seen a good & free obfuscator for Silverlight so far. Here is a nice review of some cheap obfuscators:
http://www.olsonsoft.com/blogs/stefanolson/post/Selecting-an-obfuscator-for-Silverlight.aspx.
The author choosed .NET Reactor as favorit obfuscator.
PreEmptive Solutions 正处于最新 Dotfuscator 版本 beta 测试的最后阶段,该版本将保护范围从 Silverlight 程序集扩展到 XAML 资源。 (这种支持已经在 WPF/BAML 中实现)。 这样做有三个好处; 更多的程序集受到保护,您的 XAML 受到保护,并且您可以节省时间,因为配置现在更加简单(不再有排除)。
如果您有兴趣成为 Beta 候选者,请给我发送电子邮件([电子邮件受保护]) 我会让我们的支持团队向您发送凭据。 请记住,这是测试版 - 不收取任何费用 - 您将可以获得我们的支持 - 但您不能使用此版本进行任何生产工作。
唯一的软件要求是 .NET 1.1 或更高版本以及 Silverlight 2 或更高版本。 (是 - 在 Windows Mobile 7、Windows Azure 等中对此进行测试)
需要考虑的其他一些事项:
• 分析(功能和使用情况跟踪)也可以在编译后注入
• 分析还支持 Expression Blend Silverlight 分析框架(允许设计时网络分析和编译后检测合二为一)。
• Dotfuscator 使用 XAP 文件而不是程序集,并自动对它们进行重新签名,使您的构建变得更加简单。
• Dotfuscator 也是一个高效的“修剪器”,可以一路缩小您的 Silverlight 应用程序...
有关我们的“通用 Silverlight 支持”的更多信息,请参阅我们的 TechEd 公告,网址为 http://www.preemptive.com/news-events/press-releases/307
PreEmptive Solutions is in the final phase of beta testing the latest Dotfuscator release that extends protection beyond the Silverlight assembly and into the XAML resources too. (This kind of support is already in production for WPF/BAML). This has three benefits; more of your assembly is protected, your XAML is protected, and you save time since configuration is now much simpler (no more exclusions).
If you are interesting in being a beta candidate, email me ([email protected]) and I will have our support team send you credentials. Please keep in mind, this is beta – there are no fees – and you will have access to our support – but you cannot use this version for any production work.
The only software requirements are .NET 1.1 or higher and Silverlight 2 or higher. (Yes - test this inside Windows Mobile 7, Windows Azure, ...)
A few other things to consider:
• Analytics (feature and usage tracking) can also be injected post-compile
• The analytics also support the Expression Blend Silverlight Analytics Framework (allowing both design-time web analytics and post-compile- time instrumentation in one).
• Dotfuscator consumes XAP files rather than assemblies and re-signs them automatically making your builds that much simpler.
• Dotfuscator is also an efficient “pruner” shrinking you Silverlight apps along the way…
For more information on our “universal Silverlight support”, see our TechEd announcement at http://www.preemptive.com/news-events/press-releases/307