Documentation
¶
Index ¶
Constants ¶
View Source
const ( DestFile int32 = iota DestStdout )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericHTTPRequest ¶
type GenericHTTPRequest struct { AgentID string `json:"agent_id"` RequestID string `json:"request_id"` Opcode int32 `json:"opcode"` Args [][]byte `json:"args"` }
GenericHTTPRequest is the structure sent by the C2 when an operator requests for an agent to perform a task.
type GenericHTTPResponse ¶
type GenericHTTPResponse struct { AgentID string `json:"agent_id"` RequestID string `json:"request_id"` Responses []ResponseDetail `json:"responses"` }
GenericHTTPResponse is the structure received from an agent after a task is performed
type Registration ¶
type Registration struct { AgentID string `json:"agent_id"` OS string `json:"os"` Arch string `json:"arch"` Username string `json:"username"` Hostname string `json:"hostname"` UID string `json:"uid"` GID string `json:"gid"` PID string `json:"pid"` HomeDir string `json:"home_dir"` IPAddress string `json:"ip_address"` }
Registration is the initial data that is received from a first-time authenticating agent Can be viewed with the 'info' command
Click to show internal directories.
Click to hide internal directories.