This Python script uses the pyClamd
library to scan a specified file for malware using ClamAV antivirus engine. If malware is detected, it displays the details of the malware. Otherwise, it indicates that the file is clean. The user is prompted to enter a filename to scan when running the script.
- Scans a file for malware using ClamAV.
- Reports if the file is clean or infected with malware.
- Logs scan results to a file.
- Command-line interface for easy usage.
- Clone this repository:
git clone https://github.com/Kairos-T/Basic-Malware-Checker
- Navigate to the repository directory:
cd Basic-Malware-Checker
- Run the installation script to install required dependencies:
chmod +x installation.sh
./installation.sh
- Open a terminal or command prompt and navigate to the repository directory.
- Run the script with the path of the desired file to scan:
python MalwareChecker.py <file-to-scan>
Replace <file-to-scan>
with the path to the file you wish to scan.
3. The script will connect to the ClamAV daemon and perform the scan. The scan results will then be displayed in the terminal, indicating if the file is clean or infected with malware.
4. View scan results in the scan.log
file in the repository directory.
Contributions to this repository are welcome. If you encounter any issues or have suggestions for improvements, please create a new issue or submit a pull request.