Questions tagged [lua]

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

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

How to decompress file encrypt lua

I recently decrypted a mobile game, after decrypting xxtea and luajit I got strange encryption file, it was an extra layer of encryption before finding the original .lua file content. I'm very ...
Neit's user avatar
  • 41
0 votes
0 answers
57 views

Need SOME help decrypt xxtea encrypted Lua file from cocos2D game LIBRARY

iam trying from a while to figure out the key this cocos2dx game but couldn't figure it out if someone could abit help with the way to find these keys you check the the file from here https://github....
SHADOWDIANA's user avatar
1 vote
1 answer
709 views

How to decode lua files and resource files that are protected from Frida and IDA64?

I am trying to decrypt Lua files from an Android game "The Sea Road: Fate Assembly" (APK download link). It uses Cocos2d-x, but it's encrypted, maybe with AES encryption. With Frida, the ...
xbuyk987's user avatar
2 votes
1 answer
568 views

Need help decrypt xxtea encrypted Lua file from cocos2D game

I was trying to recreate this game because it was down but I really love it. I tried to decompile the apk and I got the java code and the assets then I looked around the code and found out the main ...
NoName's user avatar
  • 23
2 votes
0 answers
111 views

How to find passphrase for Lua maked in cocos game?

I tried to decompile and find main.lua in file (link below) with IDA Pro but it wasn't helpful, because every lua file has it own signature and there is no key near string main.lua. I also tried to ...
Alexander's user avatar
2 votes
0 answers
111 views

I need help to read this code of a .lua file

i want to read the next code, is library of commands in a .lua for a program called xenobot the code is rly big https://pastebin.pl/view/1539062b
Hallvaroz's user avatar
2 votes
0 answers
192 views

Find decryption key of coco2d lua

I am trying to find the encryption key for a lua file from a .so file But I am new in this field. I visit websites and found that key is inside xxteaDecrypt function I found two xxteaDecrypt function. ...
Ritesh's user avatar
  • 21
1 vote
1 answer
512 views

HELP Decrypting Lua files

i'm trying to mod a game named : DDTank Mobile, which is on both Android & IOS. This game runs on cocos2d engine, the thing is the lua files are encrypted. I read somewhere to look for 'sign' at ...
TroPicz MoDzy's user avatar
3 votes
0 answers
561 views

How to decrypt cocos2d luac type?

I am new with IDA and cocos2d. Since I have learned how to decrypt cocos2d Lua file, I found xxtea tool with Sign and Key and how to find Sign header in some game in Lua file. But that method does not ...
Lan Cuong's user avatar
1 vote
1 answer
485 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://...
Kdo plane's user avatar
1 vote
0 answers
160 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 ...
user3449922's user avatar
2 votes
2 answers
2k 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....
user3347749's user avatar
0 votes
0 answers
3k 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 ...
Mi Hu's user avatar
  • 1
3 votes
1 answer
1k 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 ...
Maren Podarm's 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 ...
Azat Idrisov's user avatar
2 votes
1 answer
20k 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. ...
Cartion's user avatar
  • 31
1 vote
0 answers
561 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. ...
LolHacksRule's user avatar
0 votes
0 answers
566 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 ...
Pavle's user avatar
  • 11
1 vote
2 answers
1k 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 ...
DanH50049's user avatar
1 vote
1 answer
735 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 ...
Jalomba's user avatar
  • 11
2 votes
2 answers
3k 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 ...
dsasmblr's user avatar
  • 2,234
-3 votes
1 answer
847 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 ...
lunar's user avatar
  • 11