Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/er28-0652/vtquery

Unofficial VirusTotal Query Client written by Golang
https://github.com/er28-0652/vtquery

golang virustotal

Last synced: 5 days ago
JSON representation

Unofficial VirusTotal Query Client written by Golang

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/er28-0652/vtquery.svg?branch=master)](https://travis-ci.org/er28-0652/vtquery)

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

## Usage
Query hash and get result from VirusTotal.
```go
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()
```