-1

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

frenzied
  • 7
  • 1
  • How is this file supposed to be used? It does not run for me on any Lua version. – Luke100000 May 06 '23 at 10:54
  • its lua script for neverlose csgo cheat, grenade helper (auto throwing grenades) – frenzied May 06 '23 at 10:57
  • Do you know by any chance what Lua version they use, and whether it's custom? Mimak found out it's LuaJIT 2 tho my 2.1 installation can't run it. – Luke100000 May 06 '23 at 11:00
  • I'm very sorry, this is for gamesense cheat, here is its documentation - https://gamesensical.gitbook.io/docs/developers/development/compiling – frenzied May 06 '23 at 11:13

1 Answers1

2

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  ---------------------------
mimak
  • 211
  • 2
  • 9
  • He does not give me the source code, that's why I ask. – frenzied May 06 '23 at 10:24
  • [LjTools](https://github.com/rochus-keller/LjTools) looks promising, I haven't tried it out due to Linux-only support – mimak May 06 '23 at 11:32
  • also i can share documentation of this lua - gamesensical.gitbook.io/docs/developers/development/compiling – frenzied May 06 '23 at 11:34
  • @frenzied the docs tell you how to compile the source code, your file is luajit bytecode (the extension should be `.ljbc` to avoid confusion) – mimak May 06 '23 at 11:36
  • maybe i need attach it too... https://drive.google.com/file/d/1k5ZlY77S4UO4JsjJOtYwahi2hE1r_oW2/view?usp=share_link – frenzied May 06 '23 at 11:41