Expand description

Helper utilities for creating external c2 systems for cobaltstrike.

C2

Structs

Establishes a covert channel handler. this struct enables sending series of messages that are broken into small encrypted packets. messages are put into the channel with put_message and then sent with get_packet. In the reverse direction packets are read into the channel with put_packets and converted to messages with get_message. packets need to be sent in both directions to “syn/ack” to confirm messages are transmitted in full.

Enums

Error type for the things that can go wrong when you put packets in the channel