Bart Bartoman
Bart Bartoman

Reputation: 766

Lua desobfuscation

I was checking some Lua source, trying to get and learn from them, but it seems there are encoded & obsfuscated.

I decoded it using base64 decode, but still unreadable.

Is there any ways to desobfuscate it?

LuaR“


æÆì~>o¢by„A@€ÁÀAA†AÅÂAFB„K¥Jƒƒ„JÃB…¥CJƒ†¥ƒJƒƒ†ŒCÀC€‹ÀÝ€EÀ À…ŠÃ
âƒcþåÃ%eD‹Á„…AÅEÁFA†ÆÁGA‡ŠÄÅ    Š„ÅŠF
ŠDÆ
Š„FŠÄÆŠGŠDÇŠ„G
ŠÄÇ
ŠH‹Á‡ˆAÈHÁIA‰ÉÁ JAŠ
ÁJ‹AËKÁ L   AŒ  Ì   Á
M
A
Í
Á
ÁJ‹AËKÁ L   AŒ  Ì   Á
M
A
Í
Á

Upvotes: 0

Views: 1272

Answers (3)

user6889435
user6889435

Reputation:

This is compiled lua source. You can use this tool to decompile. It isn't actually obfuscated.

Upvotes: 0

lhf
lhf

Reputation: 72312

This is a precompiled Lua 5.2 script.

You can see its contents with luac -l -p foo.

Make sure you use luac from Lua 5.2. If in doubt, try luac -v.

Upvotes: 1

marsgpl
marsgpl

Reputation: 671

Sure: luadec

Just curious, why did you tried base64? That chunk you provided is a simple lua code, translated to lua vm bytecodes. it is not even obfuscated.

Upvotes: 0

Related Questions