f0rb1dd3n / Reptile

LKM Linux rootkit
2.53k stars 571 forks source link

Reptile-master/kernel/include/config.h:26:25: error: expected ‘)’ before ‘HIDE’ #95

Open xiaoqun-growing opened 3 years ago

xiaoqun-growing commented 3 years ago

in make menuconfig step, i chose a hide file and directory. but when i try to make , it print error message below this: make[1]: Entering directory '/home/rootkit/Reptile-master/userland' CC /home/rootkit/Reptile-master/output/shell

: In function ‘runshell’: :117:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] CC /home/rootkit/Reptile-master/output/cmd : In function ‘main’: :40:4: warning: format not a string literal and no format arguments [-Wformat-security] :53:4: warning: format not a string literal and no format arguments [-Wformat-security] :56:4: warning: format not a string literal and no format arguments [-Wformat-security] :72:7: warning: format not a string literal and no format arguments [-Wformat-security] :86:7: warning: format not a string literal and no format arguments [-Wformat-security] :100:6: warning: format not a string literal and no format arguments [-Wformat-security] :135:6: warning: format not a string literal and no format arguments [-Wformat-security] :183:2: warning: format not a string literal and no format arguments [-Wformat-security] make[1]: Leaving directory '/home/rootkit/Reptile-master/userland' CC /home/rootkit/Reptile-master/output/encrypt make[1]: Entering directory '/usr/src/linux-headers-4.4.0-190-generic' LD /home/rootkit/Reptile-master/output/built-in.o CC [M] /home/rootkit/Reptile-master/output/main.o In file included from /home/rootkit/Reptile-master/kernel/main.c:5:0: /home/rootkit/Reptile-master/kernel/main.c: In function ‘reptile_init’: /home/rootkit/Reptile-master/kernel/include/config.h:26:25: error: expected ‘)’ before ‘HIDE’ #define START_SCRIPT "/"HIDE"/"HIDE"_start" ^ /home/rootkit/Reptile-master/kernel/main.c:467:10: note: in expansion of macro ‘START_SCRIPT’ run_cmd(START_SCRIPT); ^ scripts/Makefile.build:285: recipe for target '/home/rootkit/Reptile-master/output/main.o' failed make[2]: *** [/home/rootkit/Reptile-master/output/main.o] Error 1 Makefile:1471: recipe for target '_module_/home/rootkit/Reptile-master/output' failed make[1]: *** [_module_/home/rootkit/Reptile-master/output] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-190-generic' Makefile:35: recipe for target 'module' failed make: *** [module] Error 2
MeSpider commented 3 years ago

在配置参数时,Hide name (needed to create Reptile's folder)功能是必需填写的,它将配置HIDE宏