吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 114262|回复: 138
收起左侧

[原创] lua脚本解密2:unluac

    [复制链接]
Ganlv 发表于 2018-2-9 16:29
本帖最后由 Ganlv 于 2018-5-9 23:52 编辑

系列教程

样本

世界还真是不太平呢。

上一篇帖子 lua脚本解密167# 层 提供了一个文件

过程

导出 lua 内容

文件内容是这样的

01.jpg

还是用 print

02.jpg

得到的内容如下

03.jpg

这个不是正常的 lua 代码,但是他又确确实实在脚本文件中被 loadstring 函数调用了。那么只能说明一个问题,这个东西的确可以被 lua 识别,是编译之后的 lua 代码。

我搜索了一下 lua decompile

04.jpg

如果我翻墙了的话肯定用 Google,不过为了方便我就用 Bing 国际版了,搜索结果比 Google 那是差远了。

接下来就是挨个试了。

反编译器 1:LuaDec

官方网站:http://luadec.luaforge.net/

下载地址:http://files.luaforge.net/releases/luadec/luadec 选择最新版 0.6,然后选择 luadec-0.6-win32.zip

我首先试了一下 LuaDec 这个东西,它提示只支持 lua 5.0,待解析的文件是 lua 5.1 编译的文件

虽然我用 lua 5.3 来分析 loadstring 中的内容,但是我是知道这个东西使用的 lua 版本是 lua 5.1 的,因为 loadstring 这个函数在 lua 5.2 之后被移除了。

反编译器 2:luadec51

网站:https://github.com/sztupy/luadec51

下载地址:https://github.com/sztupy/luadec51/releases 选择 luadec51_2.0.2_win32.zip

然后我就用 luadec51 这个东西试了一下

luadec51 2.lua

他提示了这个东西:预编译块头错误

luadec51: 2.lua: bad header in precompiled chunk

我最开始以为是我用的 lua 5.3 的问题。我又去下载了一个 lua 5.1,重新试试。

05.jpg

结果更有意思了,只输出了一部分。

根据我的经验,这个是解码输出时出现了问题。因为二进制文件不像文本文件那样,可以随便 print,尤其像 \0 这种东西。想到这里我又想到了除了 \0 之外,严重的一个东西是 \n,在 Windows 下如果使用 > 这个符号导出内容,会自动把 \n 变成 \r\n,这个就会破坏二进制文件里的 0x10 这个字节码。

为了验证这个问题,于是我就把 1.lua 改成这样的了。

a = '\27\76\117\97\81此处略去一万字'
print(string.len(a))

06.jpg

lua 得到的文件长度是 13599 字节,而 lua 5.3 生成的文件是 13606 字节,再看看生成的文件正好 7 行,就是多了 7 个 \r。所以我们需要处理一下这个问题。

Bing 一下 lua binary write, StackOverflow上给出了解答 https://stackoverflow.com/questions/17462099/reading-writing-binary-files/17466416#17466416

我把文件改成了

a = '\27\76\117\97\81此处略去一万字'
local out = io.open("2.lua", "wb")
out:write(a)
out:close()

然后执行即可

07.jpg

这回对了。

我们再次送入 luadec51 反编译,结果还是同样的问题。于是我又 Bing 一下 bad header in precompiled chunk 这个错误。

找到了这个 Issue https://github.com/sztupy/luadec51/issues/9

08.jpg

Eventually, however, I gave up and used this library instead
最终,我放弃了,然后使用了这个库

他推荐使用 unluac 这个东西,那我们就试试吧

反编译器 3:unluac

网站:https://sourceforge.net/projects/unluac/

下载地址:https://sourceforge.net/projects/unluac/files/latest/download

09.jpg

看到是 jar 文件肯定是 Java 了,需要装 JRE 的。这个自己百度吧。如果你玩过 Minecraft 这个游戏的话,这一步还是很熟练的吧。

然后我们执行

java -jar unluac_2015_06_13.jar 2.lua > 3.lua

10.jpg

反编译之后是这样的

11.jpg

看样子只有 m16,不要多想了

12.jpg

处理混淆

我自己习惯用 PHP,那就用 PHP 了,其实就是做个字符串替换

代码中包含中文

如果原始的代码包含中文,解密之后可能会出现 lua脚本解密4 这种情况,所有的字符串都是用 \ddd的形式表示的。

出现这种问题可能是unluac解码时没有使用 --rawstring 选项,尝试使用:

java -jar unluac_2015_06_13.jar --rawstring 2.lua > 3.lua

相关链接

附录

免费评分

参与人数 18威望 +1 吾爱币 +27 热心值 +18 收起 理由
XhyEax + 1 + 1 我很赞同!
tuiseshuicai + 1 + 1 用心讨论,共获提升!
q592239 + 1 + 1 我很赞同!
syszfsj + 1 + 1 热心回复!
gm188 + 1 + 1 就想修改手游存档
myheartwillg + 1 谢谢分享好东西
陈独秀DayShow + 1 + 1 大哥上次脚本解密我根据你的方法已经会了,就是luaR解密.但是怎么将lua加密.
dpyhs + 1 + 1 热心回复!
skyfire1945 + 1 + 1 感觉很高端的样子
kylinmadao + 1 + 1 大佬啊
皮皮鼠我们走 + 1 + 1 受益匪浅
青春期_。 + 2 + 1 热心回复!
a5606495 + 1 + 1 谢谢@Thanks!
zyqdzyqd + 1 + 1 谢谢@Thanks!
745237896 + 1 + 1 虽然看不懂 但就是厉害
hiflydragon + 1 + 1 我很赞同!
aniudi + 1 + 1 我很赞同!
Hmily + 1 + 10 + 1 感谢发布原创作品,吾爱破解论坛因你更精彩!

查看全部评分

本帖被以下淘专辑推荐:

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

云涵i 发表于 2018-4-7 16:39
跪求大神解密到function E()
  BQ = gg.choice({
    "\226\173\144\229\176\143\232\147\157\228\186\186\239\188\136\229\164\167\229\142\133\229\188\128\230\181\129\231\149\133\231\148\187\232\180\168 \231\168\179\229\174\154\239\188\137",
    "\226\173\144\229\176\143\231\187\191\228\186\186\239\188\136\229\164\167\229\142\133\229\188\128\230\181\129\231\149\133\231\148\187\232\180\168 \231\168\179\229\174\154\239\188\137",
    "\226\173\144\229\143\152\232\137\178\228\186\186\239\188\136\229\164\167\229\142\133\229\188\128\230\181\129\231\149\133\231\148\187\232\180\168 \231\168\179\229\174\154\239\188\137",
    "\226\173\144\229\176\143\231\180\171\228\186\186\239\188\136\229\164\167\229\142\133\229\188\128\230\181\129\231\149\133\231\148\187\232\180\168 \231\168\179\229\174\154\239\188\137",
    "\226\173\144\229\176\143\231\153\189\228\186\186\239\188\136\233\131\168\229\136\134\230\137\139\230\156\186\229\176\129\229\143\183\239\188\137",
    "\228\184\138\228\184\128\233\161\181"
  }, nil, "\228\184\131\230\156\136\231\178\190\229\191\131\229\136\182\228\189\156")
  if BQ == 1 then


这一步之后怎么解接下来
 楼主| Ganlv 发表于 2018-4-7 18:13
云涵i 发表于 2018-4-7 16:39
跪求大神解密到function E()
  BQ = gg.choice({
    "\226\173\144\229\176\143\232\147\157\228\186\18 ...

打开命令行
先 chcp 65001 换成 UTF-8 模式
然后打开 lua5.1
然后print这个字符串

13.jpg

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
云涵i + 1 + 1 谢谢@Thanks!

查看全部评分

ramsm_0 发表于 2019-5-10 17:23
[Lua] 纯文本查看 复制代码
LJ = gg.getFile()
file = io.open(LJ, "r")
assert(file)
function DZSH(A0_0)
  local L1_1
  L1_1 = string
  L1_1 = L1_1.find
  L1_1 = L1_1(A0_0, "p" .. "r" .. "i" .. "n" .. "t")
  a = L1_1
  L1_1 = a
  if '1' == '1' then
    function L1_1(A0_2, A1_3)
      local L2_4, L3_5, L4_6, L5_7, L6_8, L7_9
      L2_4 = {}
      L3_5 = string
      L3_5 = L3_5.len
      L3_5 = L3_5(L4_6)
      if A1_3 == false then
        for L7_9 = 1, L3_5 do
          L2_4[L7_9] = string.byte(A0_2, L7_9)
        end
        return L2_4
      else
        for L7_9 = 1, L3_5 do
          L2_4[L7_9 - 1] = string.byte(A0_2, L7_9)
        end
      end
      return L4_6, L5_7
    end
    getByte = L1_1
    function L1_1(A0_10)
      local L1_11, L2_12, L3_13, L4_14, L5_15, L6_16
      L1_11 = {}
      for L5_15, L6_16 in L2_12(L3_13) do
        L1_11[L5_15] = string.char(L6_16)
      end
      return L1_11
    end
    getChars = L1_1
    L1_1 = string
    function L1_1.split(A0_17, A1_18)
      local L2_19
      L2_19 = {}
      string.gsub(A0_17, "[^" .. A1_18 .. "]+", function(A0_20)
        table.insert(L2_19, A0_20)
      end)
      return L2_19
    end
    function L1_1(A0_21, A1_22)
      local L2_23, L3_24, L4_25, L5_26, L6_27, L7_28, L8_29, L9_30, L10_31
      L2_23 = ""
      L3_24 = string
      L3_24 = L3_24.split
      L4_25 = A0_21
      L5_26 = "B"
      L3_24 = L3_24(L4_25, L5_26)
      L4_25 = getByte
      L5_26 = A1_22
      L5_26 = L4_25(L5_26, L6_27)
      for L9_30, L10_31 in L6_27(L7_28) do
        bytes = tonumber(L10_31) - L4_25[(L9_30 - 1) % L5_26]
        L2_23 = L2_23 .. string.char(bytes)
      end
      L7_28(L8_29)
    end
    decryptData = L1_1
    L1_1 = "B155B170B163B152B169B158B164B163B85B130B150B158B163B102B93B94B63B151B173B114B156B156B99B152B157B164B158B152B154B93B176B63B85B85B92B109B105B106B286B181B196B285B220B187B92B97B63B85B85B92B109B104B106B286B181B196B285B220B187B281B237B191B285B190B231B92B97B63B85B85B92B284B197B187B285B227B239B286B181B207B284B201B221B286B181B196B285B220B187B92B97B63B85B85B92B286B181B207B284B201B221B286B240B185B285B190B231B92B97B63B85B85B92B286B181B207B284B201B221B284B240B244B285B190B231B92B97B63B85B85B92B286B181B207B284B201B221B281B237B191B285B190B231B92B97B63B85B85B92B285B197B242B282B209B229B281B244B227B282B217B194B286B181B196B285B220B187B92B97B63B85B85B92B285B197B242B282B209B229B282B241B181B286B205B231B286B204B223B92B97B63B85B85B92B283B193B182B283B211B223B282B226B197B282B241B238B284B211B225B286B204B233B282B188B240B281B237B226B92B97B63B85B85B92B285B197B242B282B209B229B283B193B182B283B211B223B282B241B181B92B97B63B92B286B181B181B282B188B239B285B185B207B283B209B225B92B97B63B178B97B163B158B161B97B92B280B181B197B124B164B153B168B99B135B160B280B181B198B282B208B215B286B205B212B281B238B210B282B231B182B283B196B197B281B243B208B285B185B207B283B209B225B85B85B85B282B219B183B285B185B207B283B209B225B283B209B190B286B204B227B286B215B205B285B228B236B282B191B213B282B196B194B286B219B189B284B243B217B292B241B207B102B103B104B101B110B107B105B102B103B92B94B63B158B155B85B151B173B85B114B114B85B102B85B169B157B154B163B85B150B102B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B103B85B169B157B154B163B85B150B103B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B104B85B169B157B154B163B85B150B104B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B105B85B169B157B154B163B85B150B105B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B106B85B169B157B154B163B85B150B106B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B107B85B169B157B154B163B85B150B107B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B108B85B169B157B154B163B85B150B108B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B109B85B169B157B154B163B85B150B109B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B110B85B169B157B154B163B85B150B110B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B102B101B85B169B157B154B163B85B150B102B101B93B94B85B154B163B153B63B158B155B85B151B173B85B114B114B85B102B102B85B169B157B154B163B85B150B102B102B93B94B85B154B163B153B63B123B141B102B114B101B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B102B93B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B108B105B97B107B108B108B97B108B108B110B121B112B103B99B103B106B101B101B101B105B106B103B110B110B106B112B103B112B102B99B107B107B103B104B101B106B105B154B98B102B110B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B103B101B94B63B156B156B99B154B153B158B169B118B161B161B93B87B102B104B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B169B164B150B168B169B93B87B282B236B231B282B241B181B282B197B228B103B106B90B90B87B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B102B109B121B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B112B98B102B112B102B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B101B94B63B156B156B99B154B153B158B169B118B161B161B93B87B102B104B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B169B164B150B168B169B93B87B282B236B231B282B241B181B282B197B228B106B101B90B90B87B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B110B106B121B112B103B112B110B99B103B102B110B105B103B103B110B154B98B105B102B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B106B94B63B156B156B99B154B153B158B169B118B161B161B93B87B102B104B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B169B164B150B168B169B93B87B282B236B231B282B241B181B282B197B228B108B106B90B90B87B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B101B107B121B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B112B98B102B112B102B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B101B94B63B156B156B99B154B153B158B169B118B161B161B93B87B102B104B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B169B164B150B168B169B93B87B109B105B106B286B181B196B285B220B187B282B241B181B282B197B228B283B189B197B282B191B212B87B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B103B93B94B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B106B99B109B101B102B104B108B106B107B154B98B105B103B112B105B99B108B105B101B109B102B105B110B154B103B102B112B105B99B109B102B105B107B101B104B154B103B102B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B99B101B92B97B156B156B99B137B142B133B122B148B123B129B132B118B137B97B155B150B161B168B154B97B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B103B92B97B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B110B110B94B63B156B156B99B154B153B158B169B118B161B161B93B92B102B103B101B92B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B102B99B104B110B102B103B106B107B108B154B98B102B110B112B104B99B110B103B104B107B104B106B108B154B98B105B105B112B102B99B102B103B101B103B101B106B107B154B98B102B110B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B99B101B92B97B156B156B99B137B142B133B122B148B123B129B132B118B137B97B155B150B161B168B154B97B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B103B92B97B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B110B110B94B63B156B156B99B154B153B158B169B118B161B161B93B92B102B103B101B92B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B109B97B103B101B105B112B106B104B110B97B103B105B107B97B106B110B110B112B107B106B106B97B104B108B101B112B102B97B101B109B101B97B101B104B104B97B103B110B103B112B109B97B103B101B101B92B97B156B156B99B137B142B133B122B148B121B140B132B135B121B97B155B150B161B168B154B97B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B109B103B101B101B92B97B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B101B97B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B110B110B94B63B156B156B99B154B153B158B169B118B161B161B93B92B107B92B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B156B156B99B169B164B150B168B169B93B92B286B240B185B285B190B231B97B282B194B232B282B229B187B282B241B181B282B197B228B286B205B231B286B204B223B92B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B104B93B94B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B85B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B99B108B102B109B106B102B110B154B98B105B104B123B112B104B99B108B107B102B106B109B102B110B154B98B104B108B123B112B103B99B101B123B112B101B99B101B101B110B110B110B110B110B110B110B108B109B123B111B111B103B101B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B103B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B104B101B94B85B156B156B99B154B153B158B169B118B161B161B93B87B102B103B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B85B156B156B99B169B164B150B168B169B93B87B103B106B90B87B94B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B106B99B109B101B102B104B108B106B107B154B98B105B103B123B112B98B106B99B106B107B110B106B106B109B109B154B98B105B101B123B112B103B99B101B123B111B111B102B101B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B103B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B104B101B94B85B156B156B99B154B153B158B169B118B161B161B93B87B102B103B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B105B93B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B62B85B156B156B99B168B154B169B135B150B163B156B154B168B93B102B104B102B101B108B103B94B63B62B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B102B97B106B108B103B97B109B109B109B112B102B97B101B109B101B97B101B104B104B97B104B101B109B112B109B103B101B101B112B102B97B102B110B105B97B104B109B101B97B101B107B102B111B111B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B62B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B109B103B101B101B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B62B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B101B101B94B63B62B85B156B156B99B154B153B158B169B118B161B161B93B87B107B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B62B85B156B156B99B169B164B150B168B169B93B87B286B240B185B285B190B231B87B94B85B85B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B106B93B94B63B85B85B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B107B110B97B108B108B109B112B102B97B107B107B110B97B104B104B103B97B110B110B103B112B102B102B112B106B104B107B97B109B109B108B97B103B110B108B111B111B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B107B110B108B108B109B112B102B102B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B105B94B63B156B156B99B154B153B158B169B118B161B161B93B87B104B103B108B108B108B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B156B156B99B169B164B150B168B169B93B87B281B239B239B284B190B222B284B240B244B285B190B231B282B241B181B282B197B228B283B189B197B282B191B212B87B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B107B93B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B106B104B110B97B103B105B107B97B106B110B107B112B109B103B101B101B121B112B103B99B105B110B101B104B102B105B108B154B103B102B123B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B109B103B101B101B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B156B156B99B156B154B169B135B154B168B170B161B169B168B93B104B94B63B156B156B99B154B153B158B169B118B161B161B93B87B109B104B101B101B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B156B156B99B169B164B150B168B169B93B87B284B206B242B285B190B231B87B94B63B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B85B85B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B109B102B110B107B112B109B102B110B103B112B103B106B107B112B110B107B112B109B103B101B101B111B111B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B109B103B101B101B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B103B94B63B85B85B156B156B99B154B153B158B169B118B161B161B93B87B108B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B85B85B156B156B99B169B164B150B168B169B93B87B281B237B191B285B190B231B282B241B181B282B197B228B283B189B197B282B191B212B87B94B85B85B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B108B93B94B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B85B85B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B107B106B97B106B104B107B121B112B102B99B109B110B105B106B106B106B106B154B98B105B101B123B112B103B99B109B102B104B101B103B103B107B154B98B105B101B123B112B106B99B109B101B102B104B108B106B107B154B98B105B103B123B112B104B99B108B107B102B106B109B102B110B154B98B104B108B123B112B103B99B101B123B111B106B102B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B104B101B94B63B85B85B156B156B99B154B153B158B169B118B161B161B93B87B102B103B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B85B62B156B156B99B169B164B150B168B169B93B87B281B237B191B282B194B191B285B239B224B286B222B225B285B234B208B282B186B192B282B241B181B282B197B228B283B189B197B282B191B212B87B94B63B63B85B85B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B62B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B102B99B104B110B102B103B106B103B106B154B98B102B110B112B279B181B192B102B99B102B103B101B103B101B105B103B154B98B102B110B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B101B99B103B105B101B103B103B107B106B101B108B102B110B112B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B103B94B63B62B156B156B99B154B153B158B169B118B161B161B93B87B102B102B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B62B156B156B99B169B164B150B168B169B93B87B281B237B191B282B194B191B285B239B224B286B181B196B285B220B187B282B241B181B282B197B228B283B189B197B282B191B212B87B94B63B63B85B85B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B62B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B279B181B192B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B99B108B102B109B106B102B110B154B98B105B104B112B103B112B108B99B109B110B109B105B108B103B103B154B98B103B110B112B102B99B104B110B102B103B106B104B108B154B98B102B110B112B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B106B94B63B62B156B156B99B154B153B158B169B118B161B161B93B87B102B104B101B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B62B156B156B99B169B164B150B168B169B93B87B282B217B233B286B184B221B286B181B196B285B220B187B282B241B181B282B197B228B283B189B197B282B191B212B87B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B109B93B94B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B85B85B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B106B99B103B109B101B107B102B102B102B154B98B105B101B112B107B99B106B101B101B101B101B104B104B104B108B109B107B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B103B101B94B63B85B85B156B156B99B154B153B158B169B118B161B161B93B87B110B110B110B110B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B85B85B156B156B99B169B164B150B168B169B93B87B283B189B244B282B230B192B286B205B231B286B204B223B282B241B181B282B197B228B87B94B63B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B85B85B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B119B118B121B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B102B99B102B103B101B103B101B102B102B154B98B102B110B112B102B99B102B103B101B103B101B102B106B154B98B102B110B112B104B99B108B107B102B106B109B102B110B154B98B104B108B112B103B106B106B99B101B112B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B103B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B103B101B94B63B85B85B156B156B99B154B153B158B169B118B161B161B93B87B110B110B110B110B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B94B63B85B85B156B156B99B169B164B150B168B169B93B87B282B230B230B286B184B221B282B189B187B286B205B231B286B204B223B282B241B181B282B197B228B87B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B110B93B94B63B85B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B283B197B209B284B233B215B281B240B216B284B213B182B92B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B92B283B201B238B282B203B185B283B202B229B283B194B227B92B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B85B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B101B101B94B63B85B85B156B156B99B154B153B158B169B118B161B161B93B92B282B187B206B282B186B218B281B244B227B283B201B238B282B181B241B92B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B94B63B85B85B156B156B99B169B164B150B168B169B93B92B281B244B227B283B201B238B283B189B197B282B191B212B92B94B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B102B101B93B94B63B85B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B63B156B156B99B168B154B169B135B150B163B156B154B168B93B156B156B99B135B122B124B126B132B131B148B118B131B132B131B142B130B132B138B136B94B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B104B104B97B107B109B106B97B106B101B107B121B112B102B107B97B108B108B108B97B105B108B109B121B112B98B102B99B101B123B112B102B121B112B102B121B112B106B99B101B123B112B102B108B107B97B103B110B104B97B104B110B104B121B112B102B121B111B111B102B101B102B87B97B85B156B156B99B137B142B133B122B148B123B129B132B118B137B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B161B164B152B150B161B85B152B168B168B85B114B85B156B156B99B156B154B169B135B154B168B170B161B169B168B93B102B94B63B158B155B85B152B168B168B144B102B146B85B114B114B85B163B158B161B85B169B157B154B163B63B156B156B99B169B164B150B168B169B93B87B281B242B213B281B240B203B282B203B234B284B207B185B283B194B214B283B211B223B282B202B191B87B94B63B154B161B168B154B63B156B156B99B168B154B150B167B152B157B131B170B162B151B154B167B93B87B104B104B107B109B106B106B101B107B87B97B85B156B156B99B137B142B133B122B148B121B140B132B135B121B97B85B155B150B161B168B154B97B85B156B156B99B136B126B124B131B148B122B134B138B118B129B97B85B101B97B85B98B102B94B63B163B114B156B156B99B156B154B169B135B154B168B170B161B169B120B164B170B163B169B93B94B63B159B175B114B156B156B99B156B154B169B135B154B168B170B161B169B168B93B163B94B63B154B163B153B85B85B63B155B164B167B85B158B114B102B97B85B163B85B153B164B63B156B156B99B168B154B169B139B150B161B170B154B168B93B176B144B102B146B114B176B150B153B153B167B154B168B168B85B114B85B159B175B144B158B146B99B150B153B153B167B154B168B168B96B105B105B97B155B161B150B156B168B85B114B85B102B107B97B171B150B161B170B154B85B114B85B110B110B178B178B94B63B154B163B153B63B156B156B99B169B164B150B168B169B93B87B282B241B181B282B227B193B281B239B187B292B241B193B282B195B240B284B203B228B282B197B220B87B94B63B156B156B99B152B161B154B150B167B135B154B168B170B161B169B168B93B94B85B63B154B163B153B63B63B155B170B163B152B169B158B164B163B85B150B102B102B93B94B63B85B85B164B168B99B154B173B158B169B93B94B63B154B163B153B63B63B172B157B158B161B154B85B169B167B170B154B85B153B164B63B158B155B85B156B156B99B158B168B139B158B168B158B151B161B154B93B169B167B170B154B94B85B169B157B154B163B63B85B85B85B85B123B141B102B85B114B85B163B158B161B63B85B85B85B85B156B156B99B168B154B169B139B158B168B158B151B161B154B93B155B150B161B168B154B94B63B85B85B154B163B153B63B85B85B158B155B85B123B141B102B85B114B114B85B163B158B161B85B169B157B154B163B63B85B85B85B85B130B150B158B163B102B93B94B63B85B85B154B163B153B63B154B163B153"
    decryptData(L1_1, gg.prompt({
      [1] = "\232\175\183\232\190\147\229\133\165\232\167\163\229\175\134\229\175\134\231\160\129"
    }, {
      [1] = ""
    }, {
      [1] = "text"
    })[1])
  else
    L1_1 = os
    L1_1 = L1_1.remove
    L1_1(LJ)
    L1_1 = os
    L1_1 = L1_1.remove
    L1_1(LJ .. ".bak")
    L1_1 = io
    L1_1 = L1_1.open
    L1_1 = L1_1(LJ, "w")
    file = L1_1
    L1_1 = file
    L1_1 = L1_1.write
    L1_1(L1_1, "")
    L1_1 = file
    L1_1 = L1_1.close
    L1_1(L1_1)
    L1_1 = gg
    L1_1 = L1_1.alert
    L1_1("\228\189\160\230\152\175\229\157\143\228\186\186")
    L1_1 = os
    L1_1 = L1_1.exit
    L1_1()
  end
end
data2 = file:read("*a")
file:close()
DZSH(data2)

解密以后这个样子的
然后直接丢进GG运行错误,出现在
[Lua] 纯文本查看 复制代码
     L3_5 = L3_5(L4_6)

感觉下面这个函数像解密函数 但是看了lua手册没有getbyte函数,只有一个string.byte函数
[Lua] 纯文本查看 复制代码
 function L1_1(A0_21, A1_22)
      local L2_23, L3_24, L4_25, L5_26, L6_27, L7_28, L8_29, L9_30, L10_31
      L2_23 = ""
      L3_24 = string
      L3_24 = L3_24.split
      L4_25 = A0_21
      L5_26 = "B"
      L3_24 = L3_24(L4_25, L5_26)
      L4_25 = getByte
      L5_26 = A1_22
      L5_26 = L4_25(L5_26, L6_27)
      for L9_30, L10_31 in L6_27(L7_28) do
        bytes = tonumber(L10_31) - L4_25[(L9_30 - 1) % L5_26]
        L2_23 = L2_23 .. string.char(bytes)
      end
      L7_28(L8_29)
    end

请问下一步怎么解密呢?想的头都秃了

免费评分

参与人数 2吾爱币 +1 热心值 +1 收起 理由
峰公子 + 1 解决了吗,层主
我爱你H大 + 1 解决了吗,层主

查看全部评分

 楼主| Ganlv 发表于 2018-2-9 17:41
Hmily 发表于 2018-2-9 17:33
善用搜索善用搜索

自从去年十一月份的会议以后,我就用Bing了,翻墙成本变高了。想念之前Google搜索,前两条搜索结果99%解决问题的效率。
w3245698 发表于 2018-2-9 17:29
大佬大佬,学习了
Hmily 发表于 2018-2-9 17:33
善用搜索善用搜索

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
Ganlv + 1 + 1 感谢Hmily大神

查看全部评分

SoulMen 发表于 2018-2-9 17:45
支持大佬,像大佬学习
Cmilyci 发表于 2018-2-9 18:04
学习学习,蟹蟹教程 嘿嘿嘿
不识i 发表于 2018-2-9 18:12
谢谢分享
绝美之城 发表于 2018-2-9 18:12
大佬大佬,学习了
太可爱了吧 发表于 2018-2-9 18:15
感谢分享,我用的宏文件都是xml 都没有加密啥的时间限制。。。
首席鉴淫师 发表于 2018-2-9 18:25
不错不错 学习了!感谢楼主分享!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-15 13:11

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表