Request a new analysis of a file already present in VirusTotal's database. Returns an analysis ID that can be used to retrieve the report using file_report.

rescan_file(hash = NULL, ...)

Arguments

hash

File hash (MD5, SHA1, or SHA256) or file ID. String. Required.

...

Additional arguments passed to virustotal_POST.

Value

list containing analysis details and ID

See also

set_key for setting the API key

Examples

if (FALSE) { # \dontrun{

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

rescan_file(hash='99017f6eebbac24f351415dd410d522d')
} # }