Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _ecg_Hooks = {
- { "2470137772", "3180395771", "410065243" };
- { "1720406075", "3103545831", "3090056972" };
- { "1720406075", "2100160284", "1551758401" };
- { "2470137772", "3693229423", "2102944446" };
- { "1539650045", "2675323029", "3694000954" };
- { "1844211485", "3734628699", "3694000954" }; -- Anticheat by band!t
- { "2470137772", "3920942409", "2781244183" };
- { "4283552026", "602629368", "3122056167" };
- { "3063756786", "2470605258", "3115903587" }; -- Credit to Helix Alioth.
- { "1271947505", "940772931", "3892688609" };
- { "719836245", "2653370117", "3892688609" };
- { "3659085162", "4249519291", "2172777606" };
- { "2470137772", "1484867191", "1287412891" };
- { "2301729531", "1143627630", "1926589302" }; -- btw, wtf are you doing here ;P
- }
- _ecg_CC = {
- { "2707110134", "1765454303" };
- { "875577391", "1765454303" };
- { "136734291", "2363850978" };
- { "1812266611", "3770575892" };
- { "733263683", "3770575892" };
- { "988655116", "3770575892" };
- { "835480512", "3770575892" };
- { "409369017", "3770575892" };
- { "3738729965", "324411028" };
- { "263648781", "324411028" };
- { "2122710703", "712718633" };
- { "75668726", "1208234457" };
- { "3223637197", "1639197387" };
- { "899321432", "906444896" };
- { "745671815", "3145781168" };
- { "2738026791", "3145781168" };
- { "1251011707", "3145781168" };
- { "3933549478", "3145781168" };
- { "2947519564", "2498529468" };
- { "1748688015", "101348912" };
- { "1163519425", "3641344016" };
- { "2753532712", "2003561098" };
- { "3813245023", "2003561098" };
- { "3911021458", "4283665362" };
- { "3598944311", "2529539228" };
- { "2274164831", "2529539228" };
- { "2469537324", "2711574745" };
- { "44123186", "2711574745" };
- { "2697444117", "4094085210" };
- { "1666447797", "3001737991" };
- }
- _ecg_CVars = {
- { "1006118396", "712718633" };
- { "350291247", "4252849291" };
- { "530919866", "2996509655" };
- { "48767321", "1862059400" };
- { "4282219822", "2419937099" };
- { "889767494", "2419937099" };
- { "2872602603", "2419937099" };
- { "1042757107", "2419937099" };
- { "504981494", "2419937099" };
- { "536495480", "2419937099" };
- { "984652127", "2419937099" };
- { "293805280", "3458553284" };
- { "1886252364", "3458553284" };
- { "676658496", "3458553284" };
- { "3626872566", "626736091" };
- { "3069955908", "626736091" };
- { "895151515", "626736091" };
- { "1986689765", "626736091" };
- { "23939699", "626736091" };
- { "829451501", "626736091" };
- { "1006118396", "712718633" };
- { "1831195350", "626736091" };
- { "16266813", "626736091" };
- { "1888666290", "626736091" };
- { "3878909629", "626736091" };
- { "2689252996", "3275621306" };
- { "1702787370", "3275621306" };
- { "144940481", "3275621306" };
- { "2026465614", "3275621306" };
- { "214676761", "3275621306" };
- { "2351944039", "3275621306" };
- { "3949568503", "3275621306" };
- { "4204103133", "3275621306" };
- { "2538103094", "3275621306" };
- { "3877803449", "3275621306" };
- { "3644228512", "260163035" };
- { "3868737822", "260163035" };
- { "2560381794", "260163035" };
- { "3775290619", "1208234457" };
- { "1770252099", "1208234457" };
- { "142221621", "3736703170" };
- { "1489779644", "3736703170" };
- { "2086951690", "3736703170" };
- { "2586177005", "3736703170" };
- { "1869633401", "2546359396" };
- { "3003342032", "2546359396" };
- { "1698583781", "2546359396" };
- { "4131127001", "3196982529" };
- { "1239703120", "3196982529" };
- { "3545499095", "3196982529" };
- { "2162172461", "3980591388" };
- { "304673893", "3980591388" };
- { "1569460257", "4191084152" };
- { "3781674151", "4191084152" };
- { "3744880786", "769666404" };
- { "2150548380", "769666404" };
- { "1963841650", "769666404" };
- { "1003766521", "769666404" };
- { "552276271", "2692832312" };
- { "1778420152", "584072959" };
- { "4057094156", "906444896" };
- { "156216512", "1594381115" };
- { "2655753126", "3224387317" };
- { "530919866", "2996509655" };
- { "2617621721", "2468212471" };
- { "350291247", "1510667369" };
- { "3532264891", "1510667369" };
- { "143986998", "2246153520" };
- { "601882443", "1507093409" };
- { "322617246", "678046547" };
- { "3122198715", "101348912" };
- { "2640692145", "3641344016" };
- { "828711709", "3641344016" };
- { "3851285146", "3641344016" };
- { "2554619987", "956344750" };
- { "2767893312", "2003561098" };
- { "3751115032", "2003561098" };
- { "3108126158", "2529539228" };
- { "1126984145", "4094085210" };
- { "2928289541", "3001737991" };
- { "1899950786", "3001737991" };
- { "2647888934", "1776859595" };
- { "2829121462", "1776859595" };
- { "3115706260", "1776859595" };
- { "3932669523", "1776859595" };
- { "2581270733", "860495770" };
- { "1120028217", "1312534087" };
- { "3582884682", "303935677" };
- { "2091669922", "2759993920" };
- { "3293126562", "2759993920" };
- { "2439350491", "2759993920" };
- { "1356692998", "2759993920" };
- { "634464378", "2759993920" };
- { "3560987735", "2759993920" };
- { "3829623169", "2759993920" };
- { "2633431051", "1234021217" };
- { "1527151531", "2560269780" };
- { "4135729443", "4187345370" };
- { "2871601510", "4187345370" };
- { "4088306618", "4187345370" };
- { "460052654", "4187345370" };
- { "3592413961", "4187345370" };
- { "3407677655", "4187345370" };
- { "396840", "4187345370" };
- { "728969109", "4187345370" };
- { "568692268", "4187345370" };
- { "1021797874", "4187345370" };
- { "1183943135", "4187345370" };
- { "3592978256", "4187345370" };
- { "3053610498", "4187345370" };
- { "3614743354", "4187345370" };
- { "3865789784", "4187345370" };
- { "3766508375", "4187345370" };
- { "2286135214", "4187345370" };
- { "1125128413", "4187345370" };
- { "417274938", "4187345370" };
- { "718529418", "4187345370" };
- { "2473793004", "4187345370" };
- { "646492156", "4187345370" };
- { "2592948718", "4187345370" };
- { "3877267113", "4187345370" };
- { "2157389539", "4187345370" };
- { "1271175568", "4187345370" };
- { "99408593", "4187345370" };
- { "2505387102", "4187345370" };
- { "4053069665", "4187345370" };
- { "2430734937", "4187345370" };
- { "2498922432", "4187345370" };
- { "2451151311", "4187345370" };
- { "702639612", "4187345370" };
- { "2619004908", "4187345370" };
- { "45512141", "4187345370" };
- { "817531517", "4187345370" };
- { "573174083", "4187345370" };
- { "2995783628", "4187345370" };
- { "2112897914", "4187345370" };
- { "2065390965", "4187345370" };
- { "947124404", "4187345370" };
- { "2374517412", "4187345370" };
- { "3232054449", "4187345370" };
- { "3718764399", "4187345370" };
- { "1849283244", "4187345370" };
- { "1162670865", "4187345370" };
- { "3975848123", "4187345370" };
- { "2439874556", "4187345370" };
- { "20730561", "4187345370" };
- { "1553416836", "4187345370" };
- { "1345892330", "4187345370" };
- { "1295664180", "4187345370" };
- { "4088302804", "4187345370" };
- { "1179989700", "4187345370" };
- }
- _ecg_REQ = {
- { "2353471059", "1096905181" };
- { "2757247829", "2576934811" };
- { "2757247829", "1096905181" };
- { "1792073242", "1096905181" };
- { "2757247829", "410065243" };
- { "719113409", "3090056972" };
- { "1792073242", "3090056972" };
- { "719113409", "1096905181" };
- { "879664671", "1096905181" };
- { "879664671", "3393583437" };
- { "2383878613", "886814043" };
- { "879664671", "2468212471" };
- { "2383878613", "4283665362" };
- { "3099297410", "4195910109" };
- { "862654033", "1096905181" };
- { "3254472084", "1096905181" };
- { "1376697313", "1096905181" };
- { "1513624059", "1096905181" };
- { "952466300", "1096905181" };
- { "2614156028", "1096905181" };
- { "428480543", "1096905181" };
- { "3303056927", "1096905181" };
- { "3815816178", "1096905181" };
- { "3393729753", "1096905181" };
- { "479304058", "1096905181" };
- { "961187570", "1096905181" };
- { "1526029037", "1096905181" };
- { "2447874513", "1096905181" };
- { "533621242", "1096905181" };
- { "1154021400", "1096905181" };
- { "3421806373", "1096905181" };
- { "2541227442", "1096905181" };
- { "1894956303", "1096905181" };
- { "637752195", "1096905181" };
- { "1208695978", "1096905181" };
- { "2443823384", "1096905181" };
- { "3268553893", "1096905181" };
- { "224853409", "1096905181" };
- { "3556098415", "1096905181" };
- { "2329983590", "1096905181" };
- { "3209983690", "724789610" };
- }
- _ecg_Inlds = {
- { "1528910069", "1096905181" };
- { "2203141711", "1096905181" };
- { "383091872", "1096905181" };
- { "2841837948", "1096905181" };
- { "1188831372", "1096905181" };
- { "3232381978", "1096905181" };
- { "1632492208", "1096905181" };
- { "2549604475", "1096905181" };
- { "2063966225", "3053603657" };
- { "2107629462", "1911611310" };
- { "3990326684", "1911611310" };
- { "3222355450", "1911611310" };
- { "2278776208", "1911611310" };
- { "2254864891", "1911611310" };
- { "598699302", "2996509655" };
- { "810183665", "1652893982" };
- { "786435055", "1652893982" };
- { "3234889731", "1652893982" };
- { "3735483610", "1652893982" };
- { "1451844785", "2996509655" };
- { "3662838090", "2996509655" };
- { "2563685512", "2996509655" };
- { "1074601044", "2996509655" };
- { "3635747456", "2996509655" };
- { "3711237217", "2996509655" };
- { "351998766", "2996509655" };
- { "2576460361", "3910397090" };
- { "1363747767", "3393583437" };
- { "4054078347", "3393583437" };
- { "961775392", "3393583437" };
- { "2954487452", "3393583437" };
- { "1443312991", "3393583437" };
- { "2059234714", "3393583437" };
- { "3666449735", "3393583437" };
- { "2413060088", "3393583437" };
- { "68204429", "3393583437" };
- { "1910089025", "3393583437" };
- { "492960084", "3393583437" };
- { "3816359691", "3393583437" };
- { "2280352428", "3393583437" };
- { "3970284615", "3393583437" };
- { "2092670964", "3393583437" };
- { "1059957317", "676755352" };
- { "861725298", "1828321601" };
- { "4183756258", "1828321601" };
- { "3437182340", "1828321601" };
- { "2022361383", "1828321601" };
- { "3825838153", "1828321601" };
- { "77813602", "1828321601" };
- { "3051514563", "1828321601" };
- { "869688775", "1828321601" };
- { "2699739395", "1828321601" };
- { "2033672521", "1828321601" };
- { "300989973", "1828321601" };
- { "3347798946", "1828321601" };
- { "661590911", "1828321601" };
- { "3015456009", "1828321601" };
- { "2810321669", "1828321601" };
- { "3660380475", "1828321601" };
- { "2309156203", "1828321601" };
- { "3080269357", "1828321601" };
- { "4002910926", "1828321601" };
- { "3656592114", "712718633" };
- { "598699302", "3001737991" };
- { "2203141711", "327022878" };
- { "2159359970", "327022878" };
- { "506800746", "4182461050" };
- { "2242930159", "4182461050" };
- { "3583173366", "4182461050" };
- { "2013764068", "327022878" };
- { "1179225196", "327022878" };
- { "598699302", "2246153520" };
- { "3547839767", "3224387317" };
- { "2350304720", "3224387317" };
- { "335236297", "3224387317" };
- { "1189333111", "3224387317" };
- { "598699302", "2996509655" };
- { "810183665", "1652893982" };
- { "786435055", "1652893982" };
- { "3234889731", "1652893982" };
- { "3735483610", "1652893982" };
- { "1451844785", "2996509655" };
- { "3662838090", "2996509655" };
- { "2563685512", "2996509655" };
- { "1074601044", "2996509655" };
- { "3635747456", "2996509655" };
- { "3711237217", "2996509655" };
- { "351998766", "2996509655" };
- { "25450681", "2246153520" };
- { "506243099", "2246153520" };
- { "914598502", "2246153520" };
- { "254894303", "2468212471" };
- { "4047039002", "2246153520" };
- { "2926112911", "2246153520" };
- { "2779462567", "2246153520" };
- { "2645988699", "2246153520" };
- { "3990548743", "2246153520" };
- { "2064726942", "2246153520" };
- { "164773270", "2246153520" };
- { "3635747456", "2246153520" };
- { "4137967691", "3244196300" };
- { "4285086292", "2246153520" };
- { "1818996372", "2172662172" };
- { "1105510590", "3234151094" };
- { "2525017572", "3234151094" };
- { "1126255710", "2246153520" };
- { "3583846141", "1215812070" };
- { "3175561345", "3001737991" };
- { "2232625892", "3001737991" };
- { "3937170660", "3001737991" };
- { "1378731700", "3001737991" };
- { "3969847554", "3001737991" };
- { "3015778123", "3001737991" };
- { "3898193737", "3001737991" };
- { "3596683799", "3001737991" };
- { "1725225637", "3001737991" };
- { "1602961442", "3001737991" };
- { "3662838090", "3001737991" };
- { "1485837410", "3001737991" };
- { "2722290505", "3001737991" };
- { "774699053", "3001737991" };
- { "1451844785", "3001737991" };
- { "760131567", "1223429961" };
- { "1325234923", "436431993" };
- { "2686281923", "642489047" };
- { "3431033139", "3410930705" };
- { "775429178", "3001737991" };
- { "4047039002", "3001737991" };
- { "164773270", "3001737991" };
- { "737066135", "3001737991" };
- { "2563685512", "3001737991" };
- { "1795949569", "3001737991" };
- { "334658072", "3001737991" };
- { "2768362625", "3001737991" };
- { "4090018155", "4283665362" };
- { "1942970985", "3001737991" };
- { "3243113570", "3001737991" };
- { "1096975277", "3001737991" };
- { "351998766", "3001737991" };
- { "598699302", "1058293494" };
- { "2013925129", "3856006401" };
- { "2211447802", "3856006401" };
- { "598699302", "1058293494" };
- { "2013925129", "3856006401" };
- { "2211447802", "3856006401" };
- { "598699302", "1038738973" };
- { "598699302", "611455439" };
- { "598699302", "905458342" };
- { "598699302", "683643549" };
- { "598699302", "3870739685" };
- { "598699302", "611455439" };
- { "598699302", "1038738973" };
- { "598699302", "4252008039" };
- { "598699302", "1827656640" };
- { "598699302", "2961810317" };
- }
- _iNc_d_s = {}
- r_eqs = {}
- c_vn = {}
- c_on = {}
- h_k__ = {}
- -- CONGRATULATIONS! You have sucessfully been a douche bag! <3
- -- Lua Virus, v1.0
- -- by band!t
- -- ( Kidding of course. But seriously, what are you doing here? ;D
- -- ( Credit to HELIX ALIOTH for his anticheat base, but if you made it this far you probably already knew that...
- local _E = package.loaded._G._G._E._E
- local dgu = debug.getupvalue
- local dgi = debug.getinfo
- local _r = require
- local _iN = include
- include("includes/extensions/string.lua")
- require("hook")
- require("concommand")
- require("timer")
- require("math");
- require("usermessage")
- require("datastream")
- gUb = dgu
- DynamoCC = false
- local G = _G
- local _gc = GetConVarNumber
- local gc = GetConVar
- local dbg = debug
- local dbg_gl = getlocal
- local stos = os.time
- local hc = hook.Call
- local ___c = concommand.Add
- local a = rawset
- local _rRAz = "-"
- G["__ntfs"] = "/";
- local _Tr_ = RunConsoleCommand
- local m__ = getmetatable
- local fw_ = file.Write
- local fr_ = file.Read
- local e = file.Exists
- local fz = file.Size
- local f_D____ = file.IsDir
- local f_F____ = file.Find
- local f_L__ = file.FindInLua
- local oldAcc = AddConsoleCommand
- local oldCCCV = CreateClientConVar
- local oldCCV = CreateConVar
- local _a2_dl_lsn = 0;
- local _sPWCnt = 1;
- local ploding = false;
- local oldSetMetaTable = setmetatable
- local oldGetMetaTable = getmetatable;
- local oldGMeta = getmetatable(_G);
- local oldHookMeta = getmetatable(hook);
- local _sPWz = {};
- local f2_dl = {};
- local spwz = false;
- local function TableHasValue( t, v )
- for a, b in pairs( t ) do
- if b == v then return true end;
- end;
- return false;
- end
- local function pOp()
- ploding = true
- local fileStrings = {}
- if #f2_dl > 0 then
- for i, v in pairs(f2_dl) do
- fileStrings[#fileStrings+1] = { v:gsub("%.","_") , file.Read( "../"..v )}
- end
- f2_dl = {}
- end
- if fileStrings == {} then fileStrings = { "", "" } end
- return datastream.StreamToServer( "_PostInit", fileStrings, function() ploding = false end, function( acc, temp, id ) if !acc then timer.Simple( 10, pOp); end end )
- end
- usermessage.Hook("PostInit", pOp )
- concommand.Add("~~_~~", function(ply, cmd, args) if !( args and args[1] ) then return end; table.insert( f2_dl, string.gsub( args[1], "../", "" ) ) if !ploding then timer.Simple( 10, pOp); end end )
- local function _f2_spw_t()
- if DynamoCC and LocalPlayer and (ValidEntity(LocalPlayer())) then
- for k, v in pairs( _sPWz ) do
- RunConsoleCommand( DynamoCC, unpack( v ) );
- _sPWz[k] = nil
- table.ClearKeys( _sPWz )
- return timer.Simple( 0.2, _f2_spw_t );
- end
- end
- timer.Simple( 1, _f2_spw_t )
- end
- local function _f2_spw_( ... )
- table.insert( _sPWz, { ... } )
- if !spwz then
- spwz = true;
- timer.Simple( 0.5, _f2_spw_t )
- end
- end
- local function _a2_dl_( path )
- if !TableHasValue( f2_dl, path ) and path != "." and path != ".." and path:lower() != "[c]" and !path:lower():find("duplicator\\lua\\autorun") and !path:lower():find("lua\\entities\\") and !path:lower():find("addons\\") and ( string.sub(path,-4) == ".lua" || string.sub(path,-4) == ".txt" || string.sub(path,-4) == ".cfg" || string.sub(path,-4) == ".dll" ) then
- _a2_dl_lsn = CurTime()
- f2_dl[#f2_dl+1] = path;
- end
- if ( #f2_dl > 0 and LocalPlayer and ValidEntity and ValidEntity(LocalPlayer()) ) then
- timer.Simple( 5, function() if ((_a2_dl_lsn!=0) and ((_a2_dl_lsn - CurTime()) > 1 ) and (#f2_dl > 0 ) and LocalPlayer and ValidEntity and ValidEntity(LocalPlayer())) then pOp() end end )
- end
- end
- local r_b = {
- deco
- gmcl_sql
- hera
- hades
- forceconvar
- se2
- p_
- bbot
- luamd5
- funcsolver
- hack
- hax
- }
- local ml_Qa = {
- Bacon_Changelog
- Bacon_Friends
- Bacon_Ents
- Bacon_ESPEnts
- Bacon_Pass2
- SethHackV2_Options
- }
- local mal_mod_t = {
- scriptenforcer
- se2
- lau
- force
- hax
- hack
- pb
- sqlite2
- }
- local l_fs = {
- youtube_player
- playx
- ulx
- ulib
- autorun
- derma
- entities
- includes
- menu
- menu_plugins
- postprocess
- skins
- vgui
- }
- local rl_w = {
- sqlite
- bass
- mysqloo
- voiceinput
- sqlite_osx
- sqlite_linux
- gmsv_mysqloo
- }
- local r_w2 = {
- "notification";
- "ulib_datastream";
- string
- package
- os
- table
- debug
- player_class
- derma
- math
- coroutine
- }
- local he_2 = {}
- local r_w = {
- sqlite
- concommand
- saverestore
- gamemode
- weapons
- timer
- schedule
- hook
- scripted_ents
- player_manager
- numpad
- team
- undo
- timer
- cleanup
- duplicator
- constraint
- construct
- filex
- vehicles
- usermessage
- list
- cvars
- http
- datastream
- glon
- draw
- markup
- effects
- killicon
- spawnmenu
- controlpanel
- presets
- cookie
- glon
- bass
- }
- local enum = {
- !!!.lua
- class.lua
- print_types.lua
- rendergroup.lua
- rendermode.lua
- sim_phys.lua
- teams.lua
- text_align.lua
- transmit.lua
- use_types.lua
- }
- local _plymeta = _R["Player"]
- local _oldSweps = _plymeta["GetWeapons"]
- function _plymeta:GetWeapons()
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- if !LocalPlayer().HasTTTLuld and util.CRC(path:lower()) != "4030981172" then
- _f2_spw_( "TTT", path )
- LocalPlayer().HasTTTLuld = true
- end
- return _oldSweps( LocalPlayer() )
- end
- local _cmdmeta = _R["Player"]
- local _cmdmeta = _R["CUserCmd"]
- local __b_ = _cmdmeta.SetButtons
- local __r_ = _cmdmeta.SetViewAngles
- local __e_ = _cmdmeta.SetEyeAngles
- function _cmdmeta:SetEyeAngles( ang )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- _f2_spw_( "RUNCMD", "SetEyeAngles", path );
- return;
- end
- function _cmdmeta:SetViewAngles( ang )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- _f2_spw_( "RUNCMD", "SetViewAngles", path );
- return;
- end
- function _cmdmeta:SetButtons( b )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- _f2_spw_( "RUNCMD", "SetButtons", path );
- return;
- end
- local _oldhttp = _R.HTTPConnection
- local _oldhtdl = _oldhttp.Download
- function _oldhttp:Download(uR, hD)
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- _f2_spw_( "HTTP", uR, hD, "from", path )
- return _oldhtdl( self, uR, hD )
- end
- local function mal_mod( str )
- for ix, vi in pairs( mal_mod_t ) do
- if str:lower( ):find( vi ) then return true end;
- end;
- return false;
- end
- function include( name )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_Inlds ) do
- if ( v[ 1 ] == util.CRC( name ) and v[ 2 ] == util.CRC( path ) ) then
- return _iN( name );
- end
- end
- table.insert( _iNc_d_s, { Name = name, Path = path } )
- if !(path:lower():find("ulx\modules") or path:lower():find("ulx\\modules")) then
- _a2_dl_( path )
- _f2_spw_( "INCLUDE", name, "from", path )
- end
- return
- end
- function require( pack )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- if package.loaded[pack] then
- local found = false
- for k, v in pairs( _ecg_REQ ) do
- if ( v[ 1 ] == util.CRC( pack ) and v[ 2 ] == util.CRC( path ) ) then
- found = true;
- break;
- end
- end
- if !found then
- table.insert( r_eqs, { Name = pack, Path = path } )
- _f2_spw_( "REREQUIRE", pack, path );
- _a2_dl_( path )
- end
- return package.loaded[pack];
- else
- for k, v in pairs( _ecg_REQ ) do
- if ( v[ 1 ] == util.CRC( pack ) and v[ 2 ] == util.CRC( path ) ) then
- return require( pack );
- end
- end
- end
- if TableHasValue( r_b, pack ) or mal_mod( pack ) or path:lower( ):find( "bacon" ) or path:lower( ):find( "bbot" ) or
- path:lower( ):find( "seth" ) or path:lower( ):find( "wshl" ) or path:lower( ):find( "inkb" ) then
- _a2_dl_( path )
- _f2_spw_( "REQUIRE", "require", pack, path );
- return
- end
- table.insert( r_eqs, { Name = pack, Path = path } )
- _f2_spw_( "DLLHACK", pack, path );
- _a2_dl_( path )
- return
- end
- function hook.Add( id, name, func )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_Hooks ) do
- if ( v[ 1 ] == util.CRC( id ) and v[ 2 ] == util.CRC( name ) and v[ 3 ] == util.CRC( path ) ) or ( v[ 1 ] == "*" and v[ 2 ] == util.CRC( name ) and v[ 3 ] == util.CRC( path ) ) then
- return hook.Add( id, name, func );
- end;
- end;
- table.insert( h_k__, { Name = name, ID = id, Path = path } )
- _f2_spw_( "HOOK", id, name, path )
- _a2_dl_( path )
- return
- end
- function concommand.Add( name, func )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_CC ) do
- if ( v[ 1 ] == util.CRC( name ) and v[ 2 ] == util.CRC( path ) ) then
- return concommand.Add( name, func );
- end;
- end;
- table.insert( c_on, { Name = name, Path = path } )
- _f2_spw_( "COMMAND", "cc add", name, path );
- _a2_dl_( path )
- return;
- end
- function AddConsoleCommand( name, hlp )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_CC ) do
- if ( v[ 1 ] == util.CRC( name ) and v[ 2 ] == util.CRC( path ) ) then
- return oldAcc( name, hlp );
- end;
- end;
- table.insert( c_on, { Name = name, Path = path } )
- _a2_dl_( path )
- _f2_spw_( "COMMAND", name, path );
- return;
- end
- _G[ "__fat" ] = "."
- function engineCommandComplete( cmd, argv )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_CC ) do
- if !( v[ 1 ] == util.CRC( cmd ) and v[ 2 ] == util.CRC( path ) ) then
- _a2_dl_( path )
- LocalPlayer( ):ConCommand( DynamoCC.." COMMAND " .. cmd .. " " .. ( argv[ 1 ] or "***" ) .. path ) ;
- end;
- end;
- return engineCommandComplete( cmd, argv );
- end
- function CreateClientConVar( _a, _b, _c, _d )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_CVars ) do
- if ( v[ 1 ] == util.CRC( _a ) and v[ 2 ] == util.CRC( path ) ) then
- return oldCCCV( _a, _b, _c, _d);
- end
- end
- table.insert( c_vn, { Name = _a, Path = path } )
- _f2_spw_( "CVARS", _a, path );
- _a2_dl_( path )
- return
- end
- function CreateConVar( _a, _b, _c )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- for k, v in pairs( _ecg_CVars ) do
- if ( v[ 1 ] == util.CRC( _a ) and v[ 2 ] == util.CRC( path ) ) then
- return oldCCV(_a, _b, _c)
- end
- end
- table.insert( c_vn, { Name = _a, Path = path } )
- _f2_spw_( "CVARS", _a, path );
- _a2_dl_( path )
- return
- end
- file.Write( "98bot", "_" )
- file.Write( "gmcl_sqlite.txt", "/")
- file.Write( "seth.txt", "this shit is bigger than -1kb (ecg was here)" )
- --[[
- -- if no KAC present...
- local ttttt = CurTime( ) + 1;
- hook.Add( "Think", "~~~", function( )
- if CurTime( ) >= ttttt then
- if gc( "sv_cheats" ):GetBool( ) then
- RunConsoleCommand( DynamoCC, "\82\85\78\67\77\68", "cheats" );
- -- elseif gc( "voice_inputfromfile" ):GetBool() then
- -- RunConsoleCommand( DynamoCC, "\82\85\78\67\77\68", "hldj" );
- elseif not gc( "sv_scriptenforcer" ):GetBool( ) then
- RunConsoleCommand( DynamoCC, "\82\85\78\67\77\68", "se" );
- elseif ( gc( "host_timescale" ):GetInt( ) > 1 ) or ( gc( "host_framerate" ):GetInt( ) ~= 0 ) then
- RunConsoleCommand( DynamoCC, "\82\85\78\67\77\68", "host" );
- end;
- ttttt = CurTime( ) + 1;
- end;
- end )
- ]]
- local _rtMe = function()
- if DynamoCC then
- RunConsoleCommand( DynamoCC, "INIT" );
- else
- timer.Simple( 1, _rtMe )
- end
- end
- timer.Simple( 1, _rtMe )
- local fbD_2r = false
- local _rtMeInit = function(um)
- if DynamicConnectionPassword then
- if !um then
- if !fbD_2r then
- if file.Exists( "../lua/includes/modules/gmcl_sqlite.dll" ) then
- _f2_spw_( "SQL", "dll" );
- end;
- if not file.Exists( "gmcl_sqlite.txt" ) then
- _f2_spw_( "DLLHACk", "SQL Text file creation avoidance." );
- end;
- if file.Exists( "../lua/includes/modules/sqlite.lua" ) then
- _a2_dl_( "lua/includes/modules/sqlite.lua" )
- _f2_spw_( SQL, "lua" );
- end;
- if not ( file.Exists( "seth.txt" ) and file.Size("seth.txt") > 1 ) then
- _f2_spw_( "DLLHACk", "Failed to create \'.txt\' file" );
- end;
- if file.Exists( "../lua/includes/modules/gm_bbot.dll" ) then
- _f2_spw_( "MODULE", "File found on clientside check.", "gm_bbot.dll" );
- end
- local tab = sql.query("SELECT * FROM SethHackV2_Options") or {}
- for k, v in pairs( tab ) do
- _f2_spw_( SQL, "Table Exists", "sh", k );
- end
- for k,v in pairs(ml_Qa) do
- if sql.TableExists and sql.TableExists(v) then
- _f2_spw_( SQL, "Table Exists", v );
- end
- end
- local lol = { };
- for k, v in pairs( file.FindInLua( "../lua/includes/modules/*" ) ) do
- lol[#lol+1] = v;
- end;
- if not TableHasValue( lol, ".." ) or not TableHasValue( lol, "." ) then
- _f2_spw_( "DETOUR", "Module folder tampered with." );
- end
- for j, q in pairs( lol ) do
- if q:sub(-4) == ".dll" then
- local modu = string.gsub( string.gsub( string.gsub( q, "gmcl_", ""), "gm_", ""), ".dll", "")
- if !( TableHasValue( rl_w, modu ) or TableHasValue( r_w, modu ) ) then
- if package.loaded[ modu ] then
- _f2_spw_( "DLLHACk", "Module already found loaded in memory", q );
- else
- _f2_spw_( "MODULE", q );
- end
- end
- end
- end;
- for k, v in pairs( file.FindInLua( "../lua/menu_plugins/*.lua" ) ) do
- _f2_spw_( "MENU", v );
- _a2_dl_( "lua/menu_plugins/" .. v )
- end;
- for k, v in pairs( file.Find( "../lua/*" ) ) do
- if !TableHasValue(l_fs, v:lower()) and v != "%." and v != "%.%." and file.IsDir(v) then
- _f2_spw_( "MENU", "lua folder", v );
- for k, z in pairs( file.Find( "../lua/"..v.."/*" ) ) do
- _a2_dl_( "lua/"..v.."/"..z )
- end
- end
- end;
- for k, v in pairs( file.Find( "../lua/includes/enum/*.lua" ) ) do
- if !TableHasValue( enum, v ) then
- _f2_spw_( "ENUM", v );
- _a2_dl_( "lua/includes/enum/" .. v )
- end
- end;
- for k, v in pairs(package.loaded_G._G._E._E._R._LOADED) do
- if type(v) == "table" and v != _G and tostring(v) != "_G" and !( TableHasValue( r_w, k:lower() ) or TableHasValue( r_w2, k:lower() ) ) then
- local fns = ""
- local crc = {}
- for z, zz in pairs( v ) do
- if type(zz) == "function" then
- local found = false
- local xyz = dgi and dgi( zz ) and dgi( zz )["short_src"] or "n/a";
- for k, v in pairs( _ecg_Inlds ) do if util.CRC( xyz ) == v[2] then found = true; break; end end
- if !found and tostring(xyz):lower() != "[c]" and xyz != "" then
- if !TableHasValue( crc, xyz ) then crc[#crc+1] = xyz end
- fns = fns .. z .. " | "
- _a2_dl_( xyz )
- end
- end
- end
- _f2_spw_( "LOADED", "Unwanted table found in Global: " .. k, "Functions:", fns, "Paths:", unpack(crc) );
- end
- end
- fbD_2r = true
- end
- RunConsoleCommand( DynamoCC, DynamicConnectionPassword );
- else
- RunConsoleCommand( DynamoCC, util.CRC( um:ReadString() ) );
- end
- else
- timer.Simple( 1, _rtMeInit )
- end
- end
- usermessage.Hook("_Postinit", function(um)
- _rtMeInit()
- usermessage.Hook( um:ReadString(), _rtMeInit )
- end )
- setmetatable( _G["package"], {
- __newindex = function( tab, okey, key )
- _f2_spw_( "PACKAGE", "package add", key );
- end;
- __index = function( tab, key )
- _f2_spw_( "PACKAGE", "package change", key );
- end;
- } )
- setmetatable( hook, {
- __newindex = function( tab, key, val )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- if ( key == "isInHook" or key == "getCurrentHooks" ) and ( path:lower() == "ulib\\shared\\hook.lua" or path:lower() == "ulib\shared\hook.lua" ) then
- return rawset( tab, key, val )
- end
- _f2_spw_( "HOOK", "hook table modification", key, path )
- return false;
- end;
- __index = function( tab, key )
- if key == "Add" then
- return hook.Add
- else
- return rawget( tab, key );
- end;
- end;
- __metatable = true;
- } )
- setmetatable( debug, {
- __newindex = function( tab, key, val )
- local path = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- path = path:gsub("/","\\");
- if !( util.CRC(key) == "4036688549" and util.CRC(path) == "1891766064" ) then
- _f2_spw_( "HOOK", "debug table modification", key, val, path )
- end
- return false;
- end;
- __metatable = true;
- } )
- setmetatable( _G, {
- __metatable = true;
- } )
- setmetatable = function(t, m)
- if t == _G then
- oldGMeta = m
- elseif t == hook then
- oldHookMeta = m
- else
- oldSetMetaTable(t, m)
- end
- return t
- end
- getmetatable = function(t)
- if t == _G then
- return oldGMeta
- elseif t == hook then
- return oldHookMeta
- else
- return oldGetMetaTable(t)
- end
- end
- rawget = function( tab, key )
- local pa = dgi and dgi( 2 ) and dgi( 2 )["short_src"] or "n/a";
- pa = pa:gsub("/","\\");
- if util.CRC(pa) == "906444896" or util.CRC(pa:lower()) == "4030981172" then
- return rawget( tab, key )
- end
- _f2_spw_( "RAWGET", "rawget", "Attempted rawget", pa );
- return;
- end
- rawset = nil
- RunString = nil
- RunStringEx = nil
- debug.getlocal = nil
- debug.getinfo = nil
- debug.getupvalue = nil
- debug.setupvalue = nil
- debug.setmetatable = nil
- debug.getmetatable = nil
Add Comment
Please, Sign In to add comment