Documentation ¶
Overview ¶
server - the "server" package is used to organize all server handler functionality of the application.
Any functionality related to handling connections, data, and server configurations are parsed and organized by this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var CurrentOperator string
CurrentOperator - keeps track of the current user that is actively interacting with the WolfPack server during the request flow
var IsWolfPackExec bool
IsWolfPackExec - global value to let grumble run functions determine if the current command is being executed in the context of a
var PSK string
PSK - Global variable for the Pre-shared key used in implant authentication
var WolfPackApp *grumble.App
WolfPackApp - global value to store the current app context for the grumble app and access things like command execution in the grumble context
Functions ¶
func ErrorHandler ¶
ErrorHandler - wrapper function to hand off server related errors to insure servers Handler functions maintain correct interface mappings
func HTTPServerHandler ¶
func HTTPServerHandler(w http.ResponseWriter, r *http.Request)
HTTPServerHandler - Handles all HTTPS/HTTPServer requests by passing data to handler sub-functions based on request type.
Also sets HTTP server parameters and any other applicable HTTP server level variables.
func StartTCPServer ¶
StartTCPServer - starts a tcp server with given parameters specified during Listener creation
func TCPServerHandler ¶
func WolfPackServerHandler ¶
func WolfPackServerHandler(w http.ResponseWriter, r *http.Request)
WolfPackServerHandler - Handles all Wolfpack server requests over HTTPS by passing data to handler sub-functions
Also sets HTTP server parameters and any other applicable HTTP server level variables.
Types ¶
This section is empty.