summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-02-07 22:38:49 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-02-07 22:38:49 +0200
commit8628f7a34a41306e81eb37952d5b268d3e111d44 (patch)
treef993b8bae756e1d6b8759c1c459f6e0488956791 /src/scanviewer.cpp
parent9976c0cfc6516af25dd26ccba03e389781431825 (diff)
downloadklamav-8628f7a34a41306e81eb37952d5b268d3e111d44.tar.gz
klamav-8628f7a34a41306e81eb37952d5b268d3e111d44.zip
Added more scanning options to Special File Types section.
This relates to issue #15. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp
index 7322524..83228c4 100644
--- a/src/scanviewer.cpp
+++ b/src/scanviewer.cpp
@@ -436,6 +436,21 @@ void ScanViewer::slotScan(const TQStringList & filepattern, int mode, bool recur
if (!(KlamavConfig::scanMacros()))
options += "--scan-ole2=no ";
+ if(!(KlamavConfig::scanELF()))
+ options += "--scan-elf=no ";
+
+ if(!(KlamavConfig::scanPDF()))
+ options += "--scan-pdf=no ";
+
+ if(!(KlamavConfig::scanHWP3()))
+ options += "--scan-hwp3=no ";
+
+ if(!(KlamavConfig::scanSWF()))
+ options += "--scan-pdf=no ";
+
+ if(!(KlamavConfig::scanXML()))
+ options += "--scan-xmldocs=no ";
+
if (KlamavConfig::virusBroken())
options += "--alert-broken ";