Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/williballenthin/govt
govt
is a go module to use the API of VirusTotal.com.
Resource | Description | VT API | govt support |
---|---|---|---|
POST /vtapi/v2/file/scan | Upload a file for scanning with VirusTotal. | public | true |
GET /vtapi/v2/file/scan/upload_url | Get a special URL to upload files bigger than 32MB in size. | private | false |
POST /vtapi/v2/file/rescan | Rescan a previously submitted file or schedule a scan to be performed in the future. | public | true |
POST /vtapi/v2/file/rescan/delete | Delete a previously scheduled scan. | private | false |
GET /vtapi/v2/file/report | Get the scan results for a file. | public | true |
GET /vtapi/v2/file/behaviour | Get a report about the behaviour of the file when executed in a sandboxed environment. | private | true |
GET /vtapi/v2/file/network-traffic | Get a dump of the network traffic generated by the file when executed. | private | true |
GET /vtapi/v2/file/search | Search for samples that match certain binary/metadata/detection criteria. | private | true |
GET /vtapi/v2/file/clusters | List file similarity clusters for a given time frame. | private | false |
GET /vtapi/v2/file/distribution | Get a live feed with the lastest files submitted to VirusTotal. | private | true |
GET /vtapi/v2/file/download | Download a file by its hash. | private | true |
GET /vtapi/v2/file/false-positives | Consume file false positives from your notifications pipe. | private | false |
POST /vtapi/v2/url/scan | Submmit a URL for scanning with VirusTotal. | public | true |
GET /vtapi/v2/url/report | Get the scan results for a given URL. | public | true |
GET /vtapi/v2/url/distribution | Get a live feed with the lastest URLs submitted to VirusTotal. | private | false |
GET /vtapi/v2/ip-address/report | Get information about a given IP address. | public | true |
GET /vtapi/v2/domain/report | Get information about a given domain. | public | true |
POST /vtapi/v2/comments/put | Post a comment on a file or URL. | public | true |
GET /vtapi/v2/comments/get | Get comments for a file or URL. | private | true |
false
in the govt support
column.If you have a go workplace setup and working you can simply do:
go get github.com/williballenthin/govt
go install github.com/williballenthin/govt
In order how to use the govt
module please have a look at the SampleClients
directory and it's content.
You need to have an VirusTotal API Key. You can register for an account at VirusTotal in order to get an public API key. There are also private API keys available, for those you have to be accepted by VirusTotal and you need to pay for. Depending on your API Key and the access level granted you can use all of the above functions, all but the ones reserved for AV companies, or just the public ones (if you have a free publich API key).
Check out the README.md file in the SampleClients
directory to find out how to set-up your API key in order to use the provided Example programs.
govt
was initially written by Willi Ballenthin
. Later improved and new features added by Christopher 'tankbusta' Schmitt
and Florian 'scusi' Walther
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.