fuhao= '"' local function wdace797260b9ad14d49fd6a9c9b174f1_json2true(str,from,to) return true, from+3 end local function wdace797260b9ad14d49fd6a9c9b174f1_json2false(str,from,to) return false, from+4 end local function wdace797260b9ad14d49fd6a9c9b174f1_json2null(str, from, to) return nil, from+3 end local function wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 = wdace797260b9ad14d49fd6a9c9b174f1_json2string(str,pos,to) elseif char == '[' then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2array(str,pos,to) elseif char == '{' then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2table(str,pos,to) elseif char == ']' then return result, pos elseif (char=='f' or char=='F') then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2false(str,pos,to) elseif (char=='t' or char=='T') then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2true(str,pos,to) elseif (char=='n') then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2null(str,pos,to) elseif (char=='N') then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2nan(str,pos,to) elseif numberchars[char] then result[#result+1], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2number(str,pos,to) end pos = pos + 1 end error(_format('json格式错误,表没有找到结尾, 错误位置:{from}', from)) end function _G.wdace797260b9ad14d49fd6a9c9b174f1_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 = wdace797260b9ad14d49fd6a9c9b174f1_json2string(str,pos,to) else result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2string(str,pos,to) key = nil end elseif char == '[' then if not key then key, pos = wdace797260b9ad14d49fd6a9c9b174f1_json2array(str,pos,to) else result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2array(str,pos,to) key = nil end elseif char == '{' then if not key then key, pos = wdace797260b9ad14d49fd6a9c9b174f1_json2table(str,pos,to) else result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2table(str,pos,to) key = nil end elseif char == '}' then return result, pos elseif (char=='f' or char=='F') then result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2false(str,pos,to) key = nil elseif (char=='t' or char=='T') then result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2true(str,pos,to) key = nil elseif (char=='n') then result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2null(str,pos,to) key = nil elseif (char=='N') then result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2nan(str,pos,to) key = nil elseif numberchars[char] then if not key then key, pos = wdace797260b9ad14d49fd6a9c9b174f1_json2number(str,pos,to) else result[key], pos = wdace797260b9ad14d49fd6a9c9b174f1_json2number(str,pos,to) key = nil end end pos = pos + 1 end error(_format('格式错误,表没有找到结尾, 错误位置:{from}', from)) end local jsonfuncs={[ fuhao ]=wdace797260b9ad14d49fd6a9c9b174f1_json2string,['[']=wdace797260b9ad14d49fd6a9c9b174f1_json2array,['{']=wdace797260b9ad14d49fd6a9c9b174f1_json2table,['f']=wdace797260b9ad14d49fd6a9c9b174f1_json2false,['F']=wdace797260b9ad14d49fd6a9c9b174f1_json2false,['t']=wdace797260b9ad14d49fd6a9c9b174f1_json2true,['T']=wdace797260b9ad14d49fd6a9c9b174f1_json2true} local function wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1="https://wy.llua.cn/" --官网 local wdace797260b9ad14d49fd6a9c9b174f1_Kami=wdace797260b9ad14d49fd6a9c9b174f1.."api/?id=kmlogin" --接口名称[卡密登录] local wdace797260b9ad14d49fd6a9c9b174f1_jieba=wdace797260b9ad14d49fd6a9c9b174f1.."api/?id=kmunmachine" --接口名称[卡密解绑] local wdace797260b9ad14d49fd6a9c9b174f1_Notice=wdace797260b9ad14d49fd6a9c9b174f1.."api/?id=notice" --接口名称[应用公告] ---[=[ 上面是对接 ]=]------------------------------------------------------------------------------------------------------------------- local wdace797260b9ad14d49fd6a9c9b174f1_APPID='69451' --APPID local wdace797260b9ad14d49fd6a9c9b174f1_APPKEY='Q4EYk1iy31E3x3uI' --APPKEY local wdace797260b9ad14d49fd6a9c9b174f1_RC4_key='40acb10a1df64cb9fe4b525a468c5f0b' --是否 RC4 加密[key 密钥] local wdace797260b9ad14d49fd6a9c9b174f1_RC4="开" --选择 RC4加密-2 否则会乱码 --打开 签名放DATA里:打开 if wdace797260b9ad14d49fd6a9c9b174f1_RC4=="关" then gg.alert("RC4-2加密未开启,会有破解风险,禁止登录,请前往后台配置RC4-2秘钥") os.exit() end AMI_YDO="/sdcard" --卡密 设备码 路径,正式环境记得去替换自己的 ---------------------------------------------------------------------------------------------------------------------- if wdace797260b9ad14d49fd6a9c9b174f1_APPID=="" or wdace797260b9ad14d49fd6a9c9b174f1_APPKEY=="" then gg.alert("对接数据,空...")--对话框 os.exit() end ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- local wdace797260b9ad14d49fd6a9c9b174f1_Notice=wdace797260b9ad14d49fd6a9c9b174f1_ultra(wdace797260b9ad14d49fd6a9c9b174f1_Notice.."&app=".. wdace797260b9ad14d49fd6a9c9b174f1_APPID,"") if wdace797260b9ad14d49fd6a9c9b174f1_RC4 == "开" then wdace797260b9ad14d49fd6a9c9b174f1_Notice=wdace797260b9ad14d49fd6a9c9b174f1_rc4(wdace797260b9ad14d49fd6a9c9b174f1_Notice,wdace797260b9ad14d49fd6a9c9b174f1_RC4_key,false) gg.setVisible(false) end ---[=[ 云函数 ]=]------------------------------------------------------------------------------------------------------------------- xpcall(function() local wdace797260b9ad14d49fd6a9c9b174f1_ls = load pcall(wdace797260b9ad14d49fd6a9c9b174f1_ls(wdace797260b9ad14d49fd6a9c9b174f1_rc4(gg.makeRequest("http://app.llua.cn/api/?id=lua",post,"appid="..wdace797260b9ad14d49fd6a9c9b174f1_APPID).content,wdace797260b9ad14d49fd6a9c9b174f1_APPKEY,false))) end,function() print("[微验云函数]此修改器不支持云函数或云函数存在语法错误") end) if wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_Notice)['code'] == 200 then if wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_Notice).msg.app_gg ~= "" then ggstr = string.gsub(wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_Notice).msg.app_gg,"\\n","\n") gg.alert("公告:"..ggstr)--对话框 end else gg.alert("公告接口:"..wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_Notice).msg)--对话框 os.exit() end wdace797260b9ad14d49fd6a9c9b174f1=999 ---------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------- function wdace797260b9ad14d49fd6a9c9b174f1_MIAN() miei=io.open(AMI_YDO..'/miei','r') if miei==nil or miei:read("*a")== "" then miei=wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_KM_G(km) local wdace797260b9ad14d49fd6a9c9b174f1_key=wdace797260b9ad14d49fd6a9c9b174f1_md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. wdace797260b9ad14d49fd6a9c9b174f1_APPKEY) local wdace797260b9ad14d49fd6a9c9b174f1_bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..wdace797260b9ad14d49fd6a9c9b174f1_key if wdace797260b9ad14d49fd6a9c9b174f1_RC4 == "开" then wdace797260b9ad14d49fd6a9c9b174f1_bops= "data="..wdace797260b9ad14d49fd6a9c9b174f1_rc4(wdace797260b9ad14d49fd6a9c9b174f1_bops,wdace797260b9ad14d49fd6a9c9b174f1_RC4_key,true) end local wdace797260b9ad14d49fd6a9c9b174f1_HUT=wdace797260b9ad14d49fd6a9c9b174f1_ultra(wdace797260b9ad14d49fd6a9c9b174f1_jieba.."&app=".. wdace797260b9ad14d49fd6a9c9b174f1_APPID,wdace797260b9ad14d49fd6a9c9b174f1_bops) if wdace797260b9ad14d49fd6a9c9b174f1_RC4 == "开" then wdace797260b9ad14d49fd6a9c9b174f1_HUT=wdace797260b9ad14d49fd6a9c9b174f1_rc4(wdace797260b9ad14d49fd6a9c9b174f1_HUT,wdace797260b9ad14d49fd6a9c9b174f1_RC4_key,false) end return wdace797260b9ad14d49fd6a9c9b174f1_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 wdace797260b9ad14d49fd6a9c9b174f1_Random=wdace797260b9ad14d49fd6a9c9b174f1_md5(os.time()*1000+611*os.time()-999999)..wdace797260b9ad14d49fd6a9c9b174f1_APPKEY..miei function wdace797260b9ad14d49fd6a9c9b174f1_KM_LL(km) local wdace797260b9ad14d49fd6a9c9b174f1_key=wdace797260b9ad14d49fd6a9c9b174f1_md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. wdace797260b9ad14d49fd6a9c9b174f1_APPKEY) local wdace797260b9ad14d49fd6a9c9b174f1_bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..wdace797260b9ad14d49fd6a9c9b174f1_key if wdace797260b9ad14d49fd6a9c9b174f1_RC4 == "开" then wdace797260b9ad14d49fd6a9c9b174f1_bops="data="..wdace797260b9ad14d49fd6a9c9b174f1_rc4(wdace797260b9ad14d49fd6a9c9b174f1_bops,wdace797260b9ad14d49fd6a9c9b174f1_RC4_key,true) end local wdace797260b9ad14d49fd6a9c9b174f1_HUT=wdace797260b9ad14d49fd6a9c9b174f1_ultra(wdace797260b9ad14d49fd6a9c9b174f1_Kami.."&app=".. wdace797260b9ad14d49fd6a9c9b174f1_APPID,wdace797260b9ad14d49fd6a9c9b174f1_bops.."&value="..wdace797260b9ad14d49fd6a9c9b174f1_Random) --请求数据 if wdace797260b9ad14d49fd6a9c9b174f1_RC4 == "开" then wdace797260b9ad14d49fd6a9c9b174f1_HUT=wdace797260b9ad14d49fd6a9c9b174f1_rc4(wdace797260b9ad14d49fd6a9c9b174f1_HUT,wdace797260b9ad14d49fd6a9c9b174f1_RC4_key,false) end local KM_L=wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_HUT) local wdace797260b9ad14d49fd6a9c9b174f1_id=KM_L.m35a185c3431208ae2ddc6e0ec055d5af.na9e69c9d66c5b442c56edda7628aa192 local wdace797260b9ad14d49fd6a9c9b174f1_code=KM_L.yd387b82c3b0101044c9f3f24975709b4 local wdace797260b9ad14d49fd6a9c9b174f1_msg=KM_L.m35a185c3431208ae2ddc6e0ec055d5af local wdace797260b9ad14d49fd6a9c9b174f1_check=KM_L.w3487495ba411ca750403f980e6dd11ad local wdace797260b9ad14d49fd6a9c9b174f1_time=KM_L.m2e3d610ff04c826ded81a206e4b772ab if wdace797260b9ad14d49fd6a9c9b174f1_code~= 77749 then io.open(AMI_YDO..'/e.log','w+'):write("1") gg.alert(wdace797260b9ad14d49fd6a9c9b174f1_msg) wdace797260b9ad14d49fd6a9c9b174f1_MIAN() else if wdace797260b9ad14d49fd6a9c9b174f1_check~= wdace797260b9ad14d49fd6a9c9b174f1_md5(""..wdace797260b9ad14d49fd6a9c9b174f1_time..""..wdace797260b9ad14d49fd6a9c9b174f1_Random..""..wdace797260b9ad14d49fd6a9c9b174f1_key..""..wdace797260b9ad14d49fd6a9c9b174f1_key..""..wdace797260b9ad14d49fd6a9c9b174f1_APPKEY..""..wdace797260b9ad14d49fd6a9c9b174f1_key..""..wdace797260b9ad14d49fd6a9c9b174f1_key.."rc364be6e499aa346b92e61e7c756d3c8") then gg.alert("脚本:检测到你有非法操作") os.exit() end if wdace797260b9ad14d49fd6a9c9b174f1_time-os.time()>30 or wdace797260b9ad14d49fd6a9c9b174f1_time-os.time()<-30 then gg.alert("脚本:数据过期"..wdace797260b9ad14d49fd6a9c9b174f1_time-os.time()) os.exit() end TT=gg.alert("到期时间:-----------\n" ..os.date("%Y".."年".."%m".."月".."%d".."日 %H".."时".."%M".."分".."%S".."秒",wdace797260b9ad14d49fd6a9c9b174f1_msg.e80280552e987a400bcbdd9a0f10d1c5a),"确定","返回")--对话框 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") wdace797260b9ad14d49fd6a9c9b174f1_MIAN() else ---[=[ ]=]------------------------------------------------------------------------------------------------------------------- --ByAP Qr_ao6YKnFf='Main' gg.clearResults() sj={} xgz={} gg.toast("千然偏移v1.2") function search(ss,lx,nc,dz1,dz2) if ss~=nil then if lx~=nil then if nc==nil then nc=32 end gg.setRanges(nc) if dz1==nil then dz1="-1" end if dz2==nil then dz1="0" end gg.searchNumber(ss,lx,false,gg.SIGN_EQUAL,dz1,dz2) sl=gg.getResultCount() if sl~=0 then sj=gg.getResults(sl) gg.toast("搜索到 "..sl.." 个结果") gg.clearResults() else gg.toast("未搜索到结果") end else gg.toast("无搜索值类型") end else gg.toast("无需搜索值") end end function py1(value,lx,py) if #sj~=nil then z1={} z2={} for i=1,#sj do z1[i]={} z1[i].address=sj[i].address+py z1[i].flags=lx end z1=gg.getValues(z1) for i=1,#sj do if z1[i].value==value then z2[#z2+1]={} z2[#z2]=sj[i] end end sj=z2 z1={} z2={} gg.toast("共偏移 "..#sj.." 个数据") else gg.toast("没有搜索数据") end end function py2(value,lx,py) if #sj~=nil then z1={} z2={} for i=1,#sj do z1[i]={} z1[i].address=sj[i].address+py z1[i].flags=lx end z1=gg.getValues(z1) for i=1,#sj do if z1[i].value~=value then z2[#z2+1]={} z2[#z2]=sj[i] end end sj=z2 z1={} z2={} gg.toast("共偏移 "..#sj.." 个数据") else gg.toast("没有搜索数据") end end function xg1(value,lx,py,dj) if #sj~=nil then z={} for i=1,#sj do z[i]={} z[i].address=sj[i].address+py z[i].flags=lx z[i].value=value if dj==true then z[i].freeze=true end end if dj==true then gg.addListItems(z) else gg.clearList() gg.setValues(z) end gg.toast("共修改 "..#z.." 个数据") else gg.toast("没有搜索数据") end end function xg2(bz,value,lx,py,dj) if #bz~=nil then z={} for i=1,#bz do z[i]={} z[i].address=bz[i].address+py z[i].flags=lx z[i].value=value if dj==true then z[i].freeze=true end end if dj==true then gg.addListItems(z) else gg.clearList() gg.setValues(z) end gg.toast("共修改 "..#z.." 个数据") else gg.toast("没有搜索数据") end end function bc(bz) if sj~=nil then _ENV[bz]=sj else gg.toast("无数据") end end function BaAdd(add) if gg.getTargetInfo().x64==true then t=gg.getValues({[1]={address=add,flags=32}}) return t[1].value else t=gg.getValues({[1]={address=add,flags=4}}) return t[1].value&0xFFFFFFFF end end function set(dz,xg,lx,dj) if dj=="true" then gg.addListItems({{address=dz,flags=lx,value=xg,freeze=true}}) else gg.setValues({{address=dz,flags=lx,value=xg}}) end gg.toast("已修改完成~") end function readPointer(name, offset, i) local re = gg.getRangesList(name) local x64 = gg.getTargetInfo().x64 local va = {[true] = 32, [false] = 4} if re[i or 1] then local addr = re[i or 1].start + offset[1] for i = 2, #offset do addr = gg.getValues({{address = addr, flags = va[x64]}}) if not x64 then addr[1].value = addr[1].value & 0xFFFFFFFF end addr = addr[1].value + offset[i] end return addr end end function gg.edits(addr, Table, name) local Table1 = {{}, {}} for k, v in ipairs(Table) do local value = {address = addr + v[3], value = v[1], flags = v[2], freeze = v[4]} if v[4] then Table1[2][#Table1[2] + 1] = value else Table1[1][#Table1[1] + 1] = value end end gg.addListItems(Table1[2]) gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改" .. #Table .. "个值") end function Z_TM(Search) gg.clearResults() gg.setRanges(Search[1][3]) gg.searchNumber(Search[1][1],Search[1][2]) if gg.getResultCount() == 0 then gg.toast("主特征码无搜索结果") else result=gg.getResults(gg.getResultCount()) local tmp = {} for i=2,#Search-1 do for k=1,#result do tmp[(i-2)*#result+k]={address = result[k].address + Search[i][3] , flags = Search[i][2]}--列表所有数据偏移 end end local tmp,tmp1=gg.getValues(tmp),{} for k=1,#result do i=2 ::a:: if tmp[(i-2)*#result+k].value == Search[i][1] then--判断 if i==#Search-1 then--判断是否到最后一条,赋值修改数据 tmp1[#tmp1+1]={address = result[k].address + Search[#Search][3] , flags = Search[#Search][2],value=Search[#Search][1],freeze = true}--修改赋值 else i=i+1 goto a end end end if #tmp1==0 then gg.toast("无符合结果") else if Search[#Search][4]==true then gg.addListItems(tmp1) else gg.setValues(tmp1) end end end gg.clearResults() end local time=os.clock() function Main() menu = gg.choice({ '▪无限瞬移', '▪敌人不动', '▪宠物技能次数', '🍁全人物星级🍁', '🐳全人物等级🐳', '🌸全人物等级2[必开]🌸', '🍺全人物觉醒🍺', '▪退出脚本'}, 2018,'“以神之名,冠我之名”') if menu == 1 then A() end if menu == 2 then B() end if menu == 3 then C() end if menu == 4 then D() end if menu == 5 then E() end if menu == 6 then F() end if menu == 7 then G() end if menu == 8 then Exit() end XGCK=-1 end function A() local Search={ {1007225098,4,4},--主特征码1.25,类型F(16),内存Ca(4) {1735289088,4,0x10C},--副特征码,类型D(16),主特征码偏移+ --副特征码,类型,偏移 {999,4,0xE4,false} } Z_TM(Search) end function B()--敌人不动 gg.alert("尽量站在敌人左边开,不然可能会把自己锁了") search(1036831949,4,4) py1(-1082130432,4,-796) py1(-2147483648,4,-788) py1(1084227584,4,-12) xg1(1151049728,4,-860,true) end function C()--宠物技能次数 local Search={ {1007225098,4,4},--主特征码1.25,类型F(16),内存Ca(4) {1735289088,4,0x10C},--副特征码,类型D(16),主特征码偏移+ --副特征码,类型,偏移 {999,4,0xE0,false} } Z_TM(Search) end function D() local Z=gg.prompt({"输入想要修改的星级"},{""},{"text"}) lsearch(1065353216,4,4) py1(47,4,-12) py1(8,4,20) xg1(Z[1],4,-88,false) end function E() search(1065353216,4,4) py1(47,4,-12) py1(8,4,20) xg1(520131416,4,-104,false) gg.alert("▶必须去升级技能后开启等级2◀","确定") end function F() search(1065353216,4,4) py1(47,4,-12) py1(8,4,20) xg1(130,4,-104,false) end function G() search(1065353216,4,4) py1(47,4,-12) py1(8,4,20) xg1(1,4,-0x2C,false) end function Exit() print("有问题请说明\n用时: "..string.format("%.2f",os.clock()-time).."秒") os.exit() end while(true) do if gg.isVisible(true) then gg.setVisible(false) Main() end end ---[=[ ]=]------------------------------------------------------------------------------------------------------------------- end end end if km == nil then else if km ~="" then if e==true then wdace797260b9ad14d49fd6a9c9b174f1_KM_LL(km) end end end local wdace797260b9ad14d49fd6a9c9b174f1_hak=gg.prompt({ "输入你的卡密", "下次自动登入", "卡密解绑模式", },{ km, e, jb },{ 'text',--文字 'checkbox',--多选 'checkbox',--多选 })--文本功能 if wdace797260b9ad14d49fd6a9c9b174f1_hak==nil then elseif wdace797260b9ad14d49fd6a9c9b174f1_hak[2]==true then io.open(AMI_YDO..'/e.log','w+'):write("2") elseif wdace797260b9ad14d49fd6a9c9b174f1_hak[2]==false then io.open(AMI_YDO..'/e.log','w+'):write("1") end if wdace797260b9ad14d49fd6a9c9b174f1_hak==nil then gg.setVisible(false) wdace797260b9ad14d49fd6a9c9b174f1=nil elseif wdace797260b9ad14d49fd6a9c9b174f1_hak[3]==true then if wdace797260b9ad14d49fd6a9c9b174f1_hak[1]== "" then gg.alert("空,请填写卡密") else local wdace797260b9ad14d49fd6a9c9b174f1_KM_G=wdace797260b9ad14d49fd6a9c9b174f1_json2lua(wdace797260b9ad14d49fd6a9c9b174f1_KM_G(wdace797260b9ad14d49fd6a9c9b174f1_hak[1])) if wdace797260b9ad14d49fd6a9c9b174f1_KM_G.code== 200 then gg.alert("解绑成功") else gg.alert(wdace797260b9ad14d49fd6a9c9b174f1_KM_G.msg) end end elseif wdace797260b9ad14d49fd6a9c9b174f1_hak[1]== "" then gg.alert("空,请填写卡密") io.open(AMI_YDO..'/e.log','w+'):write("1") else wdace797260b9ad14d49fd6a9c9b174f1_KM_LL(wdace797260b9ad14d49fd6a9c9b174f1_hak[1]) end end while true do if gg.isVisible(true) then gg.setVisible(false) wdace797260b9ad14d49fd6a9c9b174f1_MIAN() else if wdace797260b9ad14d49fd6a9c9b174f1== 999 then gg.setVisible(true) else end end end