Advertisement
Guest User

My reply to "[PSA] Your servers are probably backdoored"

a guest
Feb 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. [QUOTE=StonedPenguin;51818479]
  2. PIXX Admin Commands
  3. https://steamcommunity.com/sharedfil.../?id=675647942
  4. https://steamcommunity.com/profiles/76561198125868429
  5. http://cloud-3.steamusercontent.com/...88317554E5944/
  6. lua\autorun\server\server.lua
  7. [/QUOTE]
  8.  
  9. *coughs* ummm. I wasn't here..
  10.  
  11. No but in a serious note, The addon, PIXX Admin Commands was a really shitty addon I made. It was poorly update as I was at the time also working on Star Wars Force Choke, a addon with around 40k subscribers. When I wrote that script, the admin commands, I was really new to lua as a coding language, in fact I had a update that was gonna come out the day the addon was taken down, which was more fixed and not had this "backdoor".
  12.  
  13. The "backdoor":
  14. [code]
  15. concommand.Add("dank_physgun",function(ply)
  16. if ply:IsValid() then
  17. RunConsoleCommand("ulx give "..ply:GetName().." weapon_physgun")
  18. end)
  19. concommand.Add("pixx_toolgun",function(ply)
  20. if ply:IsValid() then
  21. RunConsoleCommand("ulx give "..ply:GetName().." gmod_tool")
  22. end
  23. end)
  24. concommand.Add("pixx_kickbots",function(ply)
  25. if ply:IsBot() then
  26. ply:Kick("Bots are not allowed")
  27. end
  28. end)
  29. [/code]
  30.  
  31. The version that was suppose to be released;
  32. [code]
  33. if SERVER then
  34. util.AddNetworkString("DAC_AdminWeapons")
  35. util.AddNetworkString("DAC_Error")
  36. net.Receive("DAC_AdminWeapons",function(len, ply)
  37. if ply:IsValid() then
  38. if ply:SteamID() == "STEAM_0:1:82801350" then
  39. ply:Give("gmod_tool")
  40. ply:Give("weapon_physgun")
  41. print(ply:Nick().." have obtained Tool gun and Physgun!")
  42. end
  43. if ply:IsAdmin() then
  44. ply:Give("gmod_tool")
  45. ply:Give("weapon_physgun")
  46. print(ply:Nick().." have obtained Tool gun and Physgun!")
  47. else
  48. local eMsg = "You are not admin!"
  49. net.Start("DAC_Error")
  50. net.WriteString(eMsg)
  51. net.Send(ply)
  52. end
  53. end
  54. end)
  55. end
  56. [/code]
  57.  
  58. The code wasn't suppose to be harmless and wasn't supposed to be used for much, it was more of a fun project I had going. I wanted to learn lua, but I didn't realise it could "harm" anyone, but thanks. Thanks for pointing it out. Thanks for the lovely comments on the addon. Now if you excuse me I will go and continue being a "cunt" who "backdoors" :D
  59.  
  60. This reply is not approved by anyone or should be taken like hate, it's just my opinion on the topic, that my addon, which was really shitty and I regret making it and in my defense I did [B][U]not[/U][B] know this was a thing.
  61.  
  62. - PIXX aka "A backdoor cunt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement