powered by
Uploads a file to VirusTotal for malware analysis using the v3 API.
scan_file(file_path, ...)
A virustotal_file_scan object containing scan submission results with analysis ID and links for tracking the scan progress
virustotal_file_scan
Required; Path to the file to be scanned
Additional arguments passed to virustotal_POST
virustotal_POST
https://docs.virustotal.com/reference/files-scan
set_key for setting the API key, file_report for retrieving scan results
set_key
file_report
if (FALSE) { # Set API key first set_key('your_api_key_here') # Scan a file result <- scan_file(file_path = 'suspicious_file.exe') print(result) }
Run the code above in your browser using DataLab