Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find (szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len (szFullString)) break end nSplitArray[nSplitIndex] = string.sub (szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len (szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "未搜索到数据,开启失败") end end end end function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast("开启成功,一共修改"..#t.."条数据") gg.addListItems(t) else gg.toast("未搜索到数据,开启失败", false) return false end else gg.toast("Not Found") return false end end
- function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "" .. xgsl .. "") else gg.toast(qmnb[2]["name"] .. "") end end end end
- function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
- function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
- function HARRY()
- end
- function setvalue(address,flags,value) HARRY('Modify address value(Address, value type, value to be modified)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
- function HaoGe(Nc,Type,Search,Write) gg.clearResults() gg.setRanges(Nc) gg.setVisible(false) gg.searchNumber(Search[1][1],Type) local count=gg.getResultCount() local result=gg.getResults(count) gg.clearResults() local data={} local base=Search[1][2] if(count>0)then for i,v in ipairs(result)do v.isUseful=true end for k=2,#Search do local tmp={} local offset=Search[k][2]-base local num=Search[k][1] for i,v in ipairs(result)do tmp[#tmp+1]={} tmp[#tmp].address=v.address+offset tmp[#tmp].flags=v.flags end tmp=gg.getValues(tmp) for i,v in ipairs(tmp)do if(tostring(v.value)~=tostring(num))then result[i].isUseful=false end end end for i,v in ipairs(result)do if(v.isUseful)then data[#data+1]=v.address end end if(#data>0)then gg.toast("\n🔍搜索到"..#data.."数据\n🔰开始进行偏移") local t={} local base=Search[1][2] for i=1,#data do for k,w in ipairs(Write)do offset=w[2]-base t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=Type t[#t].value=w[1] if(w[3]==true)then local item={} item[#item+1]=t[#t] item[#item].freeze=true gg.addListItems(item) end end end gg.setValues(t) gg.sleep(400) gg.toast("\n🚬"..Name.."成功\n🛠共修改"..#t.."数据") else gg.toast("\n❌"..Name.."失败") return false end else gg.toast("\n❌"..Name.."失败") return false end end
- gg.toast("Mᴀ")
- gg.sleep(200)
- gg.toast("Mᴀᴅᴇ")
- gg.sleep(200)
- gg.toast("Mᴀᴅᴇ ʙʏ")
- gg.sleep(200)
- gg.toast("Mᴀᴅᴇ ʙʏ ʙᴀᴅ ʜᴀᴄᴋᴇʀ")
- gg.sleep(200)
- gg.toast("Mᴀᴅᴇ ʙʏ ʙᴀᴅ ʜᴀᴄᴋᴇʀ ʏᴛ")
- gg.sleep(200)
- gg.alert("⌨︎Pᴏᴡᴇʀᴇᴅ ʙʏ ʙᴀᴅʜᴀᴄᴋᴇʀʏᴛ\n \n \nWᴇʟᴄᴏᴍᴇ Tᴏ Bᴀᴅ Hᴀᴄᴋᴇʀ 0.22.0 Vɪᴘ Sᴄʀɪᴘᴛ Pʟᴇss Jᴏɪɴ Tᴇʟᴇɢʀᴀᴍ","[Oᴋʏ]")
- function Main()
- menu = gg.multiChoice({
- "꧁3ʀᴅ ᴘᴀʀᴛʏ ʙʏᴘᴀss꧂ ",
- "꧁sᴄᴏᴘᴇ ᴇsᴘ + ᴀɪᴍʙᴏᴛ꧂ ",
- "꧁ᴍᴏᴠɪɴɢ ᴇsᴘ + ᴀɪᴍʙᴏᴛ꧂",
- "꧁ɴᴏ ʀᴇᴄᴏɪʟ ꧂",
- "꧁ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ꧂",
- "꧁ʜᴇᴀᴅsʜᴏᴛ꧂",
- "꧁ᴘʀᴏɴᴇ sᴘᴇᴇᴅ꧂",
- "꧁ ɪᴘᴀᴅ ᴠɪᴇᴡ꧂",
- "꧁sᴍᴀʟʟ ᴄʀᴏss꧂",
- "꧁ᴅᴇsᴇʀᴛ ᴍᴀᴘ꧂",
- "꧁ ᴅᴀʀᴋ ᴍᴀᴘ꧂",
- "꧁ ʀᴇᴅ ᴇғғᴇᴄᴛ꧂",
- "꧁ ғʟᴀsʜ ᴏɴ꧂",
- "✔︎🅴🆇🅸🆃"
- }, nil," Bᴀᴅ ʜᴀᴄᴋᴇʀ Vɪᴘ \n [ᴩᴜʙɢ | ʟɪᴛᴇ] [ 0.22.0 Sᴄʀɪᴘᴛ ]\n\n ᴅᴀᴛᴇ :- ["..os.date("%d/%m/%Y").."]")
- if menu == nil then else
- if menu[1] == true then ch1() end
- if menu[2] == true then ch2() end
- if menu[3] == true then ch3() end
- if menu[4] == true then ch4() end
- if menu[5] == true then ch5() end
- if menu[6] == true then ch6() end
- if menu[7] == true then ch7() end
- if menu[8] == true then ch8() end
- if menu[9] == true then ch9() end
- if menu[10] == true then ch10() end
- if menu[11] == true then ch11() end
- if menu[12] == true then ch12() end
- if menu[13] == true then ch13() end
- if menu[14] == true then
- Exit() end end XGCK = -1 end
- function ch1()
- gg.setVisible(false)
- gg.setRanges(gg.REGION_C_ALLOC)
- gg.searchNumber(":com.tencent.iglite.ztf", gg.TYPE_BYTE)
- gg.getResults(50000)
- gg.editAll("119", gg.TYPE_BYTE)
- gg.toast("Dond Bro")
- gg.clearResults()
- gg.sleep(3000)
- gg.setRanges(gg.REGION_C_ALLOC)
- gg.searchNumber(":com.tencent.mmm", gg.TYPE_BYTE)
- gg.getResults(50000)
- gg.editAll("119", gg.TYPE_BYTE)
- gg.clearResults()
- gg.alert("3ʀᴅ ᴘᴀʀᴛʏ ʙᴀɴ ғɪxᴇᴅ ")
- end
- function ch2()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0XBD1798
- setvalue(so+py,16,0)
- so=gg.getRangesList('libUE4.so')[1].start
- py=0XBD179C
- setvalue(so+py,16,0)
- end
- function ch3()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0XBCFD28
- setvalue(so+py,4,-476053503)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch4()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x26AEF3C
- setvalue(so+py,16,0)
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x26AEF3C
- setvalue(so+py,16,0)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch5()
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch6()
- end
- function ch7()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0xCA3D18
- setvalue(so+py,16,-2.73959478e28)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch8()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x28F1EA0
- setvalue(so+py,16,0)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch9()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0xDA9618
- setvalue(so+py,16,90)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch10()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x216F904
- setvalue(so+py,4,0)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch11()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0X208A950
- setvalue(so+py,4,0)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch12()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x29F0498
- setvalue(so+py,16,0)
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x29F049C
- setvalue(so+py,16,0)
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x29F04A8
- setvalue(so+py,16,0)
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x29F04A0
- setvalue(so+py,16,0)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function ch13()
- so=gg.getRangesList('libUE4.so')[1].start
- py=0x2C25CA4
- setvalue(so+py,16,7.9)
- gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
- end
- function Exit()
- print("VIP SCRIPT BY BAD HACKER ")
- os.exit()
- end
- cs = "THANKS FOR USING BAD HACKER SCRIPT"
- while true do
- if gg.isVisible(true) then
- XGCK = 1
- gg.setVisible(false)
- end
- gg.clearResults()
- if XGCK == 1 then
- Main()
- end
- end
Add Comment
Please, Sign In to add comment