Questions tagged [lua]

Lua is a lightweight, embeddable, multi-paradigm, dynamically-typed programming languague.

Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

I have a Lua script encrypted with heading nxsR nx

I decompiled an Android game named Global City and from the assets folder I got a folder of scripts. I tried many methods to open the Lua file, but most of the decrypting tools say that it is not a ...
user avatar
  • 1
1 vote
1 answer
122 views

How to found signature XTEA for Lua

I found an dynamic link library, which is available for download at the following link: [libgame.so] (https://easyupload.io/oh94nx) I found the function responsible for decrypting xtea: (https://...
user avatar
0 votes
0 answers
78 views

A way to detect a anti-cheating system

I have created a DLL for DLL inject injection to add a force feedback to a GOG game. The DLL Work perfectly. I have tried to see how work the Debug in CE with this script: debugProcess() -- Attach ...
user avatar
1 vote
1 answer
755 views

Decode lua scripts for cocos2d based game / frida, android

I'm trying to decrypt LUA scripts from cocos2dx game (for wiki). In most cases, it's XXTEA based, but not in this case. The game itself: https://apkpure.com/might-magic-era-of-chaos/com.ubisoft.might....
user avatar
0 votes
0 answers
2k views

Lua script decode method?

I have a game plugin that enables the lua script encryption.I tried to decode it but it seems used many useless encode method to let you cannot understand it.It seem like some enctypted lua script ...
user avatar
  • 1
3 votes
1 answer
793 views

Decrypting some possibly XXTEA encrypted lua/game files

I am trying to extract assets from a Chinese game, I downloaded the apk file and unzipped it. I looked through the files and they are encrypted in some ways, the PNGs and LUAs are unviewable. The ...
user avatar
2 votes
1 answer
2k views

Decrypting Lua Files from game

I'm truing to decrypt LUA scrpits from cocos2dx game (for wiki). Links to files of game: libhellolua.so (cocos2dx external library) example encrypted LUA-scripts (*.abc files) I was reading a ...
user avatar
2 votes
1 answer
16k views

Decrypting Lua Files

I am trying to decrypt a lua file which has been encrypting using a key. Some background to the LUA file. Its from an android Game i decompiled the APK and found that all the lua files are encrypted. ...
user avatar
  • 31
1 vote
0 answers
349 views

How to decompile these LUAs from the Bookworm Adventures games?

I'm trying to decompile the LUCs (customly extensioned LUAs) from both of the games but they won't decompile, they aren't encrypted and use LUA version 5.0.2 (32-bit) according to the game's code. ...
user avatar
0 votes
0 answers
422 views

Finding lua addresses with ida

I tried to find lua_pcall, lua_newthread, luaL_loadbuffer, lua_tolstring, lua_pushcclosure and lua_pushinteger functions with IDA decompiler but I didn't find them. Can someone please tell me what is ...
user avatar
  • 11
1 vote
2 answers
530 views

Finding lua C functions compiled binary

So i am trying to "hack" a game however not for cheating purposes. I am looking to extend the games scripting functionality through a DLL that can look for processes and return them. The game I am ...
user avatar
1 vote
1 answer
518 views

FLIRT Signature Applied, IDA shows references but no auto rename?

So, I have a program which I am 99% sure it is using Lua as when I look at string references I see this: Which I am understanding that somewhere in this program they have statically linked a Lua C or ...
user avatar
  • 11
2 votes
2 answers
2k views

Need help with reverse engineering camera-related information in a video game

I've posited a similar question over on the Game Development StackExchange, but I'm going to refine it, elaborate, and piecemeal a more R.E.-specific context with the hope that someone out there has ...
user avatar
  • 2,144
-3 votes
1 answer
607 views

Reversing Luac (is there a way to get proper variable names)

I've been trying to (reverse) a Lua script to source code again. Only problem I've got is that all variables are named "L**", is there a way to decode that ? it looks like this if I decompile it with ...
user avatar
  • 11