powered by
Download a file from VirusTotal
download_file(hash = NULL, output_path = NULL, ...)
Raw file content or saves file to specified path
File hash (MD5, SHA1, or SHA256)
Local path to save the downloaded file. Optional.
Additional arguments passed to virustotal_GET.
virustotal_GET
https://docs.virustotal.com/reference
set_key for setting the API key
set_key
if (FALSE) { # Before calling the function, set the API key using set_key('api_key_here') download_file(hash='99017f6eebbac24f351415dd410d522d', output_path='/tmp/downloaded_file') }
Run the code above in your browser using DataLab