arethesebad icon indicating copy to clipboard operation
arethesebad copied to clipboard

Python script to check the hashes of files in a directory against virustotal.com

Are These Bad?

Are These Bad? is a python script that will automatically lookup all files contained in a directory on virustotal.com. I wrote this to quickly check portable media on my rasbperry pi for known viruses.

Usage

python arethesebad.py ../Directory/To/Scan

python arethesebad.py /media/usb/

Notes

You will need an API Key from Virustotal.com for this script to work: https://www.virustotal.com/en/documentation/public-api/

For ease of use past key into API_KEY ='' on Line11.

#Important Notice I dont know what I am doing. This will likely break your system.