From 4d7ffb4136aaaffe4b83653b0701e83e929f0731 Mon Sep 17 00:00:00 2001 From: maowenrui <3505719167@qq.com> Date: Tue, 9 Jun 2026 14:29:19 +0800 Subject: [PATCH] tect function --- Anti-Cheat_Driver/driver_main.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Anti-Cheat_Driver/driver_main.cpp b/Anti-Cheat_Driver/driver_main.cpp index a155b7f..57155ee 100644 --- a/Anti-Cheat_Driver/driver_main.cpp +++ b/Anti-Cheat_Driver/driver_main.cpp @@ -3,6 +3,7 @@ #include "create_thread_callback.h" #include "load_Image_callback.h" #include "protect_filter.h" +#include "process_func.h" EXTERN_C NTSTATUS DriverEntry(PDRIVER_OBJECT drv_obj, PUNICODE_STRING) { @@ -11,19 +12,19 @@ EXTERN_C NTSTATUS DriverEntry(PDRIVER_OBJECT drv_obj, PUNICODE_STRING) ob_call_back::uninstall_ob_callback(); thread_notify_routine::unload_thread_routine(); load_image_notify_routine::remove_image_load_notify_routine(); + + + //process_function::eprocess_protect_process_off(4732); }; kernel_api::kernel_api_init(); protect_filter::Init(); - protect_filter::add_list(4504, 0); - protect_filter::add_list(8152, 0); - protect_filter::add_list(8224, 0); - //protect_filter::is_protect_pid(0); + //protect_filter::add_list(6644, 0); - //protect_filter::remove_list(7868,0); - //protect_filter::is_protect_pid(0); + + //process_function::eprocess_protect_process_on(4732); ob_call_back::register_ob_reg_callback();