Documentation ¶
Index ¶
- func StartDNSListener(domains []string, canaries bool) *dns.Server
- func StartMutualTLSListener(bindIface string, port uint16) (net.Listener, error)
- func StartTCPListener(bindIface string, port uint16, data []byte) (net.Listener, error)
- type DNSSession
- type HTTPHandler
- type HTTPServerConfig
- type HTTPSession
- type SendBlock
- type SliverHTTPC2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartDNSListener ¶
StartDNSListener - Start a DNS listener
func StartMutualTLSListener ¶
StartMutualTLSListener - Start a mutual TLS listener
Types ¶
type DNSSession ¶
type DNSSession struct { ID string Sliver *core.Sliver Key cryptography.AESKey LastCheckin time.Time // contains filtered or unexported fields }
DNSSession - Holds DNS session information
type HTTPHandler ¶
type HTTPHandler func(resp http.ResponseWriter, req *http.Request)
HTTPHandler - Path mapped to a handler function
type HTTPServerConfig ¶
type HTTPServerConfig struct { Addr string LPort uint16 Domain string Website string Secure bool Cert []byte Key []byte ACME bool }
HTTPServerConfig - Config data for servers
type HTTPSession ¶
type HTTPSession struct { ID string Sliver *core.Sliver Key cryptography.AESKey Started time.Time // contains filtered or unexported fields }
HTTPSession - Holds data related to a sliver c2 session
type SliverHTTPC2 ¶
type SliverHTTPC2 struct { HTTPServer *http.Server Conf *HTTPServerConfig Sessions *httpSessions SliverShellcode []byte // Sliver shellcode to serve during staging process Cleanup func() }
SliverHTTPC2 - Holds refs to all the C2 objects
func StartHTTPSListener ¶
func StartHTTPSListener(conf *HTTPServerConfig) *SliverHTTPC2
StartHTTPSListener - Start an HTTP(S) listener, this can be used to start both
HTTP/HTTPS depending on the caller's conf
Click to show internal directories.
Click to hide internal directories.