Skip to content

Automatically scan your linux home directory when you download something new.

License

Notifications You must be signed in to change notification settings

AspieSoft/linux-clamav-download-scanner

Repository files navigation

Linux ClamAV Download Scanner

donation link

note: this module is currently in beta

Automatically scan your linux home directory when you download something new.

By default, this module only scans common directories (Downloads, Desktop, etc.) and searches for extension directories like your chrome extensions. I may add additional directories in future updates. Currently, this module only uses the active users home directory, and does not touch the root directory.

Installation

note: It is recommended you install the go programing language before installing this script, for improved compatibility.

git clone https://github.com/AspieSoft/linux-clamav-download-scanner.git
sudo ./linux-clamav-download-scanner/install.sh
rm -rf ./linux-clamav-download-scanner

Config

add directories for to auto scan on downloads / new or modified files

nano ~/.aspiesoft-clamav-auto-scan
# or
nano ~/.clamav-auto-scan

# list files without the /home/username/
Downloads
.config

To add default directories for all users

nano /usr/share/config/aspiesoft-clamav-auto-scan
# or
nano /usr/share/config/clamav-auto-scan

# list files without the /home/username/
Downloads
.config

Uninstall

sudo /etc/aspiesoft-clamav-scanner/uninstall.sh