VirusTotal API Library for Rust
Switch branches/tags
Nothing to show
Clone or download
Latest commit a4c2f0c Apr 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add some fields to IpAddressReportResponse Apr 17, 2018
.gitignore add gitignore Feb 21, 2018
.travis.yml update README.md and .travis.yml Apr 7, 2018
CHANGELOG.md add CHANGELOG.md and close #13 Apr 13, 2018
Cargo.toml update version Apr 12, 2018
LICENSE.txt done url scan and report Feb 21, 2018
README.md Add link to README.md Apr 21, 2018

README.md

VirusTotal.rs

Build Status MIT License Crates

Library for VirusTotal API

Implemented Features

Resource Description Permission
GET /vtapi/v2/file/report Retrieve file scan reports public
POST /vtapi/v2/file/scan Upload and scan a file public
POST /vtapi/v2/file/rescan Rescanning already submitted files public
GET /vtapi/v2/url/report Retrieve URL scan reports public
POST /vtapi/v2/url/scan Scan an URL public
POST /vtapi/v2/comments/put Make comments on files and URLs public
GET /vtapi/v2/domain/report Retrieves a domain report public
GET /vtapi/v2/ip-address/report Retrieve an IP address report public

Example

extern crate virustotal;

use virustotal::*;

fn main() {

    let api = "Your API KEY";
    let url = "The URL you want to check";
    let res = url::scan(api, url);
    println!("{:?}", url::report(api, &res.scan_id.unwrap()));
    
}

Acknowledgements