Learn R Programming

virustotal (version 0.3.0)

post_file_comments: Add a comment to a file

Description

Add a comment to a file

Usage

post_file_comments(hash = NULL, comment = NULL, ...)

Value

list containing response data

Arguments

hash

File hash (MD5, SHA1, or SHA256)

comment

Comment text to add

...

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')

post_file_comments(hash='99017f6eebbac24f351415dd410d522d', 
                   comment='This file appears to be suspicious')
}

Run the code above in your browser using DataLab