Add files via upload
This commit is contained in:
parent
2baff13ee5
commit
1ca0741aea
3 changed files with 23 additions and 0 deletions
6
clamscan-automate.sh
Normal file
6
clamscan-automate.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
sudo cp clamscan.sh /usr/bin
|
||||
sudo crontab -l > scancron
|
||||
sudo echo "0 */6 * * * clamscan.sh &" >> scancron
|
||||
sudo crontab scancron
|
||||
sudo rm scancron
|
||||
echo "Done! ClamScan will now run every 6 hours. :-)"
|
1
clamscan-depends-ubuntu.sh
Normal file
1
clamscan-depends-ubuntu.sh
Normal file
|
@ -0,0 +1 @@
|
|||
sudo apt install clamav clamav-freshclam
|
16
clamscan.sh
Normal file
16
clamscan.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
echo ClamScan - a Sneed Group Tool.
|
||||
sudo freshclam
|
||||
sudo clamscan -r -i --remove / --scan-pe=yes \
|
||||
--scan-elf=yes \
|
||||
--scan ole2=yes \
|
||||
--scan-pdf=yes \
|
||||
--scan-xmldocs=yes \
|
||||
--scan-archive=yes \
|
||||
--scan-swf=no \
|
||||
--scan-html=no \
|
||||
--scan-hwp3=no \
|
||||
--alert-encrypted-archive=yes \
|
||||
--alert-macros=yes \
|
||||
--max-files=10000 \
|
||||
--max-recursion=12 \
|
||||
-max-dir-recursion=420
|
Loading…
Reference in a new issue