Run it
Copy the script and paste it into your executor.
local function getUrl(url)
url = url.Url or url
return type(url) == "string" and url or nil
end
local function verifyUrl(url)
local lower = url:lower()
return lower:sub(1, 7) == "http://" or lower:sub(1, 8) == "https://"
end
local function wrap(func, method)
if type(func) ~=
(...)
packed = { ... }
url = method (packed[]) (packed[])
url
(url)
success, result = (() (.(packed)) )
success
result
(result, method )
(, method )
(, method )
env = ()
(env.request) == env.request = (env.request)
(env.http_request) == env.http_request = (env.http_request)
(env.http) == (env.http.request) ==
env.http.request = (env.http.request)
(env.HttpGet) == env.HttpGet = (env.HttpGet)
(env.HttpGetAsync) == env.HttpGetAsync = (env.HttpGetAsync)
wrappedHttpGet = (.HttpGet, )
wrappedHttpGetAsync = (.HttpGetAsync, )
mt = ()
oldnc = mt.__namecall
(mt, )
mt.__namecall = (...)
method = ()
()
method ==
(...)
method ==
(...)
(...)
(mt, )This script is for people who use executors such as Seliware with the vulnerability that allows scripts to access your local file system. I'd still be careful running random scripts but this should at least give some amount of protection. I recommend leaving this in your autoexecute. If you have any suggestions on how I can improve this script, PLEASE comment them. I'll be more than happy to see what I can do about it. You can also use the loadstring to always receive the latest version of this script loadstring(game:HttpGet("https://scriptblox.com/api/script/raw/Universal-Script-Executor-HTTP-request-vulnerability-fix-88720"))()