Documentation ¶
Index ¶
- Variables
- type C2Default
- func (c C2Default) ApfID() string
- func (c *C2Default) CheckIn(ip string, pid int, user string, host string, operatingsystem string, ...) interface{}
- func (c *C2Default) GetFile(task structs.Task, fileDetails structs.FileUploadParams, ch chan []byte)
- func (c *C2Default) GetTasking() interface{}
- func (c *C2Default) NegotiateKey() string
- func (c *C2Default) PostResponse(output []byte, skipChunking bool) []byte
- func (c C2Default) ProfileType() string
- func (c *C2Default) SendFile(task structs.Task, params string, ch chan []byte)
- func (c *C2Default) SendFileChunks(task structs.Task, fileData []byte, ch chan []byte)
- func (c *C2Default) SetApfellID(newApf string)
- func (c *C2Default) SetSleepInterval(interval int)
- func (c *C2Default) SetSleepJitter(jitter int)
- func (c C2Default) SleepInterval() int
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = structs.Defaultconfig{
"encrypted_exchange_check",
"AESPSK",
"callback_host:callback_port/",
"post_uri",
"get_uri",
"query_path_name",
"proxy_host:proxy_port/",
"proxy_user",
"proxy_pass",
"USER_AGENT",
callback_interval,
"domain_front",
callback_jitter,
}
Functions ¶
This section is empty.
Types ¶
type C2Default ¶
type C2Default struct { HostHeader string BaseURL string PostURI string GetURI string QueryPathName string ProxyURL string ProxyUser string ProxyPass string Interval int Jitter int ExchangingKeys bool ApfellID string UserAgent string UUID string Key string RsaPrivateKey *rsa.PrivateKey }
func (*C2Default) CheckIn ¶
func (c *C2Default) CheckIn(ip string, pid int, user string, host string, operatingsystem string, arch string) interface{}
CheckIn a new agent
func (*C2Default) GetTasking ¶
func (c *C2Default) GetTasking() interface{}
GetTasking - retrieve new tasks
func (*C2Default) NegotiateKey ¶
NegotiateKey - EKE key negotiation
func (*C2Default) PostResponse ¶
PostResponse - Post task responses
func (C2Default) ProfileType ¶
func (*C2Default) SendFileChunks ¶
SendFileChunks - Helper function to deal with file chunks (screenshots and file downloads)
func (*C2Default) SetApfellID ¶
func (*C2Default) SetSleepInterval ¶
func (*C2Default) SetSleepJitter ¶
func (C2Default) SleepInterval ¶
Click to show internal directories.
Click to hide internal directories.