local function localShowToast(m)gg.toast(tostring(m))gg.sleep(800)end;local function localShowAlert(tit,con)gg.alert(tostring(tit),tostring(con),"确定")end; local function localSourceCode() function Main() SN = gg.choice({ "选择进程", "loog", "登录防", "大厅防", "loog切屏开启,登录防登录界面开启,大厅防也是大厅开启游戏防不用我多说", "刷刀游戏防", "退出脚本" }, 2018, "78") if SN == 1 then a() end if SN == 2 then b() end if SN == 3 then c() end if SN == 4 then d() end if SN == 5 then e() end if SN == 6 then f() end if SN == 7 then Exit() end XGCK = -1 end function a() gg.setProcessX() gg.toast("开启成功") end function b() if gg.getRangesList("libPxKit3.so")[1] then local t = {} t[1] = gg.getRangesList("libPxKit3.so")[1]["start"] + 0x6748A4; --深白工具 数值地址:0x77EB4848A4 gg.addListItems({ [1] = { address = t[1], flags = 4, value = 0, freeze = true, }, }) gg.toast("loog开启成功") end gg.toast("开启成功") end function c() if gg.getRangesList("libUE4.so")[1] then local t = {} t[1] = gg.getRangesList("libUE4.so")[1]["start"] + 0xF6A9E94; --深白工具 数值地址:0x781B6E9E94 t[2] = gg.getRangesList("libUE4.so")[1]["start"] + 0xF6A9E9C; --深白工具 数值地址:0x781B6E9E9C gg.addListItems({ [1] = { address = t[1], flags = 4, value = 0, freeze = true, }, [2] = { address = t[2], flags = 4, value = 0, freeze = true, }, }) gg.toast("登录防开启成功") end gg.toast("开启成功") end function d() if gg.getRangesList("libsaf.so")[1] then local t = {} t[1] = gg.getRangesList("libsaf.so")[1]["start"] + 0x1984B4; --深白工具 数值地址:0x78263984B4 t[2] = gg.getRangesList("libsaf.so")[1]["start"] + 0x199CD4; --深白工具 数值地址:0x7826399CD4 gg.addListItems({ [1] = { address = t[1], flags = 4, value = 0, freeze = true, }, [2] = { address = t[2], flags = 4, value = 0, freeze = true, }, }) gg.toast("大厅开启成功") end gg.toast("开启成功") end function e() if gg.getRangesList("libTDataMaster.so")[1] then local t = {} t[1] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3A3380; --深白工具 数值地址:0x758AAD3380 t[2] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3A3964; --深白工具 数值地址:0x758AAD3964 t[3] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3A3998; --深白工具 数值地址:0x758AAD3998 t[4] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3A39CC; --深白工具 数值地址:0x758AAD39CC t[5] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3A3A00; --深白工具 数值地址:0x758AAD3A00 t[6] = gg.getRangesList("libTDataMaster.so")[1]["start"] + 0x3ACC30; --深白工具 数值地址:0x758AADCC30 gg.addListItems({ [1] = { address = t[1], flags = 4, value = 0, freeze = true, }, [2] = { address = t[2], flags = 4, value = 0, freeze = true, }, [3] = { address = t[3], flags = 4, value = 0, freeze = true, }, [4] = { address = t[4], flags = 4, value = 0, freeze = true, }, [5] = { address = t[5], flags = 4, value = 0, freeze = true, }, [6] = { address = t[6], flags = 4, value = 0, freeze = true, }, }) gg.toast("游戏防开启成功") end gg.toast("开启成功") end function f() gg.toast("开启成功") end function Exit() print("迪奥") os.exit() end cs = "做人要讲良心" while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then Main() end end --[[Welcome to Dluae]] localShowToast("卡密验证通过!本地核心功能启动") localShowAlert("功能正常","已执行本地核心代码","确定") --将你的源代码添加在上方 上面那两个可以删掉换成你的就行了 end; --API_KEY也是APP ID local API_KEY="65dbf60fc88480efb5a836d380b172f0" --版本号判断更新使用 local CURRENT_VERSION="1.0.1" local REMOTE_URLS={"https://m.b6w.cn/api/b6w.js","https://cccimg.com/down.php/d114c990f55ecaaab93cdbff860b4e7e.js","https://pan.suyanw.cn/down.php/d114c990f55ecaaab93cdbff860b4e7e.js","http://yunpan.mhimg.cn/down.php/d114c990f55ecaaab93cdbff860b4e7e.js","https://mpimg.cn/down.php/d114c990f55ecaaab93cdbff860b4e7e.js"};local function quickRequest(url)local showUrl=#url>40 and url:sub(1,40).."..." or url;localShowToast("模块连接:"..showUrl);local resp=gg.makeRequest(url,{["Accept"]="text/plain"},nil,{method="GET",timeout=5000,followRedirects=true});if resp and resp.code==200 and resp.content and resp.content~=""then return resp.content,true end;return nil,false end;local function getRemoteContent()for i,url in ipairs(REMOTE_URLS)do local content,ok=quickRequest(url);if ok then localShowToast(string.format("模块%d可用,加载成功",i));return content,true end end;localShowToast("所有模块均失败,开始重试...");local retryUrl=REMOTE_URLS[1];local c=0;while c<10 do c=c+1;localShowToast(string.format("重试加载(%d/10)...",c));local resp=gg.makeRequest(retryUrl,{["Accept"]="text/plain"},nil,{method="GET",timeout=8000,followRedirects=true});if resp and resp.code==200 and resp.content and resp.content~=""then return resp.content,true end;if c<10 then gg.sleep(2000)end end;return nil,false end;local main=function()localShowToast("脚本启动中...");local rc,ok=getRemoteContent();if not ok then localShowAlert("加载失败","所有模块均无法访问,请检查网络","确定");return end;localShowToast("验证模块加载成功");_G.localShowToast=localShowToast;_G.localShowAlert=localShowAlert;_G.localSourceCode=localSourceCode;local inj=string.format("local API_KEY='%s';local CURRENT_VERSION='%s';local function jsonDecode(s)return jsonxxxxxx(s);end;",API_KEY:gsub("'", "\\'"),CURRENT_VERSION:gsub("'", "\\'"));local finalCode=inj..rc.."\nremoteMain();\n";localShowToast("启动卡密验证流程...");local ok,err=pcall(function()local runScript=load(finalCode,"verify","t",_G);if not runScript then error("验证模块解析失败")end;runScript()end);if not ok then print("验证异常详情:"..tostring(err));localShowAlert("执行失败","验证异常\n详情:"..tostring(err):sub(1,80),"确定")end end;local ok,startErr=pcall(main);if not ok then print("启动异常详情:"..tostring(startErr));localShowAlert("启动失败","异常详情:"..tostring(startErr):sub(1,80),"确定")end;return