fuhao= '"' local function w611787accb29bffdab40afaecc2c14e3_json2true(str,from,to) return true, from+3 end local function w611787accb29bffdab40afaecc2c14e3_json2false(str,from,to) return false, from+4 end local function w611787accb29bffdab40afaecc2c14e3_json2null(str, from, to) return nil, from+3 end local function w611787accb29bffdab40afaecc2c14e3_json2nan(str, from, to) return nul, from+2 end local numberchars = {['-'] = true,['+'] = true,['.'] = true,['0'] = true,['1'] = true,['2'] = true,['3'] = true,['4'] = true,['5'] = true,['6'] = true,['7'] = true,['8'] = true,['9'] = true} local function w611787accb29bffdab40afaecc2c14e3_json2number(str,from,to) local i = from+1 while(i<=to) do local char = string.sub(str, i, i) if not numberchars[char] then break end i = i + 1 end local num = tonumber(string.sub(str, from, i-1)) if not num then error(_format('json格式错误,不正确的数字, 错误位置:{from}', from)) end return num, i-1 end local function w611787accb29bffdab40afaecc2c14e3_json2string(str,from,to) local ignor = false for i = from+1, to do local char = string.sub(str, i, i) if not ignor then if char == fuhao then return string.sub(str, from+1, i-1), i elseif char == '\\' then ignor = true end else ignor = false end end error(_format('json格式错误,字符串没有找到结尾, 错误位置:{from}', from)) end local function w611787accb29bffdab40afaecc2c14e3_json2array(str,from,to) local result = {} from = from or 1 local pos = from+1 local to = to or string.len(str) while(pos<=to) do local char = string.sub(str, pos, pos) if char == fuhao then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2string(str,pos,to) elseif char == '[' then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2array(str,pos,to) elseif char == '{' then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2table(str,pos,to) elseif char == ']' then return result, pos elseif (char=='f' or char=='F') then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2false(str,pos,to) elseif (char=='t' or char=='T') then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2true(str,pos,to) elseif (char=='n') then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2null(str,pos,to) elseif (char=='N') then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2nan(str,pos,to) elseif numberchars[char] then result[#result+1], pos = w611787accb29bffdab40afaecc2c14e3_json2number(str,pos,to) end pos = pos + 1 end error(_format('json格式错误,表没有找到结尾, 错误位置:{from}', from)) end function _G.w611787accb29bffdab40afaecc2c14e3_json2table(str,from,to) local result = {} from = from or 1 local pos = from+1 local to = to or string.len(str) local key while(pos<=to) do local char = string.sub(str, pos, pos) if char == fuhao then if not key then key, pos = w611787accb29bffdab40afaecc2c14e3_json2string(str,pos,to) else result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2string(str,pos,to) key = nil end elseif char == '[' then if not key then key, pos = w611787accb29bffdab40afaecc2c14e3_json2array(str,pos,to) else result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2array(str,pos,to) key = nil end elseif char == '{' then if not key then key, pos = w611787accb29bffdab40afaecc2c14e3_json2table(str,pos,to) else result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2table(str,pos,to) key = nil end elseif char == '}' then return result, pos elseif (char=='f' or char=='F') then result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2false(str,pos,to) key = nil elseif (char=='t' or char=='T') then result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2true(str,pos,to) key = nil elseif (char=='n') then result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2null(str,pos,to) key = nil elseif (char=='N') then result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2nan(str,pos,to) key = nil elseif numberchars[char] then if not key then key, pos = w611787accb29bffdab40afaecc2c14e3_json2number(str,pos,to) else result[key], pos = w611787accb29bffdab40afaecc2c14e3_json2number(str,pos,to) key = nil end end pos = pos + 1 end error(_format('格式错误,表没有找到结尾, 错误位置:{from}', from)) end local jsonfuncs={[ fuhao ]=w611787accb29bffdab40afaecc2c14e3_json2string,['[']=w611787accb29bffdab40afaecc2c14e3_json2array,['{']=w611787accb29bffdab40afaecc2c14e3_json2table,['f']=w611787accb29bffdab40afaecc2c14e3_json2false,['F']=w611787accb29bffdab40afaecc2c14e3_json2false,['t']=w611787accb29bffdab40afaecc2c14e3_json2true,['T']=w611787accb29bffdab40afaecc2c14e3_json2true} local function w611787accb29bffdab40afaecc2c14e3_json2lua(str) if str==nil then gg.alert('错误json') else local char = string.sub(str, 1, 1) local func=jsonfuncs[char] if func then return func(str, 1, string.len(str)) end if numberchars[char] then return w611787accb29bffdab40afaecc2c14e3_json2number(str, 1, string.len(str)) end end end local __index local LYF_DefEnv1 = {[""]=""} local LYF_DefEnv2 = {["输出你妈"]="输出你妈"} setmetatable(LYF_DefEnv1, {__index = _ENV}) _ENV=LYF_DefEnv1 _G=LYF_DefEnv2 local function w611787accb29bffdab40afaecc2c14e3_md5(code) local code = tostring(code) local HexTable = {"0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"} local A = 0x67452301 local B = 0xefcdab89 local C = 0x98badcfe local D = 0x10325476 local S11 = 7 local S12 = 12 local S13 = 17 local S14 = 22 local S21 = 5 local S22 = 9 local S23 = 14 local S24 = 20 local S31 = 4 local S32 = 11 local S33 = 16 local S34 = 23 local S41 = 6 local S42 = 10 local S43 = 15 local S44 = 21 local function F(x,y,z) return (x & y) | ((~x) & z) end local function G(x,y,z) return (x & z) | (y & (~z)) end local function H(x,y,z) return x ~ y ~ z end local function I(x,y,z) return y ~ (x | (~z)) end local function FF(a,b,c,d,x,s,ac) a = a + F(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function GG(a,b,c,d,x,s,ac) a = a + G(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function HH(a,b,c,d,x,s,ac) a = a + H(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function II(a,b,c,d,x,s,ac) a = a + I(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function MD5StringFill(s) local len = s:len() local mod512 = len * 8 % 512 local fillSize = (448 - mod512) // 8 if mod512 > 448 then fillSize = (960 - mod512) // 8 end local rTab = {} local byteIndex = 1 for i = 1,len do local index = (i - 1) // 4 + 1 rTab[index] = rTab[index] or 0 rTab[index] = rTab[index] | (s:byte(i) << (byteIndex - 1) * 8) byteIndex = byteIndex + 1 if byteIndex == 5 then byteIndex = 1 end end local b0x80 = false local tLen = #rTab if byteIndex ~= 1 then rTab[tLen] = rTab[tLen] | 0x80 << (byteIndex - 1) * 8 b0x80 = true end for i = 1,fillSize // 4 do if not b0x80 and i == 1 then rTab[tLen + i] = 0x80 else rTab[tLen + i] = 0x0 end end local bitLen = math.floor(len * 8) tLen = #rTab rTab[tLen + 1] = bitLen & 0xffffffff rTab[tLen + 2] = bitLen >> 32 return rTab end function getmd5(s) local fillTab = MD5StringFill(s) local result = {A,B,C,D} for i = 1,#fillTab // 16 do local a = result[1] local b = result[2] local c = result[3] local d = result[4] local offset = (i - 1) * 16 + 1 a = FF(a, b, c, d, fillTab[offset + 0], S11, 0xd76aa478) d = FF(d, a, b, c, fillTab[offset + 1], S12, 0xe8c7b756) c = FF(c, d, a, b, fillTab[offset + 2], S13, 0x242070db) b = FF(b, c, d, a, fillTab[offset + 3], S14, 0xc1bdceee) a = FF(a, b, c, d, fillTab[offset + 4], S11, 0xf57c0faf) d = FF(d, a, b, c, fillTab[offset + 5], S12, 0x4787c62a) c = FF(c, d, a, b, fillTab[offset + 6], S13, 0xa8304613) b = FF(b, c, d, a, fillTab[offset + 7], S14, 0xfd469501) a = FF(a, b, c, d, fillTab[offset + 8], S11, 0x698098d8) d = FF(d, a, b, c, fillTab[offset + 9], S12, 0x8b44f7af) c = FF(c, d, a, b, fillTab[offset + 10], S13, 0xffff5bb1) b = FF(b, c, d, a, fillTab[offset + 11], S14, 0x895cd7be) a = FF(a, b, c, d, fillTab[offset + 12], S11, 0x6b901122) d = FF(d, a, b, c, fillTab[offset + 13], S12, 0xfd987193) c = FF(c, d, a, b, fillTab[offset + 14], S13, 0xa679438e) b = FF(b, c, d, a, fillTab[offset + 15], S14, 0x49b40821) a = GG(a, b, c, d, fillTab[offset + 1], S21, 0xf61e2562) d = GG(d, a, b, c, fillTab[offset + 6], S22, 0xc040b340) c = GG(c, d, a, b, fillTab[offset + 11], S23, 0x265e5a51) b = GG(b, c, d, a, fillTab[offset + 0], S24, 0xe9b6c7aa) a = GG(a, b, c, d, fillTab[offset + 5], S21, 0xd62f105d) d = GG(d, a, b, c, fillTab[offset + 10], S22, 0x2441453) c = GG(c, d, a, b, fillTab[offset + 15], S23, 0xd8a1e681) b = GG(b, c, d, a, fillTab[offset + 4], S24, 0xe7d3fbc8) a = GG(a, b, c, d, fillTab[offset + 9], S21, 0x21e1cde6) d = GG(d, a, b, c, fillTab[offset + 14], S22, 0xc33707d6) c = GG(c, d, a, b, fillTab[offset + 3], S23, 0xf4d50d87) b = GG(b, c, d, a, fillTab[offset + 8], S24, 0x455a14ed) a = GG(a, b, c, d, fillTab[offset + 13], S21, 0xa9e3e905) d = GG(d, a, b, c, fillTab[offset + 2], S22, 0xfcefa3f8) c = GG(c, d, a, b, fillTab[offset + 7], S23, 0x676f02d9) b = GG(b, c, d, a, fillTab[offset + 12], S24, 0x8d2a4c8a) a = HH(a, b, c, d, fillTab[offset + 5], S31, 0xfffa3942) d = HH(d, a, b, c, fillTab[offset + 8], S32, 0x8771f681) c = HH(c, d, a, b, fillTab[offset + 11], S33, 0x6d9d6122) b = HH(b, c, d, a, fillTab[offset + 14], S34, 0xfde5380c) a = HH(a, b, c, d, fillTab[offset + 1], S31, 0xa4beea44) d = HH(d, a, b, c, fillTab[offset + 4], S32, 0x4bdecfa9) c = HH(c, d, a, b, fillTab[offset + 7], S33, 0xf6bb4b60) b = HH(b, c, d, a, fillTab[offset + 10], S34, 0xbebfbc70) a = HH(a, b, c, d, fillTab[offset + 13], S31, 0x289b7ec6) d = HH(d, a, b, c, fillTab[offset + 0], S32, 0xeaa127fa) c = HH(c, d, a, b, fillTab[offset + 3], S33, 0xd4ef3085) b = HH(b, c, d, a, fillTab[offset + 6], S34, 0x4881d05) a = HH(a, b, c, d, fillTab[offset + 9], S31, 0xd9d4d039) d = HH(d, a, b, c, fillTab[offset + 12], S32, 0xe6db99e5) c = HH(c, d, a, b, fillTab[offset + 15], S33, 0x1fa27cf8) b = HH(b, c, d, a, fillTab[offset + 2], S34, 0xc4ac5665) a = II(a, b, c, d, fillTab[offset + 0], S41, 0xf4292244) d = II(d, a, b, c, fillTab[offset + 7], S42, 0x432aff97) c = II(c, d, a, b, fillTab[offset + 14], S43, 0xab9423a7) b = II(b, c, d, a, fillTab[offset + 5], S44, 0xfc93a039) a = II(a, b, c, d, fillTab[offset + 12], S41, 0x655b59c3) d = II(d, a, b, c, fillTab[offset + 3], S42, 0x8f0ccc92) c = II(c, d, a, b, fillTab[offset + 10], S43, 0xffeff47d) b = II(b, c, d, a, fillTab[offset + 1], S44, 0x85845dd1) a = II(a, b, c, d, fillTab[offset + 8], S41, 0x6fa87e4f) d = II(d, a, b, c, fillTab[offset + 15], S42, 0xfe2ce6e0) c = II(c, d, a, b, fillTab[offset + 6], S43, 0xa3014314) b = II(b, c, d, a, fillTab[offset + 13], S44, 0x4e0811a1) a = II(a, b, c, d, fillTab[offset + 4], S41, 0xf7537e82) d = II(d, a, b, c, fillTab[offset + 11], S42, 0xbd3af235) c = II(c, d, a, b, fillTab[offset + 2], S43, 0x2ad7d2bb) b = II(b, c, d, a, fillTab[offset + 9], S44, 0xeb86d391) result[1] = result[1] + a result[2] = result[2] + b result[3] = result[3] + c result[4] = result[4] + d result[1] = result[1] & 0xffffffff result[2] = result[2] & 0xffffffff result[3] = result[3] & 0xffffffff result[4] = result[4] & 0xffffffff end local retStr = '' for i = 1,4 do for _ = 1,4 do local temp = result[i] & 0x0F local str = HexTable[temp + 1] result[i] = result[i] >> 4 temp = result[i] & 0x0F retStr = retStr .. HexTable[temp + 1] .. str result[i] = result[i] >> 4 end end return string.lower(retStr) end return getmd5(code) end ZZRc4 = {} ZZMathBit = {} function ZZMathBit.__xorBit(left, right) return (left + right) == 1 and 1 or 0 end function ZZMathBit.__base(left, right, op) if left < right then left, right = right, left end local res = 0 local shift = 1 while left ~= 0 do local ra = left % 2 local rb = right % 2 res = shift * op(ra,rb) + res shift = shift * 2 left = math.modf( left / 2) right = math.modf( right / 2) end return res end function ZZMathBit.xorOp(left, right) return ZZMathBit.__base(left, right, ZZMathBit.__xorBit) end local function w611787accb29bffdab40afaecc2c14e3_rc4(text,key,kasi) if kasi==false then str = text str=str:gsub("[%s%p]",""):upper() local index=1 local ret="" for index=1,str:len(),2 do ret=ret..string.char(tonumber(str:sub(index,index+1),16)) end text=ret end local function KSA(key) local keyLen = string.len(key) local schedule = {} local keyByte = {} for i = 0, 255 do schedule[i] = i end for i = 1, keyLen do keyByte[i - 1] = string.byte(key, i, i) end local j = 0 for i = 0, 255 do j = (j + schedule[i] + keyByte[ i % keyLen]) % 256 schedule[i], schedule[j] = schedule[j], schedule[i] end return schedule end local function PRGA(schedule, textLen) local i = 0 local j = 0 local k = {} for n = 1, textLen do i = (i + 1) % 256 j = (j + schedule[i]) % 256 schedule[i], schedule[j] = schedule[j], schedule[i] k[n] = schedule[(schedule[i] + schedule[j]) % 256] end return k end local function output(schedule, text) local len = string.len(text) local c = nil local res = {} for i = 1, len do c = string.byte(text, i,i) res[i] = string.char(ZZMathBit.xorOp(schedule[i], c)) end return table.concat(res) end local textLen = string.len(text) local schedule = KSA(key) local k = PRGA(schedule, textLen) str=output(k, text) if kasi==true then str = tostring(str) local index=1 local ret="" for index=1,str:len() do ret=ret..string.format("%02X",str:sub(index):byte()) end return string.lower(ret) else return str end end local function w611787accb29bffdab40afaecc2c14e3_ultra(get,post) local c=gg.makeRequest(get,nil,post).content if c==nil then gg.alert("网络错误了,请检查你的网络") os.exit() end return c end function download(get,address) local c=gg.makeRequest(get,nil,nil).content if c==nil then gg.alert("网络错误了,请检查你的网络") os.exit() end io.open(address,"w+"):write(c) gg.toast("下载成功") end ---[=[上面不要乱动]=]------------------------------------------------------------------------------------------------------------------- local w611787accb29bffdab40afaecc2c14e3="https://wy.llua.cn/" --官网 local w611787accb29bffdab40afaecc2c14e3_Kami=w611787accb29bffdab40afaecc2c14e3.."api/?id=kmlogin" --接口名称[卡密登录] local w611787accb29bffdab40afaecc2c14e3_jieba=w611787accb29bffdab40afaecc2c14e3.."api/?id=kmdismiss" --接口名称[卡密解绑] local w611787accb29bffdab40afaecc2c14e3_Notice=w611787accb29bffdab40afaecc2c14e3.."api/?id=notice" --接口名称[应用公告] ---[=[ 上面是对接 ]=]------------------------------------------------------------------------------------------------------------------ local w611787accb29bffdab40afaecc2c14e3_APPID='67485' --APPID local w611787accb29bffdab40afaecc2c14e3_APPKEY='g6109dbe898e44f823c6c' --APPKEY local w611787accb29bffdab40afaecc2c14e3_RC4_key='b1c597af25b15558bae4b8eac96' --是否 RC4 加密[key 密钥] local w611787accb29bffdab40afaecc2c14e3_RC4="开" --选择 RC4加密-2 否则会乱码 --打开 签名放DATA里:打开 if w611787accb29bffdab40afaecc2c14e3_RC4=="关" then gg.alert("RC4-2加密未开启,会有破解风险,禁止登录,请前往后台配置RC4-2秘钥") os.exit() end AMI_YDO="/sdcard" --卡密 设备码 路径,正式环境记得去替换自己的 ---------------------------------------------------------------------------------------------------------------------- if w611787accb29bffdab40afaecc2c14e3_APPID=="" or w611787accb29bffdab40afaecc2c14e3_APPKEY=="" then gg.alert("对接数据,空...")--对话框 os.exit() end ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- local w611787accb29bffdab40afaecc2c14e3_Notice=w611787accb29bffdab40afaecc2c14e3_ultra(w611787accb29bffdab40afaecc2c14e3_Notice.."&app=".. w611787accb29bffdab40afaecc2c14e3_APPID,"") if w611787accb29bffdab40afaecc2c14e3_RC4 == "开" then w611787accb29bffdab40afaecc2c14e3_Notice=w611787accb29bffdab40afaecc2c14e3_rc4(w611787accb29bffdab40afaecc2c14e3_Notice,w611787accb29bffdab40afaecc2c14e3_RC4_key,false) gg.setVisible(false) end ---[=[ 云函数 ]=]------------------------------------------------------------------------------------------------------------------- --[[xpcall(function() local w611787accb29bffdab40afaecc2c14e3_ls = load pcall(w611787accb29bffdab40afaecc2c14e3_ls(w611787accb29bffdab40afaecc2c14e3_rc4(gg.makeRequest("http://app.llua.cn/api/?id=lua",post,"appid="..w611787accb29bffdab40afaecc2c14e3_APPID).content,w611787accb29bffdab40afaecc2c14e3_APPKEY,false))) end,function() print("[微验云函数]此修改器不支持云函数或云函数存在语法错误") end)]] if w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_Notice)['code'] == 200 then if w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_Notice).msg.app_gg ~= "" then ggstr = string.gsub(w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_Notice).msg.app_gg,"\\n","\n") gg.alert("公告:"..ggstr)--对话框 end else gg.alert("公告接口:"..w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_Notice).msg)--对话框 os.exit() end w611787accb29bffdab40afaecc2c14e3=999 ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- function w611787accb29bffdab40afaecc2c14e3_MIAN() miei=io.open(AMI_YDO..'/miei','r') if miei==nil or miei:read("*a")== "" then miei=w611787accb29bffdab40afaecc2c14e3_md5(os.time()*1000+611-99999) io.open(AMI_YDO..'/miei','w+'):write(miei) else miei=io.open(AMI_YDO..'/miei','r'):read("*a") end function w611787accb29bffdab40afaecc2c14e3_KM_G(km) local w611787accb29bffdab40afaecc2c14e3_key=w611787accb29bffdab40afaecc2c14e3_md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. w611787accb29bffdab40afaecc2c14e3_APPKEY) local w611787accb29bffdab40afaecc2c14e3_bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..w611787accb29bffdab40afaecc2c14e3_key if w611787accb29bffdab40afaecc2c14e3_RC4 == "开" then w611787accb29bffdab40afaecc2c14e3_bops= "data="..w611787accb29bffdab40afaecc2c14e3_rc4(w611787accb29bffdab40afaecc2c14e3_bops,w611787accb29bffdab40afaecc2c14e3_RC4_key,true) end local w611787accb29bffdab40afaecc2c14e3_HUT=w611787accb29bffdab40afaecc2c14e3_ultra(w611787accb29bffdab40afaecc2c14e3_jieba.."&app=".. w611787accb29bffdab40afaecc2c14e3_APPID,w611787accb29bffdab40afaecc2c14e3_bops) if w611787accb29bffdab40afaecc2c14e3_RC4 == "开" then w611787accb29bffdab40afaecc2c14e3_HUT=w611787accb29bffdab40afaecc2c14e3_rc4(w611787accb29bffdab40afaecc2c14e3_HUT,w611787accb29bffdab40afaecc2c14e3_RC4_key,false) end return w611787accb29bffdab40afaecc2c14e3_HUT end km=io.open(AMI_YDO..'/km','r') if km==nil then else km=io.open(AMI_YDO..'/km','r'):read("*a") end e=io.open(AMI_YDO..'/e.log','r') if e==nil or e:read("*a")== "" then e="1" io.open(AMI_YDO..'/e.log','w+'):write(e) else e=io.open(AMI_YDO..'/e.log','r'):read("*a") end if e== "1" then e=false else e=true end local w611787accb29bffdab40afaecc2c14e3_Random=w611787accb29bffdab40afaecc2c14e3_md5(os.time()*1000+611*os.time()-999999)..w611787accb29bffdab40afaecc2c14e3_APPKEY..miei function w611787accb29bffdab40afaecc2c14e3_KM_LL(km) local w611787accb29bffdab40afaecc2c14e3_key=w611787accb29bffdab40afaecc2c14e3_md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. w611787accb29bffdab40afaecc2c14e3_APPKEY) local w611787accb29bffdab40afaecc2c14e3_bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..w611787accb29bffdab40afaecc2c14e3_key if w611787accb29bffdab40afaecc2c14e3_RC4 == "开" then w611787accb29bffdab40afaecc2c14e3_bops="data="..w611787accb29bffdab40afaecc2c14e3_rc4(w611787accb29bffdab40afaecc2c14e3_bops,w611787accb29bffdab40afaecc2c14e3_RC4_key,true) end local w611787accb29bffdab40afaecc2c14e3_HUT=w611787accb29bffdab40afaecc2c14e3_ultra(w611787accb29bffdab40afaecc2c14e3_Kami.."&app=".. w611787accb29bffdab40afaecc2c14e3_APPID,w611787accb29bffdab40afaecc2c14e3_bops.."&value="..w611787accb29bffdab40afaecc2c14e3_Random) --请求数据 if w611787accb29bffdab40afaecc2c14e3_RC4 == "开" then w611787accb29bffdab40afaecc2c14e3_HUT=w611787accb29bffdab40afaecc2c14e3_rc4(w611787accb29bffdab40afaecc2c14e3_HUT,w611787accb29bffdab40afaecc2c14e3_RC4_key,false) end local KM_L=w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_HUT) local w611787accb29bffdab40afaecc2c14e3_id=KM_L.bf9263ec917f2394e5aa84d8786b21b63.v53c83e43ed352b948af0c0871fb56495 local w611787accb29bffdab40afaecc2c14e3_code=KM_L.bf85b81079521aa7ef419eaaaa25aa396 local w611787accb29bffdab40afaecc2c14e3_msg=KM_L.bf9263ec917f2394e5aa84d8786b21b63 local w611787accb29bffdab40afaecc2c14e3_check=KM_L.w2d631b9546d5781ae16539629fd36085 local w611787accb29bffdab40afaecc2c14e3_time=KM_L.ndb3f8f28a22674c7fca0bacd25902705 if w611787accb29bffdab40afaecc2c14e3_code~= 46377 then io.open(AMI_YDO..'/e.log','w+'):write("1") gg.alert(w611787accb29bffdab40afaecc2c14e3_msg) w611787accb29bffdab40afaecc2c14e3_MIAN() else if w611787accb29bffdab40afaecc2c14e3_check~= w611787accb29bffdab40afaecc2c14e3_md5(""..w611787accb29bffdab40afaecc2c14e3_time..""..w611787accb29bffdab40afaecc2c14e3_APPKEY..""..w611787accb29bffdab40afaecc2c14e3_Random.."") then gg.alert("脚本:检测到你有非法操作") os.exit() end if w611787accb29bffdab40afaecc2c14e3_time-os.time()>30 or w611787accb29bffdab40afaecc2c14e3_time-os.time()<-30 then gg.alert("脚本:数据过期"..w611787accb29bffdab40afaecc2c14e3_time-os.time()) os.exit() end TT=gg.alert("到期时间:-----------\n" ..os.date("%Y".."年".."%m".."月".."%d".."日 %H".."时".."%M".."分".."%S".."秒",w611787accb29bffdab40afaecc2c14e3_msg.nb75d34a1f6868c57ee0c39bc1f0ee41c),"确定","返回")--对话框 if km ~= nil then io.open(AMI_YDO..'/km','w+'):write(km) end if TT== 2 then io.open(AMI_YDO..'/e.log','w+'):write("1") w611787accb29bffdab40afaecc2c14e3_MIAN() else ---[=[ ]=]------------------------------------------------------------------------------------------------------------------- do if type(getwyyz) ~= 'function' then gg.alert('请使用ELGG执行') os.exit() return end local info = { name = 'demo',--无 appid = '10000', appkey = '8LjdoLopmH9LyLVh', rc4key = 'ElFlF870vDk88gef', code = 199, -- url = "http://wy.llua.cn" -- 是否自定义url } local wyyz = getwyyz(info) -- print("wyyz",wyyz) local ret = wyyz.start() -- print(ret) while not ret or ret.code ~= tostring(info.code) do gg.alert(ret.msg) print("msg=>",ret.msg) print("system=>",ret.system) os.exit() return end gg.alert(ret.message) end function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值4,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function S_Pointer(t_So, t_Offset, _bit) local function getRanges() local ranges = {} local t = gg.getRangesList('^/data/*.so*$') for i, v in pairs(t) do if v.type:sub(2, 2) == 'w' then table.insert(ranges, v) end end return ranges end local function Get_Address(N_So, Offset, ti_bit) local ti = gg.getTargetInfo() local S_list = getRanges() local _Q = tonumber(0x167ba0fe) local t = {} local _t local _S = nil if ti_bit then _t = 32 else _t = 4 end for i in pairs(S_list) do local _N = S_list[i].internalName:gsub('^.*/', '') if N_So[1] == _N and N_So[2] == S_list[i].state then _S = S_list[i] break end end if _S then t[#t + 1] = {} t[#t].address = _S.start + Offset[1] t[#t].flags = _t if #Offset ~= 1 then for i = 2, #Offset do local S = gg.getValues(t) t = {} for _ in pairs(S) do if not ti.x64 then S[_].value = S[_].value & 0xFFFFFFFF end t[#t + 1] = {} t[#t].address = S[_].value + Offset[i] t[#t].flags = _t end end end _S = t[#t].address print(string.char(231,190,164,58).._Q) end return _S end local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit)) return _A end local floatingWindowManager = require("floatingWindowManager") floatingWindowManager:init() local EXIT_FLAG = false local function S1() local windowManager = require('windowManager') local rootViewManager,rootView rootView = luajava.loadlayout({ LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'vertical', padding = 12, background = 0xFF222222, { LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'horizontal', {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="穿",textColor=0xFFFFFFFF,padding='2dp',background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a1) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="关",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a2) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="飞",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a3) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="下",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a4) end} }, { LinearLayout, layout_width = 'wrap_content', layout_height = 'wrap_content', orientation = 'horizontal', layout_marginTop = 12, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="关",textColor=0xFFFFFFFF,padding='2dp',background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a5) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="进程",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a6) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="加速",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() luajava.startThread(a7) end}, {Button,layout_width='36dp',layout_height='36dp',textSize='17sp',text="退",textColor=0xFFFFFFFF,padding='2dp',layout_marginLeft=12,background=floatingWindowManager:getStateListDrawable(),onClick=function() EXIT_FLAG=true rootViewManager:removeView() end} }, {LinearLayout,layout_width='match_parent',layout_height='25dp',layout_marginTop=12} }) rootViewManager = windowManager:bindView(rootView) rootViewManager:addView() rootViewManager:setMoveable(true) while not EXIT_FLAG do luajava.sleep(100) end end function a1() local so=gg.getRangesList('libGame.so')[1].start setvalue(so+0x31CF9B8,4,505421952) end function a2() local so=gg.getRangesList('libGame.so')[1].start setvalue(so+0x31CF9B8,4,1912626463) end function a3() local so=gg.getRangesList('libGame.so')[1].start setvalue(so+0x3B14144,4,505806984) end function a4() local so=gg.getRangesList('libGame.so')[1].start setvalue(so+0x3B14144,4,505416736) end function a5() local so=gg.getRangesList('libGame.so')[1].start setvalue(so+0x31CF9B8,4,1912626463) setvalue(so+0x3B14144,4,505416736) end function a6() end function a7() local Op = gg.multiChoice({"正常移速","负重移速"},{},"请选择操作") if Op then if Op[1] then so=gg.getRangesList('libGame.so')[1].start py=0x1117EEC setvalue(so+py,4,1071777022) elseif Op[2] then so=gg.getRangesList('libGame.so')[1].start py=0x1117EEC setvalue(so+py,4,1071824325) end end end floatingWindowManager:newWindow("", { onCreate = function(win) win:addlayout({ LinearLayout, layout_width = "1dp", layout_height = "1dp", background = 0x00000000 }) end, onDestroy = function() end }) S1() ---[=[ ]=]------------------------------------------------------------------------------------------------------------------- end end end if km == nil then else if km ~="" then if e==true then w611787accb29bffdab40afaecc2c14e3_KM_LL(km) end end end local w611787accb29bffdab40afaecc2c14e3_hak=gg.prompt({ "输入你的卡密", "下次自动登入", "卡密解绑模式", },{ km, e, jb },{ 'text',--文字 'checkbox',--多选 'checkbox',--多选 })--文本功能 if w611787accb29bffdab40afaecc2c14e3_hak==nil then elseif w611787accb29bffdab40afaecc2c14e3_hak[2]==true then io.open(AMI_YDO..'/e.log','w+'):write("2") elseif w611787accb29bffdab40afaecc2c14e3_hak[2]==false then io.open(AMI_YDO..'/e.log','w+'):write("1") end if w611787accb29bffdab40afaecc2c14e3_hak==nil then gg.setVisible(false) w611787accb29bffdab40afaecc2c14e3=nil elseif w611787accb29bffdab40afaecc2c14e3_hak[3]==true then if w611787accb29bffdab40afaecc2c14e3_hak[1]== "" then gg.alert("空,请填写卡密") else local w611787accb29bffdab40afaecc2c14e3_KM_G=w611787accb29bffdab40afaecc2c14e3_json2lua(w611787accb29bffdab40afaecc2c14e3_KM_G(w611787accb29bffdab40afaecc2c14e3_hak[1])) if w611787accb29bffdab40afaecc2c14e3_KM_G.code== 200 then gg.alert("解绑成功") else gg.alert(w611787accb29bffdab40afaecc2c14e3_KM_G.msg) end end elseif w611787accb29bffdab40afaecc2c14e3_hak[1]== "" then gg.alert("空,请填写卡密") io.open(AMI_YDO..'/e.log','w+'):write("1") else w611787accb29bffdab40afaecc2c14e3_KM_LL(w611787accb29bffdab40afaecc2c14e3_hak[1]) end end while true do if gg.isVisible(true) then gg.setVisible(false) w611787accb29bffdab40afaecc2c14e3_MIAN() else if w611787accb29bffdab40afaecc2c14e3== 999 then gg.setVisible(true) else end end end