Best tool(s) for decompiling Lua bytecode? [closed]

こ雲淡風輕ζ 提交于 2019-12-17 10:54:33

问题


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?


回答1:


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.

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.




回答2:


The Lua Tools page of the lua-users.org wiki lists a couple of decompilers. Your choice will depend on which Lua version your are trying to decompile...



来源:https://stackoverflow.com/questions/743684/best-tools-for-decompiling-lua-bytecode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!