Skip to content

Instantly share code, notes, and snippets.

@cmlh
Created January 10, 2017 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmlh/33fc3d28f645dc3dabe13c0ed6a6a873 to your computer and use it in GitHub Desktop.
Save cmlh/33fc3d28f645dc3dabe13c0ed6a6a873 to your computer and use it in GitHub Desktop.
HTTPie Commands for VirusTotal API v2.0
These https://httpie.org/ commands are applicable to both [Public and Private] API of VirusTotal. However, only the &allinfo=1 parameter is applicable to the VirusTotal Private API v2.
File Report
http "https://www.virustotal.com/vtapi/v2/file/report?apikey=-YOUR API KEY HERE-&resource=7657fcb7d772448a6d8504e4b20168b8"
URL Report
http POST "https://www.virustotal.com/vtapi/v2/url/report?apikey=-YOUR API KEY HERE-&resource=http://www.virustotal.com?scan=1&allinfo=1"
IP Address Report
http "https://www.virustotal.com/vtapi/v2/ip-address/report?apikey=-YOUR API KEY HERE-&ip=90.156.201.27"
Domain Report
http "https://www.virustotal.com/vtapi/v2/domain/report?apikey=-YOUR API KEY HERE-&domain=027.ru"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment