Documentation ¶
Index ¶
- type Cuckoo
- func (c *Cuckoo) DeleteTask(id int) error
- func (c *Cuckoo) GetFileInfoByID(id string) (*FilesViewSample, error)
- func (c *Cuckoo) GetFileInfoByMD5(md5 string) (*FilesViewSample, error)
- func (c *Cuckoo) GetStatus() (*Status, error)
- func (c *Cuckoo) NewTask(fileBytes []byte, fileName string, params map[string]string) (int, error)
- func (c *Cuckoo) TaskReport(id int) (*TasksReport, error)
- func (c *Cuckoo) TaskStatus(id int) (string, error)
- type FilesView
- type FilesViewSample
- type Status
- type StatusDiskspace
- type StatusSamples
- type StatusTasks
- type TasksCreateResp
- type TasksReport
- type TasksReportBehavior
- type TasksReportBhvPcs
- type TasksReportBhvPcsCall
- type TasksReportBhvPcsCallArg
- type TasksReportBhvSummary
- type TasksReportInfo
- type TasksReportInfoMachine
- type TasksReportSignature
- type TasksViewResp
- type TasksViewTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cuckoo ¶
func (*Cuckoo) DeleteTask ¶
func (*Cuckoo) GetFileInfoByID ¶
func (c *Cuckoo) GetFileInfoByID(id string) (*FilesViewSample, error)
func (*Cuckoo) GetFileInfoByMD5 ¶
func (c *Cuckoo) GetFileInfoByMD5(md5 string) (*FilesViewSample, error)
func (*Cuckoo) TaskReport ¶
func (c *Cuckoo) TaskReport(id int) (*TasksReport, error)
type FilesView ¶
type FilesView struct {
Sample *FilesViewSample `json:"sample"`
}
type FilesViewSample ¶
type Status ¶
type Status struct { Tasks *StatusTasks `json:"tasks"` Diskspace *StatusDiskspace `json:"diskspace"` }
type StatusDiskspace ¶
type StatusDiskspace struct {
Analyses *StatusSamples `json:"analyses"`
}
type StatusSamples ¶
type StatusTasks ¶
type TasksCreateResp ¶
type TasksCreateResp struct {
TaskID int `json:"task_id"`
}
type TasksReport ¶
type TasksReport struct { Info *TasksReportInfo `json:"info"` Signatures []*TasksReportSignature `json;"signatures"` Behavior *TasksReportBehavior `json:"behavior"` }
type TasksReportBehavior ¶
type TasksReportBehavior struct { Processes []*TasksReportBhvPcs `json:"processes"` Summary *TasksReportBhvSummary `json:"summary"` }
type TasksReportBhvPcs ¶
type TasksReportBhvPcs struct { Name string `json:"process_name"` Id int `json:"process_id"` ParentId int `json:"parent_id"` FirstSeen float64 `json:"first_seen"` Calls []*TasksReportBhvPcsCall `json:"calls"` }
type TasksReportBhvPcsCall ¶
type TasksReportBhvPcsCall struct { Category string `json:"category"` Status int `json:"status"` Return string `json:"return"` Timestamp string `json:"timestamp"` ThreadId string `json:"thread_id"` Repeated int `json:"repeated"` Api string `json:"api"` Arguments json.RawMessage `json:"arguments"` Id int `json:"id"` }
type TasksReportBhvSummary ¶
type TasksReportInfo ¶
type TasksReportInfo struct { Started string `json:"started"` Ended string `json:"ended"` Id int `json:"id"` Machine json.RawMessage `json:"machine"` //can be TasksReportInfoMachine OR string }
type TasksReportInfoMachine ¶
type TasksReportInfoMachine struct {
Name string `json:"name"`
}
type TasksReportSignature ¶
type TasksViewResp ¶
type TasksViewResp struct { Message string `json:"message"` Task *TasksViewTask `json:"task"` }
type TasksViewTask ¶
type TasksViewTask struct {
Status string `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.