反编译 Lua 字节码的最佳工具? [英] Best tool(s) for decompiling Lua bytecode?

查看:54
本文介绍了反编译 Lua 字节码的最佳工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很难找到一个好的 Lua 字节码反编译器.我正在尝试反编译我在游戏中找到的一些脚本文件,但它们似乎已编译,但似乎无法解码.反编译 Lua 二进制文件的最佳工具是什么?

I am really having trouble finding a good working Lua bytecode decompiler. I'm trying to decompile some scripting files I found in a game but they appear to be compiled, yet don't seem impossible to decode. What's the best tool to decompile Lua binaries?

推荐答案

看起来 LuaDec 本身是最后一个为 Lua 5.0.2 更新.针对 Lua 5.1.x 字节码的新版本已发布为 LuaDec51.wiki 始终是开始寻找 f3lix 提到的资源的好地方.邮件列表也是提问的好地方.

It looks like LuaDec itself was last updated for Lua 5.0.2. A new version targeting Lua 5.1.x bytecode has been released as LuaDec51. The wiki is always a good place to start looking for resources as mentioned by f3lix. The mailing list is also a good place to ask.

请注意,向字节码加载器添加混淆甚至加密相对容易.两者都不需要对 Lua 核心进行编辑.如果您正在分析的系统已采取任何这些措施,您可能需要做更多的工作.

Do note that it is relatively easy to add obfuscation or even encryption to the bytecode loader. Neither would require edits to the Lua core. If the system you are analyzing has taken any of those measures, you might have more work to do.

这篇关于反编译 Lua 字节码的最佳工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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