Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Type string `json:"type,omitempty"`
MD5 string `json:"md5,omitempty"`
SHA1 string `json:"sha1,omitempty"`
SHA256 string `json:"sha256,omitempty"`
SHA512 string `json:"sha512,omitempty"`
SSDeep string `json:"ssdeep,omitempty"`
Crc32 string `json:"crc32,omitempty"`
Size int64 `json:"size,omitempty"`
Tags map[string]any `json:"tags,omitempty"`
Magic string `json:"magic,omitempty"`
Exif map[string]string `json:"exif,omitempty"`
TriD []string `json:"trid,omitempty"`
Packer []string `json:"packer,omitempty"`
FirstSeen int64 `json:"first_seen,omitempty"`
LastScanned int64 `json:"last_scanned,omitempty"`
Submissions []Submission `json:"submissions,omitempty"`
Strings any `json:"strings,omitempty"`
MultiAV map[string]any `json:"multiav,omitempty"`
PE any `json:"pe,omitempty"`
Histogram []int `json:"histogram,omitempty"`
ByteEntropy []int `json:"byte_entropy,omitempty"`
Ml map[string]any `json:"ml,omitempty"`
CommentsCount *int `json:"comments_count,omitempty"`
Format string `json:"file_format,omitempty"`
Extension string `json:"file_extension,omitempty"`
BehaviorReportID string `json:"behavior_report_id,omitempty"`
Status int `json:"status,omitempty"`
Classification string `json:"classification,omitempty"`
IsArchive bool `json:"is_archive,omitempty"`
ArchiveFiles []string `json:"archive_files,omitempty"`
ArchiveSHA256 string `json:"archive_sha256,omitempty"`
}
File represent a sample
type Submission ¶
type Submission struct {
Timestamp int64 `json:"timestamp,omitempty"`
Filename string `json:"filename,omitempty"`
Source string `json:"src,omitempty"`
Country string `json:"country,omitempty"`
}
Submission represents a file submission.
type User ¶
type User struct {
Type string `json:"type"`
Email string `json:"email,omitempty"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
FullName string `json:"name"`
Location string `json:"location"`
URL string `json:"url"`
Bio string `json:"bio"`
Confirmed bool `json:"confirmed"`
MemberSince int64 `json:"member_since"`
LastSeen int64 `json:"last_seen"`
Admin bool `json:"admin"`
HasAvatar bool `json:"has_avatar"`
Following []string `json:"following"`
FollowingCount int `json:"following_count"`
Followers []string `json:"followers"`
FollowersCount int `json:"followers_count"`
Likes []string `json:"likes"`
LikesCount int `json:"likes_count"`
SubmissionsCount int `json:"submissions_count"`
CommentsCount int `json:"comments_count"`
}
User represent a user.
Click to show internal directories.
Click to hide internal directories.