-
Notifications
You must be signed in to change notification settings - Fork 9
/
httpspy.lua
4 lines (3 loc) · 1.79 KB
/
httpspy.lua
1
2
3
4
-- Originally Created by Peython & Josh. I just fixed it for all paid exploits.
-- Works on ProtoSmasher, Synapse, Sirhurt, Sentinel, Calamari (not sure)
do local a=getrawmetatable(game)local b,c=a.__index,a.__namecall;do local d=setreadonly or changereadonly or make_writeable or fullaccess(a,false)end;local game=game;local e=game.HttpService;local f=game.GetObjects;local g=game.HttpGet;local Responder=function(h,i,...)if h=='HttpGet'or h=='HttpGetAsync'or h=='GetAsync'then _G.output(h.." :: "..i)return""elseif h=='HttpPost'or h=='HttpPostAsync'or h=='PostAsync'then _G.output(h.." :: "..i)return""elseif h=='GetObjects'then _G.output(h.." :: "..i)return setmetatable({},{__index=function(j,k)return Responder('Index',i,k)end})elseif h=='Index'then local l={...}_G.output('GetObjects Link: '..i..' :: Attempt to index: '..l[1])return{}end;return nil end;a.__index=newcclosure(function(self,m)if self==game then if m=='HttpGet'or m=='HttpGetAsync'or m=='HttpPost'or m=='HttpPostAsync'or m=='GetObjects'then return newcclosure(function(...)local i=get_namecall_method()or getnamecallmethod()return Responder(m,i)end)end elseif self==e then if m=='GetAsync'or m=='PostAsync'then return newcclosure(function(...)local i=get_namecall_method()or getnamecallmethod()return Responder(m,i)end)end end;return b(self,m)end)a.__namecall=newcclosure(function(self,...)local n=get_namecall_method()or getnamecallmethod()if self==game then if n=='HttpGet'or n=='HttpGetAsync'or n=='HttpPost'or n=='HttpPostAsync'or n=='GetObjects'then local i=table.remove({...},1)return Responder(n,i)end elseif self==e then if n=='GetAsync'or n=='PostAsync'then local i=table.remove({...},1)return Responder(n,i)end end;return c(self,...)end)_G.output('Loaded HTTP Spy Successfully!\nCreated by Peyton and Josh @ V3rmillion - Fixed by CreativeHell')end