mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-20 08:43:07 +08:00
Included a global config struct for controlling which hooks and functions of the rootkit should be active. Still work to be done in the bpf side
This commit is contained in:
12
src/user/include/modules/module_manager.c
Normal file
12
src/user/include/modules/module_manager.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "module_manager.h"
|
||||
|
||||
module_config_t module_config = {
|
||||
.xdp_module = {
|
||||
.all = ON,
|
||||
.xdp_receive = ON
|
||||
},
|
||||
.sched_module = {
|
||||
.all = ON,
|
||||
.handle_sched_process_exec = ON
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user