lua代码去混淆 [英] lua code deobfuscation
问题描述
我最近下载了一些 lua 代码,我在里面发现了一些混淆的字符串.这让我想知道那里使用了什么样的混淆技术.有人有想法吗?
I've recently downloaded some lua code and what I found inside was some obfuscated string. That made me wonder what sort of obfuscation technique was used there. Does anybody have an idea?
local code='27761179781 14448 64 646758928511510111411592651081011209268101115107116111112'
loadstring(code)()
更多(加密?)代码.
'19622866 11981931942251281293226414128197193 1981931953621962220129 1218'
'19622866 11981931942251281293226414128197193 1981931953621962220129 1218'
推荐答案
看起来根本没有加密.似乎它只是一个字节序列.每个反斜杠代表一个字符及其字节码.
Doesn't look encrypted at all. Seems like it's just a sequence of bytes. Each backslash represents a character with its byte code.
27 是转义符,76 是L",117 是u",97 是a"等等.
27 is escape, 76 is 'L', 117 is 'u', 97 is 'a' and so on.
通过一个简短的脚本运行它给了我这个字符串(符号是特殊字符,例如转义、标题开始和空值):←LuaQ ☺♦♦ @@C:UsersAlexDesktop
Running it through a short script gives me this string (symbols are special characters, such as escape, start of heading and null): ←LuaQ ☺♦♦ @ @C:UsersAlexDesktop
您可以在 一个 ascii 表上查找字节.
更新:一些研究告诉我 LuaQ 意味着它是一个预编译的脚本或类似的东西.不过我可能会离开.
Update: A bit of research told me that LuaQ means that it's a precompiled script or something of the sort. I could be way off though.
这篇关于lua代码去混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!