diff options
author | Mavridis Philippe <[email protected]> | 2021-02-07 22:38:49 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-02-07 22:38:49 +0200 |
commit | 8628f7a34a41306e81eb37952d5b268d3e111d44 (patch) | |
tree | f993b8bae756e1d6b8759c1c459f6e0488956791 /src/scanviewer.cpp | |
parent | 9976c0cfc6516af25dd26ccba03e389781431825 (diff) | |
download | klamav-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 <[email protected]>
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r-- | src/scanviewer.cpp | 15 |
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 "; |