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:
h3xduck
2021-12-31 09:54:47 -05:00
parent d9a70f866c
commit 0863566292
13 changed files with 60 additions and 1204 deletions

View 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
}
};