Documentation ¶
Overview ¶
Package listeners houses listeners for various protocols to receive, handle, and return Agent traffic
Index ¶
Constants ¶
View Source
const ( UNKNOWN = 0 HTTP = 1 // HTTP is a constant for all HTTP listener types (e.g., HTTP/1, HTTP/2, and HTTP/3) TCP = 2 // TCP is a constant for TCP bind & reverse listeners UDP = 3 // UDP is a constant for UDP bind & reverse listeners SMB = 4 // SMB is a constant for SMB named pipe bind & reverse listeners )
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
FromString converts a string representation of the Listener type, or kind, to a constant
Types ¶
type Listener ¶
type Listener interface { Addr() string Authenticator() authenticators.Authenticator Authenticate(id uuid.UUID, data interface{}) (messages.Base, error) ConfiguredOptions() map[string]string Construct(msg messages.Base, key []byte) (data []byte, err error) Deconstruct(data, key []byte) (messages.Base, error) Description() string ID() uuid.UUID Name() string Options() map[string]string Protocol() int PSK() string Server() *servers.ServerInterface Status() string Transformers() []transformer.Transformer }
Listener is an interface that contains all the functions any Agent listener must implement
Directories ¶
Path | Synopsis |
---|---|
Package http contains structures and repositories to create, store, and manage HTTP based Agent listeners
|
Package http contains structures and repositories to create, store, and manage HTTP based Agent listeners |
memory
Package memory is an in-memory database used to store and retrieve HTTP listeners
|
Package memory is an in-memory database used to store and retrieve HTTP listeners |
Package smb contains the structures and interface for peer-to-peer communications through an SMB bind listener used for Agent communications SMB listener's do not have a server because the Merlin Server does not send/receive messages.
|
Package smb contains the structures and interface for peer-to-peer communications through an SMB bind listener used for Agent communications SMB listener's do not have a server because the Merlin Server does not send/receive messages. |
memory
Package memory is an in-memory database used to store and retrieve SMB listeners
|
Package memory is an in-memory database used to store and retrieve SMB listeners |
Package tcp contains the structures and interface for peer-to-peer communications through a TCP bind listener used for Agent communications TCP listener's do not have a server because the Merlin Server does not send/receive messages.
|
Package tcp contains the structures and interface for peer-to-peer communications through a TCP bind listener used for Agent communications TCP listener's do not have a server because the Merlin Server does not send/receive messages. |
memory
Package memory is an in-memory database used to store and retrieve TCP listeners
|
Package memory is an in-memory database used to store and retrieve TCP listeners |
Package udp contains the structures and interface for peer-to-peer communications through a UDP bind listener used for Agent communications UDP listener's do not have a server because the Merlin Server does not send/receive messages.
|
Package udp contains the structures and interface for peer-to-peer communications through a UDP bind listener used for Agent communications UDP listener's do not have a server because the Merlin Server does not send/receive messages. |
memory
Package memory is an in-memory database used to store and retrieve UDP listeners
|
Package memory is an in-memory database used to store and retrieve UDP listeners |
Click to show internal directories.
Click to hide internal directories.