Advertisement
BAD_HACKER_YT

Online chek

Dec 8th, 2021
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.74 KB | None | 0 0
  1. 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
  2. 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
  3. 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
  4. 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
  5. function HARRY()
  6. end
  7. 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
  8. 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
  9.  
  10. gg.toast("Mᴀ")
  11. gg.sleep(200)
  12. gg.toast("Mᴀᴅᴇ")
  13. gg.sleep(200)
  14. gg.toast("Mᴀᴅᴇ ʙʏ")
  15. gg.sleep(200)
  16. gg.toast("Mᴀᴅᴇ ʙʏ ʙᴀᴅ ʜᴀᴄᴋᴇʀ")
  17. gg.sleep(200)
  18. gg.toast("Mᴀᴅᴇ ʙʏ ʙᴀᴅ ʜᴀᴄᴋᴇʀ ʏᴛ")
  19. gg.sleep(200)
  20. gg.alert("⌨︎Pᴏᴡᴇʀᴇᴅ ʙʏ ʙᴀᴅʜᴀᴄᴋᴇʀʏᴛ\n \n \nWᴇʟᴄᴏᴍᴇ Tᴏ Bᴀᴅ Hᴀᴄᴋᴇʀ 0.22.0 Vɪᴘ Sᴄʀɪᴘᴛ Pʟᴇss Jᴏɪɴ Tᴇʟᴇɢʀᴀᴍ","[Oᴋʏ]")
  21.  
  22.  
  23. function Main()
  24. menu = gg.multiChoice({
  25. "꧁3ʀᴅ ᴘᴀʀᴛʏ ʙʏᴘᴀss꧂ ",
  26. "꧁sᴄᴏᴘᴇ ᴇsᴘ + ᴀɪᴍʙᴏᴛ꧂ ",
  27. "꧁ᴍᴏᴠɪɴɢ ᴇsᴘ + ᴀɪᴍʙᴏᴛ꧂",
  28. "꧁ɴᴏ ʀᴇᴄᴏɪʟ ꧂",
  29. "꧁ᴍᴀɢɪᴄ ʙᴜʟʟᴇᴛ꧂",
  30. "꧁ʜᴇᴀᴅsʜᴏᴛ꧂",
  31. "꧁ᴘʀᴏɴᴇ sᴘᴇᴇᴅ꧂",
  32. "꧁ ɪᴘᴀᴅ ᴠɪᴇᴡ꧂",
  33. "꧁sᴍᴀʟʟ ᴄʀᴏss꧂",
  34. "꧁ᴅᴇsᴇʀᴛ ᴍᴀᴘ꧂",
  35. "꧁ ᴅᴀʀᴋ ᴍᴀᴘ꧂",
  36. "꧁ ʀᴇᴅ ᴇғғᴇᴄᴛ꧂",
  37. "꧁ ғʟᴀsʜ ᴏɴ꧂",
  38. "✔︎🅴🆇🅸🆃"
  39.  
  40. }, nil," Bᴀᴅ ʜᴀᴄᴋᴇʀ Vɪᴘ \n [ᴩᴜʙɢ | ʟɪᴛᴇ] [ 0.22.0 Sᴄʀɪᴘᴛ ]\n\n ᴅᴀᴛᴇ :- ["..os.date("%d/%m/%Y").."]")
  41. if menu == nil then else
  42. if menu[1] == true then ch1() end
  43. if menu[2] == true then ch2() end
  44. if menu[3] == true then ch3() end
  45. if menu[4] == true then ch4() end
  46. if menu[5] == true then ch5() end
  47. if menu[6] == true then ch6() end
  48. if menu[7] == true then ch7() end
  49. if menu[8] == true then ch8() end
  50. if menu[9] == true then ch9() end
  51. if menu[10] == true then ch10() end
  52. if menu[11] == true then ch11() end
  53. if menu[12] == true then ch12() end
  54. if menu[13] == true then ch13() end
  55. if menu[14] == true then
  56. Exit() end end XGCK = -1 end
  57.  
  58.  
  59.  
  60. function ch1()
  61. gg.setVisible(false)
  62. gg.setRanges(gg.REGION_C_ALLOC)
  63. gg.searchNumber(":com.tencent.iglite.ztf", gg.TYPE_BYTE)
  64. gg.getResults(50000)
  65. gg.editAll("119", gg.TYPE_BYTE)
  66. gg.toast("Dond Bro")
  67. gg.clearResults()
  68. gg.sleep(3000)
  69. gg.setRanges(gg.REGION_C_ALLOC)
  70. gg.searchNumber(":com.tencent.mmm", gg.TYPE_BYTE)
  71. gg.getResults(50000)
  72. gg.editAll("119", gg.TYPE_BYTE)
  73. gg.clearResults()
  74. gg.alert("3ʀᴅ ᴘᴀʀᴛʏ ʙᴀɴ ғɪxᴇᴅ ")
  75. end
  76.  
  77.  
  78. function ch2()
  79. so=gg.getRangesList('libUE4.so')[1].start
  80. py=0XBD1798
  81. setvalue(so+py,16,0)
  82. so=gg.getRangesList('libUE4.so')[1].start
  83. py=0XBD179C
  84. setvalue(so+py,16,0)
  85. end
  86.  
  87. function ch3()
  88. so=gg.getRangesList('libUE4.so')[1].start
  89. py=0XBCFD28
  90. setvalue(so+py,4,-476053503)
  91. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  92. end
  93.  
  94. function ch4()
  95. so=gg.getRangesList('libUE4.so')[1].start
  96. py=0x26AEF3C
  97. setvalue(so+py,16,0)
  98. so=gg.getRangesList('libUE4.so')[1].start
  99. py=0x26AEF3C
  100. setvalue(so+py,16,0)
  101. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  102. end
  103.  
  104.  
  105. function ch5()
  106. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  107. end
  108.  
  109. function ch6()
  110. end
  111.  
  112. function ch7()
  113. so=gg.getRangesList('libUE4.so')[1].start
  114. py=0xCA3D18
  115. setvalue(so+py,16,-2.73959478e28)
  116. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  117. end
  118.  
  119. function ch8()
  120. so=gg.getRangesList('libUE4.so')[1].start
  121. py=0x28F1EA0
  122. setvalue(so+py,16,0)
  123. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  124. end
  125.  
  126. function ch9()
  127. so=gg.getRangesList('libUE4.so')[1].start
  128. py=0xDA9618
  129. setvalue(so+py,16,90)
  130. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  131. end
  132.  
  133. function ch10()
  134. so=gg.getRangesList('libUE4.so')[1].start
  135. py=0x216F904
  136. setvalue(so+py,4,0)
  137. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  138. end
  139.  
  140.  
  141. function ch11()
  142. so=gg.getRangesList('libUE4.so')[1].start
  143. py=0X208A950
  144. setvalue(so+py,4,0)
  145. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  146. end
  147.  
  148.  
  149. function ch12()
  150. so=gg.getRangesList('libUE4.so')[1].start
  151. py=0x29F0498
  152. setvalue(so+py,16,0)
  153. so=gg.getRangesList('libUE4.so')[1].start
  154. py=0x29F049C
  155. setvalue(so+py,16,0)
  156. so=gg.getRangesList('libUE4.so')[1].start
  157. py=0x29F04A8
  158. setvalue(so+py,16,0)
  159. so=gg.getRangesList('libUE4.so')[1].start
  160. py=0x29F04A0
  161. setvalue(so+py,16,0)
  162. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  163. end
  164.  
  165. function ch13()
  166. so=gg.getRangesList('libUE4.so')[1].start
  167. py=0x2C25CA4
  168. setvalue(so+py,16,7.9)
  169. gg.toast("🇮🇳Aᴄᴛɪᴠᴀᴛᴇᴅ Sᴜᴄᴄᴇssғᴜʟʟʏ🇮🇳")
  170. end
  171.  
  172. function Exit()
  173. print("VIP SCRIPT BY BAD HACKER ")
  174. os.exit()
  175. end
  176. cs = "THANKS FOR USING BAD HACKER SCRIPT"
  177.  
  178.  
  179.  
  180. while true do
  181. if gg.isVisible(true) then
  182. XGCK = 1
  183. gg.setVisible(false)
  184. end
  185. gg.clearResults()
  186. if XGCK == 1 then
  187. Main()
  188. end
  189. end
  190.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement