Exec Guardian
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
execguard/vscan_bins.sh

9 lines
334 B

#!/bin/bash
# sudo apt purge clamav clamav-daemon clamav-freshclam
sudo service execgaurd stop
if [ ! -x /usr/bin/clamscan ]; then
sudo apt install clamav clamav-daemon clamav-freshclam
sudo freshclam
fi
sudo sqlite3 /etc/execguard/system.db "SELECT path FROM allowed;" > migrated_apps.txt
clamscan -v --file-list=migrated_apps.txt