From b4a271f9559e418180c3e11247353279c05d71b5 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 16 Feb 2022 19:05:32 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20config/e2gu?= =?UTF-8?q?ardian/contentscanners/commandlinescan.conf=20=F0=9F=97=83?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contentscanners/commandlinescan.conf | 39 ++----------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/config/e2guardian/contentscanners/commandlinescan.conf b/config/e2guardian/contentscanners/commandlinescan.conf index 9822d99..1dd5f85 100644 --- a/config/e2guardian/contentscanners/commandlinescan.conf +++ b/config/e2guardian/contentscanners/commandlinescan.conf @@ -1,45 +1,14 @@ plugname = 'commandlinescan' -# Program to run & initial arguments - filename for scanning will be appended -#progname = /path/to/scanner - -# At least one of the following three options must be defined! -# They are checked in the following order, with the first match determining -# the scan result: -# virusregexp - regular expression for extracting virus names from -# the scanner's output -# cleancodes - program return code(s), as a comma-separated list, for -# uninfected files -# infectedcodes - program return code(s), as a comma-separated list, for -# infected files - -#virusregexp = (someregexp) - -# Which submatch of the above contains the virus name? (0 = all matched text) -#submatch = 1 - -# cleancodes = 0 -# infectedcodes = 1,2,3 - -# Default result when none of the other options triggers a match -# Valid values are "infected" and "clean" -#defaultresult = infected - - - -# -# Example configuration for clamdscan -# - ## Path to binary -#progname = '/usr/bin/clamdscan' +progname = '/usr/bin/clamdscan' ## Program returns 0 for clean files (for an easy out) -#cleancodes = 0 +cleancodes = 0 ## Regular expression for virus names -#virusregexp = : ([ -/a-zA-Z0-9\.]+) FOUND -#submatch = 1 +virusregexp = : ([ -/a-zA-Z0-9\.]+) FOUND +submatch = 1 ## Default scan result when the above don't match #defaultresult = infected