Scan malware to dir / file using Python and VirusTotal.
- Python
- Internet connection
- pip install os, hashlib, requests, json
- python scan.py (run the program with python.)
- Enter dir to scan.
- Enter file extensions you want to scan (press f to scan all or when u done entering ext).
- Wait until scanning process complete. Result will appear when scanning process complete.
- If malware detected, you can delete it by enter 'y'. Enter 'n' if you dont want to delete the malware.
- This program will read the sha256 hash value of the file you want to scan.
- Then, this program will compare the hash of the scanned file with the hash in VirusTotal.
- This program can detect all viruses that are already in the VirusTotal database.
- This program does not require a VirusTotal API key. You can use it directly.