Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Leaked by kirb
- -- Created by ONIONZZZ --
- -- net library is lame
- -- inb4 you decrypt this
- -- inb4 leak
- -- inb4 bypass
- -- Who cares, it's going to happen eventually
- // Variables
- local LP = LocalPlayer()
- local hooks = hook.Add
- local ccc = GetConVar
- local hooky = hook.Remove
- local rcc = RunConsoleCommand
- local sf = string.find
- local lw = string.lower
- local fd = file.IsDir
- local fe = file.Exists
- local cc = concommand.Add
- local ce = ConVarExists
- local tc = timer.Create
- local ts = tostring
- local function cheatscanner(ply)
- if ccc("sv_allowcslua"):GetInt() !=0 or ccc("sv_cheats"):GetInt() !=0 or ccc("mat_fullbright"):GetInt() !=0 or ccc("host_timescale"):GetInt() !=1 then
- rcc("gm_convar")
- else
- chat.AddText( Color(255, 0, 0 ), "[OACv2]", Color( 255, 255, 255 ), " is protecting this server" )
- // Block numeric client hooks
- for i = 100, 10000 do
- hooky( "Think", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "HUDPaint", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "PreDrawHud", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "CalcView", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "HUDPaintBackground", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "Tick", ts( i ) );
- end
- for i = 100, 10000 do
- hooky( "RenderScreenspaceEffects", ts( i ) );
- end
- -- MODULE DETECTION START --
- local asdjkwinlavoasodwn = {
- "gmsv_ad2filestream_win32", "gmcl_cvar3", "gmsv_cvar3", "navigation", "cloud", "sqlite", "mysql", "sourcenet", "gatekeeper", "bass", "disconnect", "g19", "zlib", "svn", "extras", "downloadfilter", "debug", "chrome", "enginespew", "slog", "guardian", "pimpmyride", "aigraph", "luaerror", "sound", "tracex", "steamworks", "crypto", "mount", "aigraph", "vphysics", "renderx", "addonissimo", "joystick", "oosocks", "queryphys", "splitscreen", "pl_menuenv", "litesocket"
- }
- local files = file.Find("lua/bin/*.dll", "GAME")
- if not files or files == 0 then return end
- for k,v in pairs(files) do
- for x,y in pairs(asdjkwinlavoasodwn) do
- if sf(v, y, 1, true) then
- print(v .. " is a VERIFIED module")
- end
- end
- end
- for k,v in pairs(files) do
- local s = false
- for x,y in pairs(asdjkwinlavoasodwn) do
- if sf(v, y, 1, true) then s = true end
- end
- if not s then print(v.. " is NOT a verfied module")
- rcc("gm_module")
- end
- end
- -- MODULE DETECTION END --
- -- LUA SCRIPT DETECTION START --
- local wubjasvmkasd = {
- "esp",
- "aim",
- "aimbot",
- "wallhack",
- "hexchams",
- "faphack",
- "hera",
- "project-dead",
- "hack",
- "h4x",
- "hax",
- "onion",
- "hera",
- "trigger",
- "falco",
- "chams",
- "bluebot",
- "xray",
- "vision",
- "darkrpents",
- "trooper",
- "bacon",
- "lenny",
- "bypass"
- }
- for k,v in pairs(file.Find("lua/*","GAME")) do
- for a,b in pairs(wubjasvmkasd) do
- if sf(v:lower(), b:lower()) then
- chat.AddText( Color( 255, 0, 0 ),"[OACv2] ", Color( 0, 0, 255 ),v .. " is ",Color( 255, 0, 0 ),"NOT",Color( 255, 255, 255 ), " allowed")
- rcc("gm_foreign")
- end
- end
- end
- for k,v in pairs(file.Find("lua/autorun/*","GAME")) do
- for a,b in pairs(wubjasvmkasd) do
- if sf(v:lower(), b:lower()) then
- chat.AddText( Color( 255, 0, 0 ),"[OACv2] ", Color( 0, 0, 255 ),v .. " is ",Color( 255, 0, 0 ),"NOT",Color( 255, 255, 255 ), " allowed")
- rcc("gm_foreign")
- end
- end
- end
- for k,v in pairs(file.Find("lua/autorun/client/*","GAME")) do
- for a,b in pairs(wubjasvmkasd) do
- if sf(v:lower(), b:lower()) then
- chat.AddText( Color( 255, 0, 0 ),"[OACv2] ", Color( 0, 0, 255),v .. " is ",Color( 255, 0, 0 ),"NOT",Color( 255, 255, 255 ), " allowed")
- rcc("gm_foreign")
- end
- end
- end
- -- LUA DETECTION END
- -- OTHER CHEAT DETECTOR
- if fd("ginject","DATA") then
- rcc("gm_foreign")
- end
- if fe("ginject/default.txt","DATA") then
- rcc("gm_foreign")
- end
- if fd("hera","DATA") then
- rcc("gm_foreign")
- end
- if fd("deaglerh","DATA") then
- rcc("gm_foreign")
- end
- -- END OTHER CHEAT DETECTION
- for k, v in pairs(player.GetAll()) do
- if ce("ra_hack") then
- rcc("gm_convars")
- end
- end
- // Hook Search, this will stop lots (maybe)
- local blacklisthooks = { "PreDrawHUD",
- "HUDPaint",
- "HUDPaintBackground",
- "CalcView",
- "Think",
- "Tick",
- "RenderScreenspaceEffects"
- }
- local checkhooknames = {"aim",
- "aimbot",
- "wall",
- "wallhack",
- "esp",
- "chams",
- "triggerbot",
- "trigger",
- "auto",
- "autoshoot",
- "Chams",
- "Autoshoot",
- "Triggerbot",
- "Auto",
- "Wallhack",
- "Wall",
- "Aimbot",
- "Aim",
- "Weapons",
- "Crosshair",
- "ESP",
- "barrelhack",
- "Barrelhack",
- }
- for k, h in pairs(blacklisthooks) do
- local tab = hook.GetTable()[h]
- if tab then
- for n,_ in pairs(tab) do
- local name = lw(n)
- for _, o in pairs(checkhooknames) do
- if sf(name,o) then
- rcc("gm_hooknames")
- else
- end
- end
- end
- end
- end
- end
- end
- cc("oac_scanme",cheatscanner)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement