This Python project automates the detection of new files in the specified folders, leveraging VirusTotal's V3 API to check for potential viruses. When a new file is detected and a virus is found, a pop-up window displays the file name, the number of detections out of the total number of scanners, and provides options to either delete the file or leave it.
- Monitors the selected folders for new files.
- Utilizes VirusTotal's V3 API for virus scanning.
- Presents a pop-up window upon virus detection, showing file information.
- Allows users to choose whether to delete or keep the infected file.
- Clone the repository to your local machine:
git clone https://github.com/JaggedGem/virus-total-antivirus.git
cd virus-total-antivirus
- Install the required dependencies:
pip install -r requirements.txt
- Run the Python script:
python linker.py
-
The program will automatically monitor the folders specified in the
config.json
file for new files and perform virus scans using the VirusTotal API. -
If a virus is detected, a pop-up window will display the file name, number of detections, and options to delete or leave the file.
-
Improve File Handling:
- Enhance file handling for various file types.
- Implement file size restrictions and error handling for large files.
-
Implement GUI for User Interaction:
- Create a graphical user interface (GUI) for better user interaction.
- Allow users to easily input file paths and view scan results.
-
Refactor Code for Modularity:
- Refactor the code to improve modularity and reusability.
- Split functions into separate modules for better organization.
-
Optimize API Requests:
- Optimize API requests for faster scanning.
- Implement batch processing for multiple files.
-
Improve Error Handling:
- Enhance error handling and provide clearer error messages for users.
-
Expand Documentation:
- Expand the README with clearer installation instructions.
- Add a comprehensive guide to configuring the
config.json
file.
-
Implement Logging:
- Include logging functionality for better tracking and debugging.
-
Support for Additional Platforms:
- Ensure compatibility and testing across different operating systems (Windows, macOS, Linux).
-
Enhance Security Measures:
- Implement additional security measures and validation checks.
- The
config.json
file should contain your VirusTotal API Key and the paths you want the script to watch for new files. Here is an example of how theconfig.json
file should look:
{
"api_key": "your_virustotal_api_key",
"watch_paths": ["path1", "path2", ...],
"log_level": "INFO"
}
Replace "your_virustotal_api_key"
with your actual VirusTotal API key, "path1", "path2", ...
with the paths you want the script to watch for new files, and "log_level"
with your desired log level (DEBUG, INFO, WARNING, ERROR, CRITICAL).
Replace "your_virustotal_api_key"
with your actual VirusTotal API key and "path1", "path2", ...
with the paths you want the script to watch for new files.
- Run the Python script:
python watcher.py
-
The program will automatically monitor the specified folders for new files and perform virus scans using the VirusTotal API.
-
If a virus is detected, a pop-up window will display the file name, number of detections, and options to delete or leave the file.
- Put the paths you want the script to watch for new files and put your VirusTotal API Key in the
config.json
file.
Contributions are welcome! If you'd like to contribute to this project, please follow the contributing guidelines.
This project is licensed under the MIT License.