Documentation ¶
Index ¶
- func RouterGetFile(xid string) []byte
- func RouterSendFile(xid string, filedata []byte)
- type Config
- type RodentServer
- func (rs *RodentServer) GetRodentTasks(xid string) ([]rodent.Task, error)
- func (rs *RodentServer) Heartbeat()
- func (rs *RodentServer) RegisterNewRodent(rdata *rodent.Rodent) error
- func (rs *RodentServer) RegisterWithServer(router *Router) error
- func (rs *RodentServer) UpdateRodentTask(taskxid string, rtask *rodent.Task) error
- type Router
- type RouterCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RouterGetFile ¶
UNIMPLEMENTED: Get File from Rodent Server.
func RouterSendFile ¶
UNIMPLEMENTED: Send file to Rodent Server.
Types ¶
type Config ¶
type Config struct { Reguris []string `json:"registeruris"` Beaconuris []string `json:"beaconuris"` Outputuris []string `json:"outputuris"` Address string `json:"address"` Protocol string `json:"protocol"` Verbosity bool `json:"verbosity"` VerifyTls bool `json:"tls"` Cert string `json:"tlscert"` Certkey string `json:"tlscertkey"` CertCommonNames []string `json:"commonNames"` LogPath string `json:"logpath"` }
type RodentServer ¶
func (*RodentServer) GetRodentTasks ¶
func (rs *RodentServer) GetRodentTasks(xid string) ([]rodent.Task, error)
func (*RodentServer) Heartbeat ¶
func (rs *RodentServer) Heartbeat()
UNIMPLEMENTED: Send Hearbeat for polling purposes.
func (*RodentServer) RegisterNewRodent ¶
func (rs *RodentServer) RegisterNewRodent(rdata *rodent.Rodent) error
Register a new rodent with primary C2 Server
func (*RodentServer) RegisterWithServer ¶
func (rs *RodentServer) RegisterWithServer(router *Router) error
Register with the primary C2 Server and pass it valid router commands.
func (*RodentServer) UpdateRodentTask ¶
func (rs *RodentServer) UpdateRodentTask(taskxid string, rtask *rodent.Task) error
Send API Request to complete or update a task
Click to show internal directories.
Click to hide internal directories.