scan_file: Submit a file for scanning

Description Usage Arguments Value References See Also Examples

View source: R/scan_file.R

Description

Submit a file for scanning

Usage

1
scan_file(file_path = NULL, ...)

Arguments

file_path

Required; Path to the document

...

Additional arguments passed to virustotal_POST.

Value

data.frame with the following columns: scan_id, sha1, resource, response_code, sha256, permalink, md5, verbose_msg

References

https://www.virustotal.com/en/documentation/public-api/

See Also

set_key for setting the API key

Examples

1
2
3
4
5
6
7
## Not run: 

# Before calling the function, set the API key using set_key('api_key_here')

scan_file(file_path='path_to_suspicious_file')

## End(Not run)

themains/virustotal documentation built on April 11, 2018, 3:22 a.m.