有什么工具可以将swf反编译为flex

发布于 2024-08-07 23:22:41 字数 94 浏览 3 评论 0原文

您如何知道 swf 是使用 flash 还是 flex 编写的? 有没有办法编译回flex?

我知道sothink是针对flash的,但是有针对flex的吗?

How can you know that an swf was written using flash or flex?
and is there a way to compile back to flex?

I know sothink's for flash, but any thing for flex?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只是一片海 2024-08-14 23:22:41

Flex 应用程序本质上是 Flash SWF - 唯一的区别是 Flex 编译器生成大量中间代码(如果使用 -keep 编译器选项,您可以看到这些代码)并转换该代码(而不是您的 mxml 代码)到 SWF。

所以我想当你用任何反编译 Flash SWF 的工具反编译 Flex 应用程序时,你只会得到这个生成的代码(而不是你的 mxml) - 这可能有帮助,也可能没有帮助 - 这取决于你的要求.

只需 Google 搜索即可找到硕思闪客精灵V5.2支持SWF转Flex

A Flex app is fundamentally a Flash SWF - the only difference is that the flex compiler generates a lot of intermediate code (that you can see if you use -keep compiler option) and converts that code (instead of your mxml code) to SWF.

So I guess when you decompile a flex application with whatever tool you use to decompile a flash SWF, you will get only this generated code (and not your mxml) - which may or may not be helpful - it depends on your requirement.

Just googled to find that Sothink SWF Decompiler V5.2 supports SWF to Flex

鸩远一方 2024-08-14 23:22:41

据报道,硕思闪客精灵和 Eltima FlashDecompiler 都支持 Flex 反编译。我曾多次使用硕思的解决方案来帮助进行安全审核并手动优化字节码,反编译后的结果与您对任何闪存反编译器的期望差不多。

导出到 Flex 提供了一个 Flex 项目,如果不手动编辑文件,通常无法重新编译该项目。然而,原始项目的大部分内容确实与源代码保持相对接近(剥离变量名称、多阶段变量分配等),如果您熟悉源代码,那么没有什么是无法修复的。我猜你是这样的,除非你偷偷地偷看别人的生计。

话虽如此,对于那些不了解闪存安全问题或有兴趣保护您的资产的人来说,惠普的 Prajakta Jagdale 最近在今年的 ShmooCon 上做了一场关于闪存反编译的演讲,非常引人入胜。如果您有兴趣,可以在线观看该视频,但我将找到该视频作为读者的练习。

Sothink SWF Decompiler and Eltima FlashDecompiler both reportedly support Flex decompilation. I have used Sothink's solution a few times to help in security audits and hand optimizing the byte code and when decompiled the result was about what you can expect out of any flash decompiler.

Exporting to flex provides a flex project that can not usually be recompiled without hand editing your files. However much of the original project does stay relatively close to the source (stripped variable names, multi stage variable assignment, etc.) and is nothing you can't fix if you're familiar with the source code. Which I assume you are, unless of course you're sneaking peeks at others livelihoods.

With that being said, for those of you who are unaware of flash security issues or have an interest in protecting your assets, Prajakta Jagdale at HP recently did a talk on flash decompilation at ShmooCon this year that is rather engaging. The video is available online if you're interested, but I'll leave finding that one as an exercise for the reader.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文