Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentExists ¶
AgentExists checks if a given agent ID is in the list of agents.
Types ¶
type Agent ¶
type Agent struct { ID string LastSeen time.Time Addr net.Addr // contains filtered or unexported fields }
An Agent represents a malware client that has connected to the server.
func (*Agent) SendCommand ¶
func (a *Agent) SendCommand(command interface{})
SendCommand instructs the agent to run the given command.
type DownloadCommand ¶
DownloadCommand represents the data needed to download a file from a given agent.
type ExecuteCommand ¶
ExecuteCommand represents a command to run on an agent.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Server represents a running mock C2 server.
type UploadCommand ¶
UploadCommand represents the data needed to upload a file to a given agent.
Click to show internal directories.
Click to hide internal directories.