如何反编译这个反LuaJIT反编译器?

huangapple go评论66阅读模式
英文:

how to decompile this anti luajit decompiler?

问题

这是Lua代码文件链接,你想知道这是什么方法,以及如何反编译它。我是新手,不懂如何反编译,希望有人能帮忙。

英文:

here is lua - https://drive.google.com/file/d/1H9aDCEFgyMVoL7vikmcvbmMnTimAW2xm/view?usp=share_link
what method is this? how to decompile it?

I'm new in this area, I don't understand how to decompile this, I hope someone can help

答案1

得分: 2

这个文件是 LuaJIT 2 二进制文件 - 文件签名:

1B 4C 4A 02 02 CF 03 02 01 10 01 0F 04 5C 0B 00        .LJ..Ď.......\..       

这个二进制格式在这里有详细解释。我尝试使用luajit-decompiler,但反编译失败了。

另一个有趣的是,在二进制文件中存在以下字符串,也许你可以在 Discord 上联系作者:

---------------------------  anti luajit decompiler :)   by sapphyrus -- Phil#9999  ---------------------------
英文:

The file is a LuaJIT 2 binary - file signature:

1B 4C 4A 02 02 CF 03 02 01 10 01 0F 04 5C 0B 00        .LJ..Ď.......\..       

The binary format is explained here. I tried using luajit-decompiler though the decompilation fails.

One interesting thing is this string present in the binary, perhaps you can contact the author on Discord:

---------------------------  anti luajit decompiler :)   by sapphyrus -- Phil#9999  ---------------------------

答案2

得分: 0

我的反编译器适用于您的文件,但请注意它们已经被严重混淆,您需要自行解混淆。

字节码也缺少调试信息,这意味着反编译的Lua代码会有许多自动生成的变量,因为原始变量名称已丢失。

链接:https://github.com/marsinator358/luajit-decompiler-v2

英文:

My decompiler works with your files, though be aware that they are heavily obfuscated so you will need to de-obfuscate them yourself.

The bytecode is also missing debug info, which means that the decompiled lua code will have lots of auto generated variables since the original variable names are lost.

https://github.com/marsinator358/luajit-decompiler-v2

huangapple
  • 本文由 发表于 2023年5月6日 17:49:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76188223.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定