Skip to content

Commit

Permalink
Format protobuf files
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Aug 11, 2024
1 parent 0d29ed3 commit 7069789
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
6 changes: 5 additions & 1 deletion Payload_Type/thanatos/protobuf/config/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ message WorkingHours {
sint32 utc_offset = 4;
}

enum InitAction { NONE = 0; THREAD = 1; FORK = 2; }
enum InitAction {
NONE = 0;
THREAD = 1;
FORK = 2;
}

message HttpConfig {
uint32 callback_port = 1;
Expand Down
20 changes: 14 additions & 6 deletions Payload_Type/thanatos/protobuf/msg/checkin/checkin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ syntax = "proto3";

package msg.checkin;

message CheckinInfo {
string uuid = 1;
CheckinData data = 2;
message CheckinResponse {
bytes id = 1;
}

message CheckinData {
Expand All @@ -29,7 +28,10 @@ message IpType {
}
}

enum Architecture { X86 = 0; X86_64 = 1; }
enum Architecture {
X86 = 0;
X86_64 = 1;
}

message LinuxInfo {
optional string distro = 1;
Expand All @@ -38,7 +40,11 @@ message LinuxInfo {
ContainerEnv container = 4;
}

enum ContainerEnv { NONE = 0; DOCKER = 1; CONTAINER = 2; }
enum ContainerEnv {
NONE = 0;
DOCKER = 1;
CONTAINER = 2;
}

message WindowsInfo {
uint32 build = 1;
Expand All @@ -49,7 +55,9 @@ message WindowsInfo {
}

enum WindowsProductType {
UNKNOWN = 0; CORE = 0x00000065; PROFESSIONAL = 0x00000030;
UNKNOWN = 0;
CORE = 0x00000065;
PROFESSIONAL = 0x00000030;
EDUCATION = 0x00000079;
ENTERPRISE = 0x00000004;
PRO_WORKSTATION = 0x000000A1;
Expand Down

0 comments on commit 7069789

Please sign in to comment.