linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

common.h (376B)


      1 #ifndef _GROUP7_COMMON_H
      2 #define _GROUP7_COMMON_H
      3 
      4 #ifdef DEBUG
      5 #define DEBUG_INFO(...) do{ pr_info(__VA_ARGS__); } while(0)
      6 #define DEBUG_NOTICE(...) do{ pr_notice(__VA_ARGS__); } while(0)
      7 #else
      8 #define DEBUG_INFO(...) do{} while (0)
      9 #define DEBUG_NOTICE(...) do{} while (0)
     10 #endif
     11 
     12 typedef enum {
     13     v4,
     14     v6
     15 } ip_version;
     16 
     17 typedef u8 ip_t[16];
     18 
     19 #endif//_GROUP7_COMMON_H