CSFrameRead

Trait CSFrameRead 

Source
pub trait CSFrameRead {
    // Required method
    fn read_frame(&mut self) -> Result<Vec<u8>, ()>;
}
Expand description

Read a single cobaltstrike frame from from a readable. A cobalt strike frame is a 32le size followed by a buffer of that size.

Required Methods§

Source

fn read_frame(&mut self) -> Result<Vec<u8>, ()>

Read the frame.

Implementors§

Source§

impl<T> CSFrameRead for T
where T: Read,