Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Accept()
- func (h *Handler) Close()
- func (h *Handler) Download(source string, destination string)
- func (h *Handler) Execute(name string, args []string)
- func (h *Handler) NeedsTLS() bool
- func (h *Handler) ReceiveData(data []byte)
- func (h *Handler) SetDelegate(delegate protocol.Delegate)
- func (h *Handler) Upload(source string, destination string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a HotCroissant protocol handler capable of communicating with the HotCroissant malware family.
func (*Handler) Accept ¶
func (h *Handler) Accept()
Accept gives the Handler a chance to do something as soon as an agent connects.
func (*Handler) ReceiveData ¶
ReceiveData saves the network data and processes it when a full command has been received.
func (*Handler) SetDelegate ¶
SetDelegate saves the delegate for later use.
Click to show internal directories.
Click to hide internal directories.