Documentation ¶
Index ¶
- Variables
- func AlertRegisteredUsers(m SendMessage, name string)
- func AlertSingleUser(m SendMessage, ws *websocket.Conn)
- func AlertUsers(m SendMessage)
- func DeregisterAgent(ws *websocket.Conn, name string)
- func RegisterAgent(ws *websocket.Conn, name string)
- type Client
- type Clients
- type RShellClient
- type SendMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var AllClients = &Clients{Mutex: sync.RWMutex{}, List: make(map[*websocket.Conn]*Client)}
AllClients that are currently connected
View Source
var RShellClients = &RShellClient{Mutex: sync.RWMutex{}, Channel: make(map[string]chan string)}
RShellClients holds the channel for each RShell
Functions ¶
func AlertRegisteredUsers ¶
func AlertRegisteredUsers(m SendMessage, name string)
AlertRegisteredUsers sends data onto the the interested users
func AlertSingleUser ¶
func AlertSingleUser(m SendMessage, ws *websocket.Conn)
AlertSingleUser sends data back to a single user
func AlertUsers ¶
func AlertUsers(m SendMessage)
AlertUsers will send data to all front end users that needs to be known. Data can include listeners being spun up, agents connecting etc.. Message is expected to already be formatted when set
func DeregisterAgent ¶
DeregisterAgent removes the agent from the defined clients interested list
func RegisterAgent ¶
RegisterAgent registers an agent for the webserver to send data back too
Types ¶
type RShellClient ¶
RShellClient hows the structure of Reverse Shell Clients
Click to show internal directories.
Click to hide internal directories.