Advertisement
Johayver

Untitled

Jan 16th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local HttpSpy = Instance.new("ScreenGui")
  7. local Backgroud = Instance.new("Frame")
  8. local TitleText = Instance.new("TextLabel")
  9. local MainContainer = Instance.new("ScrollingFrame")
  10. local TemplateText = Instance.new("TextLabel")
  11. local UIListLayout = Instance.new("UIListLayout")
  12.  
  13. --Properties:
  14.  
  15. HttpSpy.Name = "HttpSpy"
  16. HttpSpy.Parent = game.CoreGui
  17. HttpSpy.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Backgroud.Name = "Backgroud"
  20. Backgroud.Parent = HttpSpy
  21. Backgroud.Active = true
  22. Backgroud.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  23. Backgroud.BorderColor3 = Color3.fromRGB(255, 0, 4)
  24. Backgroud.BorderSizePixel = 2
  25. Backgroud.Position = UDim2.new(0.0586419739, 0, 0.24924925, 0)
  26. Backgroud.Size = UDim2.new(0, 406, 0, 222)
  27.  
  28. TitleText.Name = "TitleText"
  29. TitleText.Parent = Backgroud
  30. TitleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  31. TitleText.BackgroundTransparency = 1.000
  32. TitleText.BorderSizePixel = 0
  33. TitleText.Size = UDim2.new(0, 406, 0, 25)
  34. TitleText.Font = Enum.Font.RobotoMono
  35. TitleText.Text = "HTTP Spy v. 1"
  36. TitleText.TextColor3 = Color3.fromRGB(255, 255, 255)
  37. TitleText.TextScaled = true
  38. TitleText.TextSize = 14.000
  39. TitleText.TextWrapped = true
  40.  
  41. MainContainer.Name = "MainContainer"
  42. MainContainer.Parent = Backgroud
  43. MainContainer.Active = true
  44. MainContainer.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  45. MainContainer.BorderSizePixel = 0
  46. MainContainer.Position = UDim2.new(0, 0, 0.112612613, 0)
  47. MainContainer.Size = UDim2.new(0, 406, 0, 197)
  48. MainContainer.ScrollBarThickness = 6
  49.  
  50. UIListLayout.Parent = MainContainer
  51. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  52.  
  53.  
  54. function drag (s)
  55. script.Parent = s;
  56. script.Parent.Position = UDim2.new (0, script.Parent.Parent.AbsoluteSize.X * script.Parent.Position.X.Scale + script.Parent.Position.X.Offset, 0, script.Parent.Parent. AbsoluteSize.Y * script.Parent.Position.Y.Scale + script.Parent.Position.Y.Offset)
  57. local i = false
  58. script.Parent.MouseEnter:Connect(function ()
  59. i = true
  60. end);
  61. script.Parent.MouseLeave:Connect(function ()
  62. i = false;
  63. end)
  64. local uis = game:GetService("UserInputService")
  65. local up = false;
  66. local m = game:GetService("Players")['LocalPlayer']:GetMouse()
  67. uis.InputBegan:Connect(function(key)
  68. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  69. up = false
  70. local offsetX = m.X-script.Parent.Position.X.Offset
  71. local offsetY = m.Y-script.Parent.Position.Y.Offset
  72. if i then
  73. repeat
  74. warn("BRRRRR")
  75. s:TweenPosition (UDim2.new (0, m.X-offsetX, 0, m.Y-offsetY), 'Out', 'Sine', 0.4, true)
  76. wait ();
  77. until up
  78. offsetX = 0
  79. offsetY = 0
  80. end;
  81. end
  82. end)
  83. uis.InputEnded:Connect(function(key)
  84. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  85. up = true
  86. end
  87. end)
  88.  
  89.  
  90. end;
  91. drag(Backgroud)
  92.  
  93.  
  94. local script = Instance.new('LocalScript', MainContainer)
  95.  
  96. TemplateText.Name = "TemplateText"
  97. TemplateText.Parent = HttpSpy.Backgroud.MainContainer.LocalScript
  98. TemplateText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  99. TemplateText.BackgroundTransparency = 0.950
  100. TemplateText.BorderSizePixel = 0
  101. TemplateText.Position = UDim2.new(3.75832236e-08, 0, 0, 0)
  102. TemplateText.Size = UDim2.new(1.00000012, 0, 0, 20)
  103. TemplateText.Font = Enum.Font.SourceSansSemibold
  104. TemplateText.Text = "ur mom"
  105. TemplateText.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. TemplateText.TextScaled = true
  107. TemplateText.TextSize = 14.000
  108. TemplateText.TextWrapped = true
  109. TemplateText.TextXAlignment = Enum.TextXAlignment.Left
  110.  
  111. local Template = script.TemplateText
  112.  
  113. local function registerDynamicScrollingFrame(frame)
  114. local layout = frame:FindFirstChildWhichIsA("UIListLayout")
  115. local absoluteContentSize = layout.AbsoluteContentSize
  116. frame.CanvasSize = UDim2.new(0, 0, 0, absoluteContentSize.Y)
  117. layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
  118. local absoluteContentSize = layout.AbsoluteContentSize
  119. frame.CanvasSize = UDim2.new(0, 0, 0, absoluteContentSize.Y)
  120. end)
  121. end
  122.  
  123. local function Log(text,headers)
  124. local Label = Template:Clone()
  125. if headers and type(headers) == "table" then
  126. text = text .. " (HEADERS:"
  127. for Index, Value in next, headers do
  128. text = text.. tostring(Index).. ": "..tostring(Value)
  129.  
  130. end
  131. text = text .. ")"
  132. end
  133. Label.Text = text
  134. Label.Parent = script.Parent
  135.  
  136. end
  137. registerDynamicScrollingFrame(MainContainer)
  138. local HttpGet
  139.  
  140. HttpGet = hookfunction(game.HttpGet, function(self, url, ...)
  141. Log("Http Get Request from: "..url)
  142.  
  143. return HttpGet(self, url, ...)
  144. end)
  145.  
  146. local HttpPost
  147.  
  148. HttpPost = hookfunction(game.HttpPost, function(self, url, ...)
  149. Log("Http Post Request from: "..url)
  150.  
  151. return HttpPost(self, url, ...)
  152. end)
  153.  
  154.  
  155. local RequestLog
  156.  
  157. if syn.request then
  158.  
  159. RequestLog = hookfunction(syn.request, function(dat)
  160. Log("syn.request from: "..dat.Url.." ("..dat.Method..")",dat.Headers)
  161.  
  162. return RequestLog(dat)
  163. end)
  164. local oldrequest = syn.request
  165. syn.request = function(t)
  166. if analyzers.Http then
  167. writew("Syn Req Spy - "..tostring(t.Method))
  168. if t.Body then
  169. write("A "..tostring(t.Method).." request was sent to "..tostring(t.Url).."\n")
  170. write("Sending the following information: "..t.Body.."\n\n")
  171. else
  172. write("A "..tostring(t.Method).." request was sent to "..tostring(t.Url).."\n\n")
  173. end
  174. end
  175. if analyzers.DisableHttpReq then writee("Blocked HTTP Request") return end
  176. if analyzers.DisableWebhookReq and (string.find(t.Url, "https://discord.com/api/webhooks/") or string.find(t.Url, "https://discordapp.com/api/webhooks/")) then writee("Blocked HTTP Request to discord webhook.\n\n") return; end
  177. return oldrequest(t)
  178. end
  179.  
  180.  
  181. else
  182. error("YOUR EXPLOIT IS NOT SUPPORTED!")
  183. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement