Learn R Programming

virustotal (version 0.3.0)

scan_file: Submit a file for scanning

Description

Submit a file for scanning

Usage

scan_file(file_path = NULL, ...)

Value

data.frame with the following columns: type, id, links

Arguments

file_path

Required; Path to the document

...

Additional arguments passed to virustotal_POST.

References

https://docs.virustotal.com/reference

See Also

set_key for setting the API key

Examples

Run this code
if (FALSE) {

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

scan_file(file_path='path_to_suspicious_file')
}

Run the code above in your browser using DataLab