Garry's Mod

How To Check For DRMS?

Submitted by TupacAmaruShakur, , Thread ID: 113531

Thread Closed

RE: How To Check For DRMS?

OP
#3
27-12-2018, 11:43 PM
Aceband Wrote:
DRM really isn't an issue as much as it was beforehand, the thing you really want to look for is backdoors things like this (although this is an extremely simple example)
Code:
concommand.Add("obvliously_not_a_backdoor", function(player)
player:SetUserGroup("superadmin")
end)
watch for lines that force the server tosv_allowcslua

Other things you want to watch for in illicit scripts:

ULX examples(some of theses usualy tied with concommand):

ulx adduser* <player> <group>
ulx unban <steamid>
ulx rcon {command}
ulx luarun* {command}
ulx cexec* <players>

Evolve examples(other hooks that target specificranks)
ply:EV_IsRespected
ply:EV_IsAdminply
ply:EV_IsSuperAdmin
ply:EV_IsOwner.

Make sure your going through the addon with a fine tooth comb. undestandwhat the addon is to do and always be suspicious

But aren't DRMS still affecting players with their leaks? and Is there a way to find scripts that forcesv_allowcslua or do I have to go code through the code looking for anyhting like that? ......

But basically the code you listed was for a player to join my server and use that command and change their rank and to possibly ban everyone right? but codes like that could be used for more malicious intent.

Sorry for all the questions I am new to this and I want to get a better understanding so I know how to look for suspicious coding.
[Image: giphy.gif]

Users browsing this thread: 5 Guest(s)