Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ 1lIlI1llII1llII1I1Il1IIll1 --]]
- local bloquer_include_script = {
- ["lib/preferences.lua/preferences.lua"] = true,
- ["lib/i18n.lua/i18n.lua"] = true,
- ["conf/theme.lua"] = true,
- ["speak/cl_main.lua"] = true,
- ["conf/emoticons.lua"] = true,
- }
- -- Empecher des commandes d'etre lancer:
- local bloquer_commandes = {
- ["+voicerecord"] = true,
- ["demos"] = true,
- ["impulse"] = true,
- ["__screenshot_internal"] = true,
- ["cl_screenshotname"] = true,
- ["screenshot"] = true,
- ["cl_savescreenshotstosteam"] = true,
- ["jpeg_quality"] = true,
- ["jpeg"] = true,
- ["vk_commands"] = true,
- ["vk_examples"] = true,
- ["vk_status"] = true,
- ["vk_blacklist"] = true,
- ["DrawDeathMsg"] = true,
- ["EasyMOTD_Open"] = true,
- ["OpenMotd"] = true,
- ["nlr_box"] = true,
- ["NLRDeathMessage"] = true,
- ["wesnlr"] = true,
- ["lunera_motd"] = true,
- ["MOTD"] = true,
- ["MOTDS"] = true,
- ["Suss_MOTD"] = true,
- ["`~^"] = true,
- ["rdm"] = true,
- ["showmotdmenu"] = true,
- ["GetTheTime"] = true,
- ["r_shader_srgb"] = true,
- }
- -- Empecher des netcodes d'etre lancer:
- local bloquer_netcode = {
- ["AntiHook"] = true,
- ["AntiBadLua"] = true,
- ["grosgaypoilueetmoche"] = true,
- ["ImUsingScriptHook"] = true,
- ["ImUsingLuaBin"] = true,
- ["ImUsingLuaViewer"] = true,
- ["ImUsingMenuPlugins"] = true,
- ["ImUsingFuckNigger"] = true,
- ["ImUsingShit"] = true,
- ["ijustwannahaveyourightbymyside"] = true,
- ["screengrab_start"] = true,
- ["screengrab_part"] = true,
- ["anti_exploits_ban"] = true,
- ["StartScreengrab"] = true,
- ["FullMOTD_Open"] = true,
- ["open_menu"] = true,
- ["closebutton_repeat"] = true,
- ["sMsgStandard"] = true,
- ["sNotifyHit"] = true,
- ["sMsgAdmins"] = true,
- ["sAlertNotice"] = true,
- ["MOTDgdUpdate"] = true,
- ["atmos_snow"] = true,
- ["atmos_storm"] = true,
- ["Mistforums.sendClientFile"] = true,
- ["openmotd"] = true,
- ["1942_Rule_Check"] = true,
- ["1942_Economy_QuestionMenu"] = true,
- ["1942_Revive_Notice"] = true,
- ["tbfy_surrender"] = true,
- ["VelocityKillerMessage"] = true,
- ["LuneraInitMenu"] = true,
- ["NDS_death"] = true,
- ["silkymotd"] = true,
- ["slua"] = true,
- ["slua2"] = true,
- ["blacklist_gbox_net"] = true,
- ["rtxappend2"] = true,
- ["ScreengrabInitCallback"] = true,
- ["ScreengrabSendPart"] = true,
- ["Progress"] = true,
- ["ScreengrabInterrupted"] = true,
- ["ScreengrabConfirmation"] = true,
- ["SendPartBack"] = true,
- ["rtxappend"] = true,
- ["ash_ban"] = true,
- ["woppitydop"] = true,
- ["VelocityKillerCommand"] = true,
- ["gZ_BanMe"] = true,
- ["izbushechka:anticheat"] = true,
- ["metro_notification"] = true,
- ["sBlockGMSpawn"] = true,
- ["CAC_BanMe"] = true,
- ["NBP_ASH_SENDCODE"] = true,
- ["sv_logs_msg"] = true,
- ["cl_logs_msg"] = true,
- ["ServerToClient"] = true,
- ["ClientToServer"] = true,
- ["CheaterCode"] = true,
- ["Cheater"] = true,
- ["LeyScreenCap"] = true,
- ["N::H::P"] = true,
- ["checksaum"] = true,
- ["checksum"] = true,
- ["gcontrolled_vars"] = true,
- ["controlled_vars"] = true,
- ["quack"] = true,
- ["leyac_cmd"] = true,
- ["HasPressedKey"] = true,
- ["anti_nexploits_telecomm"] = true,
- ["CountryToTable"] = true,
- ["HasPlyExploit"] = true,
- ["HasPlyExec"] = true,
- ["SHChk"] = true,
- ["detect_cheat"] = true,
- ["_Detect"] = true,
- ["load_state_complete"] = true,
- ["send_angle_data"] = true,
- ["network_synced_vars"] = true,
- ["invalid_convar"] = true,
- ["check_convar_list"] = true,
- ["module_loaded"] = true,
- ["detour_attempted"] = true,
- ["external_attempted"] = true,
- ["check_code"] = true,
- ["verify_display"] = true,
- ["global_variable"] = true,
- ["minimal_message"] = true,
- ["invalid_file"] = true,
- ["validate_file_contents"] = true,
- ["validate_crc"] = true,
- ["send_cm_data"] = true,
- ["ban_player"] = true,
- ["kick_player"] = true,
- ["ban_me"] = true,
- ["validation_check"] = true,
- ["validation_check_payload"] = true,
- ["rec_note"] = true,
- ["ulx_send_data8"] = true,
- ["Pure_openMotd"] = true,
- ["SScreen"] = true,
- ["ConnectCommandBlock_SearchH"] = true,
- ["BetterSNTEyall"] = true,
- ["SwiftAC_aysent"] = true,
- ["ZALUPA_scripthook"] = true,
- ["ZALUPA_cheat"] = true,
- ["\x5a\x41\x4c\x55\x50\x41\x5f\x62\x79\x70".."\x61\x73\x73"] = true,
- ["ZALUPA_luabin"] = true,
- ["m_validate_player"] = true,
- ["m_network_data"] = true,
- ["m_check_synced_data"] = true,
- ["m_unsafe_player"] = true,
- ["m_loaded"] = true,
- ["anti_exploits_ban"] = true,
- ["anti_cheat_ban"] = true,
- ["anti_dll_ban"] = true,
- ["anti_lua_ban"] = true,
- ["anti_scripthook_ban"] = true,
- ["anti_armdupe_ban"] = true,
- ["getip"] = true,
- ["backup_data_transfer"] = true,
- ["mcwgabh"] = true,
- ["GetFish"] = true,
- ["easy_bot"] = true,
- ["rhandcuffsentt"] = true,
- ["utime"] = true,
- ["antigay_exploits"] = true,
- ["antigay_cheat"] = true,
- ["antigay_dll"] = true,
- ["antigay_lua"] = true,
- ["antigay_kick"] = true,
- ["antigay_send"] = true,
- ["VCMod.DeleteNewOldCarsTop"] = true,
- ["EC_BanMePlz"] = true,
- ["Anti_Aimbot_Signal"] = true,
- ["Anti_Aimbot"] = true,
- }
- -- Empecher des timers d'etre lancer:
- local bloquer_timer = {
- ["NLRChecker"] = true,
- ["AntiCheatTimer"] = true,
- ["testing123"] = true,
- ["STC"] = true,
- ["GagLocalPlayer"] = true,
- ["animating"] = true,
- }
- -- Empecher des hooks d'etre lancer:
- local bloquer_hook = {
- ["Think"] = {
- ["atmosStormThink"] = true,
- ["SW.Think"] = true,
- ["StormFox - Outdoor Env"] = true,
- ["StormFox - light_env support"] = true,
- ["StormFox - SkyPaintFix"] = true,
- ["StormFox - SkyThink"] = true,
- ["StormFox - ShadowUpdate"] = true,
- ["StormFox - DownfallUpdater"] = true,
- ["StormFox - RenderFalldownThink"] = true,
- ["StormFox - RenderFalldownScreenThink"] = true,
- ["StormFox - RenderFalldownHanlde"] = true,
- ["StormFox - CBreath"] = true,
- ["StormFox - CloudUpdate"] = true,
- ["PlayerInfoThing"] = true,
- ["sh_menu"] = true,
- ["FancyMOTD.OpenOnKeypress"] = true,
- ["wat"] = true,
- ["TBFY_Surrender"] = true,
- ["JarvinOpenKey"] = true,
- ["Imprecision"] = true,
- ["KeyPressedTest"] = true,
- ["start_anticheat"] = true,
- },
- ["HUDPaint"] = {
- ["FAdmin_ban"] = true,
- ["drawHudVital"] = true,
- ["carBomb_ScannerHUD"] = true,
- ["atmosHUDPaint"] = true,
- ["SW.HUDPaint"] = true,
- ["SW.DrawClock"] = true,
- ["RainDebug2"] = true,
- ["StormFox - HUDTips"] = true,
- ["StormFox - RenderRainScreen"] = true,
- ["StormFox - RainScreenEffect"] = true,
- ["PPT_HUD"] = true,
- ["DoHud"] = true,
- ["newhud"] = true,
- ["dance"] = true,
- ["simplelogo"] = true,
- ["HTML_IMG"] = true,
- ["gtavds_HUDPaint"] = true,
- },
- ["RenderScreenspaceEffects"] = {
- ["SW.RenderScreenspaceEffects"] = true,
- ["StormFox - Toxxeffect"] = true,
- ["StormFox - Sunbeams"] = true,
- ["stormFox - screenmodifier"] = true,
- ["WeatherOverlay"] = true,
- ["wat"] = true,
- ["ohgod"] = true,
- ["DrawMotionBlur"] = true,
- ["ESC.ScreenspaceEffects"] = true,
- ["ceScreenEffects"] = true,
- },
- ["PreRender"] = {
- ["ESC.OpenMenu"] = true,
- ["IceEscape_PreRenderHookEscKey"] = true,
- ["esc.PreRender"] = true,
- ["Jarvin:PreRender"] = true,
- ["Liko:PreRender"] = true,
- ["cleanEscape"] = true,
- },
- ["InitPostEntity"] = {
- ["spawnIconRefresh"] = true,
- ["MOTDgdInitHook"] = true,
- ["startMistforums"] = true,
- ["mistforums-GetClientFiles"] = true,
- ["D3A.OpenMoTD.InitPostEntity"] = true,
- ["cnTicker"] = true,
- },
- ["PlayerBindPress"] = {
- ["_sBlockGMSpawn"] = true,
- ["BlockPhysgunWheelSpeedGlitch"] = true,
- ["Test"] = true,
- ["BSoDBinds"] = true,
- },
- ["PreDrawHUD"] = {
- ["BSoDThink"] = true,
- ["NotLeavebd"] = true,
- },
- ["HUDShouldDraw"] = {
- ["newhud"] = true,
- ["ESC.HideHUD"] = true,
- ["IceEscape_HudShouldDraw"] = true,
- },
- ["PostDrawOpaqueRenderables"] = {
- ["StormFox - SkyBox Debug"] = true,
- ["StormFox - CloudRender"] = true,
- ["example"] = true,
- },
- ["PlayerInitialSpawn"] = {
- ["AddPlayer"] = true,
- ["showMotd"] = true,
- ["OpenMotdOnJoin"] = true,
- },
- ["CalcView"] = {
- ["rp_deathPOV"] = true,
- ["ESC.CalcView"] = true,
- ["CalcView"] = true,
- },
- ["ContextMenuOpen"] = {
- ["AdminContext"] = true,
- ["AdminContextMenu"] = true,
- },
- ["Initialize"] = {
- ["silkymotd"] = true,
- ["SW.Initialize"] = true,
- },
- ["SetupWorldFog"] = {
- ["SW.SetupWorldFog"] = true,
- ["StormFox - skyworldfog"] = true,
- },
- ["SetupSkyboxFog"] = {
- ["SW.SetupSkyboxFog"] = true,
- ["StormFox - skyfog"] = true,
- },
- ["PostDraw2DSkyBox"] = {
- ["StormFox - SkyBoxRender"] = true,
- ["StormFox - ShootingStars"] = true,
- },
- ["PostDrawTranslucentRenderables"] = {
- ["StormFox - RenderFalldown"] = true,
- ["ohgod"] = true,
- },
- ["PlayerSay"] = {
- ["screengrab_playersay"] = true,
- ["OpenMotdOnCommand"] = true,
- },
- ["StormFox - EnvUpdate"] = {
- ["StormFox - RainSounds"] = true,
- ["StormFox - WindSounds"] = true,
- },
- ["StormFox - TopSkyRender"] = {
- ["StormFox - MoonRender"] = true,
- },
- ["PostRender"] = {
- ["Screengrab"] = true,
- },
- ["OnContextMenuOpen"] = {
- ["NoContext4u"] = true,
- },
- ["Render"] = {
- ["IceEscape_CheckKeyWasIn"] = true,
- },
- ["ShouldDrawLocalPlayer"] = {
- ["ESC.DrawPlayer"] = true,
- },
- ["PreDrawEffects"] = {
- ["Photon.RenderQueue"] = true,
- },
- ["PostPlayerDraw"] = {
- ["StormFox - Breath"] = true,
- },
- ["RenderScene"] = {
- ["StormFox - Suntest"] = true,
- },
- ["PlayerAuthed"] = {
- ["wat"] = true,
- },
- ["GetMotionBlurValues"] = {
- ["wat"] = true,
- },
- ["SpawnMenuOpen"] = {
- ["Tsoyvsikarus"] = true,
- },
- ["OnPlayerHitGround"] = {
- ["Anti-Bhop"] = true,
- },
- ["Tick"] = {
- ["LeyScreenCap"] = true,
- },
- ["PlayerTick"] = {
- ["WyoziAdvTTTSpreadOverTime"] = true,
- },
- ["OnPlayerChat"] = {
- ["moonttt"] = true,
- },
- ["PlayerCanPickupWeapon"] = {
- ["noDoublePickup"] = true,
- },
- }
- local _GBA = {}
- _GBA.secure_it = {}
- local secure_it = {}
- secure_it.funcs = {}
- local Gizeh = {}
- function Gizeh.DebugLog(str,col,err)
- file.Write("gmpkxyihlukryixurm.txt",util.TableToJSON({str,col,err}))
- end
- function gui.HideGameUI()end
- local oldCamEnd3D = cam.End3D
- function cam.End3D()
- if debug.getinfo( 2 ).short_src == "LuaCmd" then
- Gizeh.DebugLog("Tentative de crash bloquer (cam.End3D)", Color(255,140,0), false)
- return
- else
- return oldCamEnd3D()
- end
- end
- local oldTableEmpty = table.Empty
- function table.Empty(tbl)
- if tbl == debug.getregistry() then
- Gizeh.DebugLog("Tentative de crash bloquer (table.Empty(debug.getregistry()))", Color(255,140,0), false)
- return
- else
- return oldTableEmpty(tbl)
- end
- end
- function Gizeh.RemoveHook( name, unique )
- if hook.GetTable()[name] and hook.GetTable()[name][unique] then
- Gizeh.DebugLog("Hook Supprimer: " .. unique, Color(150,150,150), false)
- hook.Remove(name, unique)
- end
- end
- function secure_it.Detour( old, new, name )
- name = name or ""
- if name != "" then Gizeh.DebugLog("Function: "..name.." ,detour avec succ�s", Color(0,150,0), false) end
- secure_it.funcs[new] = old
- return new
- end
- _GBA.secure_it.Detour = secure_it.Detour
- local return_clean_include = include
- include = secure_it.Detour( include, function( str )
- if bloquer_include_script[str] then
- Gizeh.DebugLog("Fichier: "..name.." ,bloquer avec succ�s", Color(0,150,0), false)
- print("Fichier bloquer: "..str)
- return
- end
- return return_clean_include(str)
- end)
- local return_netcode = net.Start
- net.Start = secure_it.Detour( net.Start, function( str )
- if bloquer_netcode[str] then
- Gizeh.DebugLog("Netcode bloquer: "..str, Color(255,140,0), false)
- return
- end
- return return_netcode(str)
- end)
- local return_timer = timer.Create
- for str, _ in pairs(bloquer_timer) do
- if timer.Exists(str) then
- Gizeh.DebugLog("Timer bloquer: "..str, Color(255,140,0), false)
- timer.Remove(str)
- end
- end
- timer.Create = secure_it.Detour( timer.Create, function( str, b, c, d )
- if bloquer_timer[str] then
- Gizeh.DebugLog("Timer bloquer: "..str, Color(255,140,0), false)
- return
- end
- return return_timer(str,b,c,d)
- end)
- local return_hook = hook.Add
- for eventName, Table in pairs(bloquer_hook) do
- for identifier, _ in pairs(Table) do
- Gizeh.RemoveHook(eventName, identifier)
- end
- end
- local meta_table = FindMetaTable
- local ply_gizeh_detour = meta_table( "Player" )
- local return_clean_cmd = ply_gizeh_detour.ConCommand
- ply_gizeh_detour.ConCommand = secure_it.Detour( ply_gizeh_detour.ConCommand, function( pl, cmd, ... )
- if bloquer_commandes[string.lower(cmd)] then
- Gizeh.DebugLog("Commande bloquer: "..cmd, Color(255,140,0), false)
- return
- end
- return return_clean_cmd( pl, cmd, ... )
- end)
- local return_hook = hook.Add
- for eventName, Table in pairs(bloquer_hook) do
- for identifier, _ in pairs(Table) do
- Gizeh.RemoveHook(eventName, identifier)
- end
- end
- hook.Add = secure_it.Detour( hook.Add, function( name, unique, ... )
- if bloquer_hook[name] and bloquer_hook[name][unique] then
- Gizeh.DebugLog("Hook bloquer: "..unique, Color(255,140,0), false)
- return
- end
- return return_hook(name,unique,...)
- end)
- net.Receive( "gvpathcqsbiarpsz", function()
- local str = net.ReadString()
- Gizeh.DebugLog(str, Color(0, 255, 0), false)
- end )
- net.Receive( "qrahwsvlbusdvihu", function()
- local str = net.ReadString()
- Gizeh.DebugLog(str, Color(255, 0, 0), false)
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement