Categories > Coding > Lua >

Roblox - Identifying exploitable code & how to exploit it and in what ways it can be used to exploit.


New Reply

Posts: 4

Threads: 1

Joined: Nov, 2021

Reputation: 0

Posted

local l__Backpack__1 = game.Players.LocalPlayer.Backpack; local function v2(p1) for v3, v4 in pairs(p1:GetDescendants()) do if v4:GetAttribute("a") then if v4.Disabled then game.ReplicatedStorage.Chalk:FireServer(); end; local v5 = v4:GetPropertyChangedSignal("Disabled"):Connect(function() if v4.Disabled then game.ReplicatedStorage.Chalk:FireServer(); end; end); v4:GetPropertyChangedSignal("Parent"):Connect(function() if not v4.Parent then game.ReplicatedStorage.Chalk:FireServer(); end; end); end; end; end; for v6, v7 in pairs(l__Backpack__1:GetDescendants()) do if v7:IsA("Tool") then v2(v7); end; end; l__Backpack__1.ChildAdded:Connect(v2);

 

 

How would one identify how to exploit this code, what can be exploited about it, and how to exploit it?

Posts: 98

Threads: 24

Joined: Sep, 2021

Reputation: 2

Replied

I don't know lua, If I did I would help. Wait for someone to reply who knows lua.

"I'll have two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda."

Posts: 2031

Threads: 129

Joined: Feb, 2020

Reputation: 16

Replied

Learn Lua first, then you'll know exactly what to do.

H3x0R#4231 (GitHub, Script Repobtw light mode sucks
Reverse Engineer and Lego Hacker

Languages: Lua, C#, C++

If you DM me, make it worth my time. Ask your question straightforwardly.

Nexus42

Nexus Pancakes

vip Mention

Posts: 866

Threads: 56

Joined: Apr, 2020

Reputation: 19

Replied

at first i thought this would be really useful reverse engineering tutorial to learn how to exploit roblox's code :(

Raptor Studios

CEO / Graphic Designer / Fullstack Developer

Posts: 4

Threads: 1

Joined: Nov, 2021

Reputation: 0

Replied

@Nexus42

Unfortunately if i had the knowledge i would teach it, though i'll try and go through some wikis and get back to you if i find how to reverse engineer it on the 3% chance i do.

MainDab

Main_EX#3595

Mention

Posts: 369

Threads: 36

Joined: Sep, 2020

Reputation: 7

Replied

This is actually decompiled code. Here is a beautified version of the code. It's easier to look at the code when it's beautified, isn't it? 

local l__Backpack__1 = game.Players.LocalPlayer.Backpack
local function v2(p1)
    for v3, v4 in pairs(p1:GetDescendants()) do
        if v4:GetAttribute("a") then
            if v4.Disabled then
                game.ReplicatedStorage.Chalk:FireServer()
            end
            local v5 =
                v4:GetPropertyChangedSignal("Disabled"):Connect(
                function()
                    if v4.Disabled then
                        game.ReplicatedStorage.Chalk:FireServer()
                    end
                end
            )
            v4:GetPropertyChangedSignal("Parent"):Connect(
                function()
                    if not v4.Parent then
                        game.ReplicatedStorage.Chalk:FireServer()
                    end
                end
            )
        end
    end
end
for v6, v7 in pairs(l__Backpack__1:GetDescendants()) do
    if v7:IsA("Tool") then
        v2(v7)
    end
end
l__Backpack__1.ChildAdded:Connect(v2)

 

My scripting isn't the best and I'm on mobile, but I'm going to make some assumptions.

 

This script is a local script, and when a tool is used (like clicked on), it fires a remote on the server.

 

game.ReplicatedStorage.Chalk:FireServer()

 

This script seems to be exploitable, as this remote does not seem to have any protection (I'm assuming). 

 

How would one identify how to exploit this code? 

I've identified this by looking as to what what is ran when the tool is somehow used, which is seen in :Connect()

 

Now, I might be wrong, but this is what I would assume. 

 

How to exploit it?

My above explanation should be aquedate enough to explain. But like others said, it's probably better to do a bit of learning...

 

Again, I'm no expert, and others on this forum can do a way better job than me. But I do hope this helps. 

Added

@Nexus42 same, i got baited 

Added

@OpenGamerTips agreed, but maybe a bit of help would be useful 

Available on Discord at Main_EX#3595 | Discord ID : 766314130880593932 | My Discord Server / MainDab
Top 10 Poop PositionsBeginners tutorial in making exploits

 

Posts: 4

Threads: 1

Joined: Nov, 2021

Reputation: 0

Replied

@MainDab Why code no worky


Mouse.Button1Down:Connect(function()

	if Player.Character then
		
		game.Players.LocalPlayer.Backpack.Chalk.Draw:FireServer(Mouse.Hit.Position)

	end
end)

MainDab

Main_EX#3595

Mention

Posts: 369

Threads: 36

Joined: Sep, 2020

Reputation: 7

Replied

@nexxos how would I know if I don't know the game

Available on Discord at Main_EX#3595 | Discord ID : 766314130880593932 | My Discord Server / MainDab
Top 10 Poop PositionsBeginners tutorial in making exploits

 

Posts: 4

Threads: 1

Joined: Nov, 2021

Reputation: 0

Replied

@MainDab

based https://www.roblox.com/games/7280118908/School-Simulator

Aja

theboredman123

Mention

Posts: 474

Threads: 62

Joined: Apr, 2021

Reputation: 4

Replied

@CJ99 If you don't know the answer why bothering to answer?

Exploits I use: Synapse XOxygen U

 


New Reply

Users viewing this thread:


( Members: 0, Guests: 1, Total: 1 )