tect function

This commit is contained in:
2026-06-09 14:29:19 +08:00
parent 60725b5434
commit 4d7ffb4136
+7 -6
View File
@@ -3,6 +3,7 @@
#include "create_thread_callback.h" #include "create_thread_callback.h"
#include "load_Image_callback.h" #include "load_Image_callback.h"
#include "protect_filter.h" #include "protect_filter.h"
#include "process_func.h"
EXTERN_C NTSTATUS DriverEntry(PDRIVER_OBJECT drv_obj, PUNICODE_STRING) 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(); ob_call_back::uninstall_ob_callback();
thread_notify_routine::unload_thread_routine(); thread_notify_routine::unload_thread_routine();
load_image_notify_routine::remove_image_load_notify_routine(); load_image_notify_routine::remove_image_load_notify_routine();
//process_function::eprocess_protect_process_off(4732);
}; };
kernel_api::kernel_api_init(); kernel_api::kernel_api_init();
protect_filter::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(); ob_call_back::register_ob_reg_callback();