mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-02 22:54:54 +03:00
Updating to support new clamAV options per #1376 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609683). Thanks @trakons
@@ -3783,7 +3783,7 @@ if ($#ARGV != 0) {
|
|||||||
|
|
||||||
my ($FILE) = shift @ARGV;
|
my ($FILE) = shift @ARGV;
|
||||||
|
|
||||||
$cmd = "$CLAMSCAN --stdout --disable-summary $FILE";
|
$cmd = "$CLAMSCAN --stdout --no-summary $FILE";
|
||||||
$input = `$cmd`;
|
$input = `$cmd`;
|
||||||
$input =~ m/^(.+)/;
|
$input =~ m/^(.+)/;
|
||||||
$error_message = $1;
|
$error_message = $1;
|
||||||
|
|||||||
Reference in New Issue
Block a user