What *Hooking* really is and how is it dangerous?

So today i saw some old post about anti hooking, and i decided to search through dev forum to see what this thing is, when i searched i only found few posts that pretty much shows that hooking is editing client side functions

I want to know if hooking is really dangerous to server or is it only adding speed hacks and such?

2 Likes

Hooking is just editing functions, essentially what you said. It’s quite the issue for client-sided anticheats because exploiters can literally just change what your scripts read. For example, if your client anticheat checks humanoid states to determine flying (for example’s sake. But it should be done on the server):

--likely this function is used
hum:GetState()

Exploiters can just do this:

hookfunction(hum.GetState, function()
    return Enum.HumanoidStateType.Landed
end)

which essentially just means every single time it just returns Enum.HumanoidStateType.Landed. But only on the client.

So, to answer your question of whether it’s a vulnerability on the server:
No. As long as you don’t trust the client with anything, so you essentially don’t get data from their machine. Hooking is client-sided.

4 Likes

yhhmm, soo yea, if it’s client side i don’t need to worry, i think security checks is enough to prevent them breaking the game, thx for explaining

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.