的Flex /空气混淆 [英] Flex / Air obfuscation

查看:144
本文介绍了的Flex /空气混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经写的Flex应用程序(大部分),我关心的是保护源$ C ​​$ C。我解雇了的 Trillix闪客演示,开辟了安装到我的Program Files目录下的SWF文件。我看到所有的动作包我写在那里。我不是太关心的包,即使是code大量,因为它似乎仍然pretty的不可用而不MXML文件。我认为他们是转换为ActionScript,或至少我希望如此。不过,我仍想探索混淆。

I've written (most of) an application in Flex and I am concerned with protecting the source code. I fired up a demo of Trillix swf decompiler and opened up the swf file that was installed to my Program Files directory. I saw that all of the actionscript packages I wrote were there. I'm not too concerned with the packages, even though there is a substantial amount of code, because it still seems pretty unusable without the mxml files. I think they are converted to actionscript, or atleast I hope. However, I would still like to explore obfuscation.

有没有人有闪光/ ActionScript 3的/ Flex的模糊处理的经验吗?你能推荐一个好的产品?

Does anyone have any experience with Flash / Actionscript 3 / Flex obfuscators? Can you recommend a good product?

推荐答案

下面是我会怎么做。

  • 编译应用程序SWF文件。然后使用AES加密的SWF。

  • Compile your application to a SWF file. Then encrypt the SWF using AES.

请一个包装应用程序加载加密的SWF到使用的URLLoader的ByteArray

Make a "wrapper" application that loads the encrypted SWF into a ByteArray using URLLoader

使用 as3crypto 库到SWF在运行时进行解密。

Use the as3crypto library to decrypt the swf at runtime.

一旦被解密,使用Loader.loadBytes加载解密的swf到封装应用程序。

Once decrypted, use Loader.loadBytes to load the decrypted swf into the wrapper application.

这将使得很多困难,让您的code。不是不可能,但很难。

This will make it a lot harder to get your code. Not impossible, but harder.

有关AIR应用程序,你可以离开SWF提供应用程序给最终用户时,加密。然后,你可以提供包含用于在SWF解密密钥的注册码。

For AIR applications you could leave the SWF encrypted when delivering the application to the end-user. Then you could provide a registration key that contains the key used to decrypt the SWF.

此外,这里是一个链接到一个AS3混淆。我不知道有多好它的工作原理,但。 <一href="http://www.ambiera.com/irrfuscator/index.html">http://www.ambiera.com/irrfuscator/index.html

Also, here is a link to an AS3 obfuscator. I am not sure how well it works though. http://www.ambiera.com/irrfuscator/index.html

这篇关于的Flex /空气混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆