Envelope - Used to encode implant<->server messages since we cannot use gRPC due to the various transports used.

interface Envelope {
    Data: Buffer;
    ID: string;
    Type: number;
    UnknownMessageType: boolean;
}

Properties

Data: Buffer

Actual message data

ID: string

Envelope ID used to track request/response

Type: number

Message type

UnknownMessageType: boolean

Set if the implant did not understand the message