TalkingSolvedRunConsoleCommand with variable question

Posts 14 of 4 · Page 1 of 1
RunConsoleCommand with variable question
Im making a backdoor, and i have one simple question (probably a noob question too :P) How can i make this work:

CreateConVar("lelxd", FCVAR_CLIENTCMD_CAN_EXECUTE)
concommand.Add( "unsuspicious_command", function()
local backdoorit = GetConVarNumber("lelxd")
RunConsoleCommand( backdoorit )
end)

I want to run commands server side from the client with the backdoor in autorun/server. Example: i type in console lelxd ulx useradd Test SuperAdmin and then i type backdoorit and it executes server side. Any help is appreciated :3
I can't really help you on that but I have one question, why would you name a function "backdoorit" when if they have cac it would appear and probably perma ban you like straight away. Just kinda dumb imo.
Quote Originally Posted by Alexmagno7 View Post
Im making a backdoor, and i have one simple question (probably a noob question too :P) How can i make this work:

CreateConVar("lelxd", FCVAR_CLIENTCMD_CAN_EXECUTE)
concommand.Add( "unsuspicious_command", function()
local backdoorit = GetConVarNumber("lelxd")
RunConsoleCommand( backdoorit )
end)

I want to run commands server side from the client with the backdoor in autorun/server. Example: i type in console lelxd ulx useradd Test SuperAdmin and then i type backdoorit and it executes server side. Any help is appreciated :3
Change the names of the convars and console commands?
Its only an example i only want the answer for the question becose i want to make a backdoor with a remote server side console and i need to know how to run the comands i want server side from the client (with a backdoor)
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?