config.h

来自「Rootkit upload by benina rea」· C头文件 代码 · 共 34 行

H
34
字号
#pragma once

#define PFSRV_VERSION "2.11"

// delay (in msec) between the time the service starts and the moment
// the baseline is captured.
#define INITIAL_SLEEP_TIME	60*1000	

/* STOP_CONTROL is only for developing,
 * there is no reason for stoping the 
 * service in real life. moreover it is strongly
 * not recommended. becouse some malicious rootkit
 * can kill our pfservice process, hash of baselin is
 * kept in kernel, so we cancompare if it changed since the
 * last boot
 */
#define ALLOW_STOP_CONTROL


// how many iterations for baseline tests
#define BASELINE_NITER 1000

#define PROTECT_SERVICE_RESTART


// support traceing whole EP? currently not supported by client programs
// (i.e.) pfAgentSudio will suport it.

//#define TRACEPATH 1

// if pfDriver should use Debug Registers for hardware protection of IDT1
#define DR_PROTECTION 1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?