[clamav-users] [EXTERNAL] Re: clamdscan: show clean files?
Schulze, Andreas
andreas.schulze at datev.de
Mon Mar 13 12:20:43 UTC 2023
- Intern -
-----Ursprüngliche Nachricht-----
Von: Andrew C Aitchison <clamav at aitchison.me.uk>
clamdscan --verbose
Hi Andrew,
--verbose does not solve the problem.
Consider this directory with two clean files:
# ls -l /tmp/files/
total 8
-rw-r--r-- 1 root root 452 Mär 13 12:15 clean.md
-rw-r--r-- 1 root root 27 Mär 13 11:53 clean.txt
# clamscan --no-summary --verbose /tmp/files/
Scanning /tmp/files/clean.md
/tmp/files/clean.md: OK
Scanning /tmp/files/clean.txt
/tmp/files/clean.txt: OK
# clamdscan --no-summary --verbose /tmp/files/
/tmp/files: OK
-> clamdscan does only report "all files in the given directory are clean"
Now, let's add EICAR.COM to the play
# ls -l /tmp/files/
total 12
-rw-r--r-- 1 root root 452 Mär 13 12:15 clean.md
-rw-r--r-- 1 root root 27 Mär 13 11:53 clean.txt
-rw-r--r-- 1 root root 69 Mär 13 11:54 EICAR.COM
# clamscan --no-summary --verbose /tmp/files/
Scanning /tmp/files/clean.md
/tmp/files/clean.md: OK
Scanning /tmp/files/EICAR.COM
/tmp/files/EICAR.COM: Eicar-Signature FOUND
Scanning /tmp/files/clean.txt
/tmp/files/clean.txt: OK
# clamdscan --no-summary --verbose /tmp/files/
/tmp/files/EICAR.COM: Eicar-Signature FOUND
-> clamdscan seem to have a fundamental different reporting model.
Maybe the developer could clarify?
Andreas
________________________________
Datenschutz
Informationen zum Umgang mit Ihren personenbezogenen Daten bei DATEV finden Sie unter https://www.datev.de/dsgvo-information
________________________________
DATEV eG
90329 Nürnberg
Telefon: +49 911 319-0
E-Mail: info at datev.de
Internet: https://www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstraße 6 - 14
Registergericht Nürnberg, GenReg Nr. 70
Vorstand
Prof. Dr. Robert Mayr (Vorsitzender)
Prof. Dr. Peter Krug (stellv. Vorsitzender)
Julia Bangerth
Prof. Dr. Christian Bär
Diana Windmeißer
Vorsitzender des Aufsichtsrates: Nicolas Hofmann
More information about the clamav-users
mailing list