解码Roblox后门 [英] Decoding a Roblox backdoor

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

问题描述

我正在研究Roblox lua脚本,该脚本是在我管理的游戏中搜索后门时发现的.后门加载了一个外部脚本,我从中获取了源代码,并且正在对其进行解码和反向工程.

I am working on a Roblox lua script that I found when searching for backdoors into a game I moderate. The backdoor loaded an external script that I got the source code for and I am working on decoding and reverse engineering it.

我遇到麻烦的那条线是

local varname = #{6133}

这真的使我感到困惑,因为我以前从未遇到过.我很少进行Lua编程,但是我有Java和C ++的经验,但是即使经过研究,我也不知道#{number}的作用.

This is really confusing me because I have never encountered it before. I do very little Lua programming but I am experience in Java and C++, but even after research I don't know what the #{number} does.

我也遇到了#{num1,num2,num3等},但是我怀疑这和这篇文章的第一行几乎一样.

I have also ran into #{num1, num2, num3, etc.} but I suspect that does practically the same as the first line in this post.

如果有人可以帮助我了解上述内容,那将是很棒的事情,谢谢.

If anyone can help me understand what the above does that would be great, thank you.

推荐答案

{6133} 创建一个具有一个元素的序列:6133.#是长度运算符,其长度告诉您序列中有多少个元素.将它们放在一起,很明显#{6133} 只是写数字 1 的一种复杂方式.

{6133} creates a sequence with one element: 6133. # is the length operator, which tells you how many elements are in a sequence. Putting them together, it becomes clear that #{6133} is just a complicated way of writing the number 1.

这篇关于解码Roblox后门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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