Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // The HTTP address to bind to HTTPAddr string // The HTTP port to bind to HTTPPort int // Set to the Server field in HTTP response ServerField string // Indicates if TLS should be enabled TLS bool // The file path to the user provided private key (if provided) PrivateKeyFile string // The file path to the user provided certificate (if provided) CertificateFile string // Loaded certificate Certificate tls.Certificate // Allows us to track if a connection has been received during the life of the server Success bool // Randomly generated during init, gives some sense of security where there is otherwise none. // This should appear in a header with the name VC-Auth AuthHeader string // contains filtered or unexported fields }
func (*Server) Channel ¶ added in v1.43.0
Get the underlying C2 channel with metadata and session information.
func (*Server) CreateFlags ¶
func (httpServer *Server) CreateFlags()
User options for serving a file over HTTP as the "c2".
Click to show internal directories.
Click to hide internal directories.