从一个gg修改器里抓包拿到的外挂加密lua源码/大佬可以挑战
本帖最后由 malik 于 2021-3-14 19:40 编辑妄想山海的一个辅助软件里抓包拿到的源码,对lua一点都不通,如果有大佬感兴趣可以研究研究
下面的是加密部分上的有关加密的代码部分,详细文件我会直接上传。有大佬感兴趣可以研究研究,里面有原作者的广告,要350元的价格收徒。有大佬挑战的话下载挑战吧
local base_char= 128; local keywords= { "and", "break", "do", "else", "elseif", "end", "false", "for", "function", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while" }function encryptData(data, keys) local result = '' local dataArr = getByte(data, false) local keyArr,keyLen = getByte(keys, true) for index,value in pairs(dataArr) do result = result..'B'..tostring((0xFF and value) + (0xFF and keyArr[(index-1) % keyLen])) end end function Module(name) if modulesthen print_verbose("Ignoring duplicate module definition for"..name); return function () endend locali= #modules+1; modules={ name=name, url=___fetch_url }; modules=modules; return function (path) modules.path =path; end end function Resource(name, path) locali= #resources+1; resources={ name=name, path=pathorname };return function (path) resources.path =path; end endfunction Option(name) name=name:gsub("%-", "_"); if opts== nil then opts= true; return function (value) opts=value; end else return function () end; end endfunction GetOption(name) return optsgsub('%-', '_')]; endfunction Message(message) if notopts.quiet then print_info(message);end endfunction Error(message)if notopts.very_quiet then print_err(message); end endfunction Exit()os.exit(1); end ktdm=[[ local function _LotrvV4_() local Lotrv = function(code) local res = '' for i in ipairs(code) do res = res..string.char(code) end return res endif io.open('rende.lua')~=nil then flj=1 end while(os.date('%S
正需要,支持楼主大人了!
页:
[1]