Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for communicating with interactsh server instance.
func (*Client) Close ¶
Close closes the collaborator client and deregisters from the collaborator server if not explicitly asked by the user.
func (*Client) StartPolling ¶
func (c *Client) StartPolling(duration time.Duration, callback InteractionCallback)
StartPolling starts polling the server each duration and returns any events that may have been captured by the collaborator server.
func (*Client) StopPolling ¶
func (c *Client) StopPolling()
StopPolling stops the polling to the interactsh server.
type InteractionCallback ¶
type InteractionCallback func(*server.Interaction)
InteractionCallback is a callback function for a reported interaction
Click to show internal directories.
Click to hide internal directories.