From 1c0e198a1d31324e6edd6091f7e9847af21f61a5 Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Wed, 5 Jun 2024 01:42:51 +0000 Subject: [PATCH] Update sneedscan.sh --- sneedscan.sh | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/sneedscan.sh b/sneedscan.sh index 3d28d6d..1abeb2b 100644 --- a/sneedscan.sh +++ b/sneedscan.sh @@ -1,5 +1,7 @@ echo SneedScan - a Sneed Group Tool. sudo freshclam + +echo Scanning home folders.... sudo clamscan -r -i --scan-pe=yes \ --scan-elf=yes \ --scan-ole2=yes \ @@ -12,5 +14,36 @@ sudo clamscan -r -i --scan-pe=yes \ --alert-macros=yes \ --max-files=10000 \ --max-recursion=12 \ ---max-dir-recursion=420 \ ---remove / +--max-dir-recursion=10 \ +--remove /home + + +echo Scanning user binaries.... +--scan-elf=yes \ +--scan-ole2=yes \ +--scan-pdf=yes \ +--scan-xmldocs=yes \ +--scan-archive=no \ +--scan-swf=no \ +--scan-html=no \ +--scan-hwp3=no \ +--alert-macros=yes \ +--max-files=10000 \ +--max-recursion=12 \ +--max-dir-recursion=3 \ +--remove /usr/bin + +echo Scanning system binaries. +--scan-elf=yes \ +--scan-ole2=yes \ +--scan-pdf=yes \ +--scan-xmldocs=yes \ +--scan-archive=no \ +--scan-swf=no \ +--scan-html=no \ +--scan-hwp3=no \ +--alert-macros=yes \ +--max-files=10000 \ +--max-recursion=12 \ +--max-dir-recursion=3 \ +--remove /bin