Advertisement
Upscalefanatic3

Filtering Enabled Bypass [Lua Script] [7/11/2018]

Jul 12th, 2018
10,215
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 1 0
  1. -- To run this bypass, the exploit you will need to run this script requires getrawmetatable that actually unlocks the metatable and supports loadstring. Because of the requirements, this bypass modifys the __index metamethod and exploits a vulnerability with onserverevent.
  2.  
  3. -- If you get a error upon executing the script, such as "loadstring() is not available" it means your exploit does not have a custom implementation for loadstring and will not run the script.
  4.  
  5. -- After you ran the script, you can execute serversided lua code by passing lua code to the function game:Execute or you can pass lua code to a RemoteEvent it creates in ReplicatedStorage and therefore bypassing Filtering Enabled because Server scripts replicate on FilteringEnabled servers not LocalScripts. See more on FilteringEnabled: http://wiki.roblox.com/index.php?title=A...ingEnabled
  6.  
  7. -- Example script (calling game:Execute and passing lua code in the function argument): game:Execute("workspace.Gravity=0")
  8.  
  9. -- Example script (calling the RemoteEvent that is created in ReplicatedStorage): game:GetService("ReplicatedStorage').RemoteEvent:FireServer("workspace.Gravity=0")
  10.  
  11.  
  12.  
  13.  
  14.  
  15. Begin = function()
  16.  
  17.  
  18. local gMetatable = getrawmetatable(game)
  19.  
  20. local Index = function(self, k)
  21. local Function = string.lower(k)
  22. if Function == "Execute" then
  23. return function(self, source)
  24. return { loadstring(source)() }
  25. end
  26. end
  27. end
  28.  
  29. local o_Index = gMetatable.__index
  30. gMetatable.__index = function(self, k)
  31. local v = index(self, k)
  32. if v then
  33. return v
  34. end
  35. return o_Index(self, k)
  36. end
  37.  
  38. local o_Namecall = gMetatable.__namecall
  39. gMetatable.__namecall = function(self, ...)
  40. local args = {...}
  41. local method = table.remove(args)
  42.  
  43. if type(method) == "string" then
  44. local ret = Index(self, method)
  45. if ret then
  46. return ret(self, unpack(args))
  47. end
  48. end
  49. return o_Namecall(self, ...)
  50. end
  51.  
  52.  
  53. local RemoteEvent = Instance.new("RemoteEvent")
  54. RemoteEvent.Parent=game.ReplicatedStorage
  55.  
  56. RemoteEvent.OnServerEvent:connect(function(Source)
  57. game:Execute(Source)
  58. end)
  59. end
  60. spawn(function() Begin() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement