lua代码去混淆 [英] lua code deobfuscation

查看:54
本文介绍了lua代码去混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近下载了一些 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='277611797811444864646758928511510111411592651081011209268101115107116111112'
loadstring(code)()

更多(加密?)代码.

'196228661198193194225128129322641412819719319819319536219622201291218'

'196228661198193194225128129322641412819719319819319536219622201291218'

推荐答案

看起来根本没有加密.似乎它只是一个字节序列.每个反斜杠代表一个字符及其字节码.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆