Skip to content

Unofficial VirusTotal Query Client written by Golang

License

Notifications You must be signed in to change notification settings

er28-0652/vtquery

Repository files navigation

Build Status

vtquery

vtquery is VirusTotal query library that doesn't use official API.

Usage

Query hash and get result from VirusTotal.

hash := "909349d9beeaf08a155bdfc8aadf73d093e545b7"
vt, err := vtquery.NewDefaultClient()
if err != nil {
    log.Fatal(err)
}
result, err := vt.HashQuery(hash)
if err != nil {
    log.Fatal(err)
}
result.ShowReport()