Documentation ¶
Index ¶
- Constants
- type API
- func (api *API) DomainDetails(domain string) (string, error)
- func (api *API) DomainsDetails(address []string) (string, error)
- func (api *API) FindOrScan(path, hash string, headers []string, lookup, poll bool) (string, error)
- func (api *API) GetCVEDetails(CVE, property string) (string, error)
- func (api *API) GetCVEs() (string, error)
- func (api *API) GetFalsePositivesFeed(engine string, page int) (string, error)
- func (api *API) GetHashDownloadLink(hash string) (string, error)
- func (api *API) GetHashesFeed(page int) (string, error)
- func (api *API) GetInfectedHashesFeed(fmtType string, page int) (string, error)
- func (api *API) GetSanitizedLink(fileID string) (string, error)
- func (api *API) HashAppinfo(hash string) (string, error)
- func (api *API) HashDetails(hash string) (string, error)
- func (api *API) HashVulnerabilities(hash string, limit, offset int) (string, error)
- func (api *API) HashesDetails(hashes []string) (string, error)
- func (api *API) IPDetails(ip string) (string, error)
- func (api *API) IPsDetails(address []string) (string, error)
- func (api *API) RescanFile(fileID string) (string, error)
- func (api *API) RescanFiles(fileIDs []string) (string, error)
- func (api *API) ResultsByDataID(dataID string) (string, error)
- func (api *API) ScanFile(path string, headers []string, poll bool) (string, error)
- func (api *API) UrlDetails(Url string) (string, error)
- func (api *API) UrlsDetails(address []string) (string, error)
- type ApiError
- type ApikeyStatus
- type RescanReq
- type ScanResp
Constants ¶
const ( LimitFor = "X-RateLimit-For" LimitInterval = "X-RateLimit-Interval" LimitLimit = "X-RateLimit-Limit" LimitRemainingIn = "X-RateLimit-Reset" LimitReset = "X-RateLimit-Reset" LimitUsed = "X-RateLimit-Used" )
URL for API
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API struct containing main details
func (*API) FindOrScan ¶
FindOrScan file by hash
func (*API) GetCVEDetails ¶
GetCVEDetails returns CVE details or products, vendors, hashes for that cve
func (*API) GetFalsePositivesFeed ¶
GetFalsePositivesFeed gets newly discovered files which are considered possible false positives. An infected scan result is considered to be false positive if 2 or less engines detected the file as being infected. The feed is updated on a daily basis and contains files that are detected in the previous day. This feed contains data about all engines.
func (*API) GetHashDownloadLink ¶
GetHashDownloadLink Retrieve the download link for a specific file. Any of the md5, sha1 and sha256 hashes can be used for downloading the file. This endpoint must be called for each file.
func (*API) GetHashesFeed ¶
GetHashesFeed gets newly discovered hashes
func (*API) GetInfectedHashesFeed ¶
GetInfectedHashesFeed gets newly discovered malicious hashes. The feed is updated on a daily basis and contains files that are detected as being malicious in the previous day by at least 3 engines.
func (*API) GetSanitizedLink ¶
GetSanitizedLink Retrieve the download link for a sanitized file
func (*API) HashAppinfo ¶
HashAppinfo by file_id
func (*API) HashDetails ¶
HashDetails by file_id
func (*API) HashVulnerabilities ¶
HashVulnerabilities by hash
func (*API) HashesDetails ¶
HashesDetails by file_ids
func (*API) IPsDetails ¶
IPsDetails by file_ids
func (*API) RescanFile ¶
RescanFile by file_id
func (*API) RescanFiles ¶
RescanFiles by file_ids
func (*API) ResultsByDataID ¶
ResultsByDataID by data_id