Skip to content

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.

License

Notifications You must be signed in to change notification settings

Kairos-T/Malware-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Malware-Scanner

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.

Features:

  • 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.

Installation:

  1. Clone this repository:
git clone https://github.com/Kairos-T/Basic-Malware-Checker
  1. Navigate to the repository directory:
cd Basic-Malware-Checker
  1. Run the installation script to install required dependencies:
chmod +x installation.sh
./installation.sh

Usage:

  1. Open a terminal or command prompt and navigate to the repository directory.
  2. 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.

Output:

image image

Contributing

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published