I have just encountered a problem:
clamscan --unrar
works good only if archive has extension .rar
This behavior was found on Debian sarge and on SUSE9.0:
here follows some example:

$ clamscan --unrar clam-error.rar
/home/lel/tmp/clam-error.rar: RAR module failure

UNRAR 3.30 freeware      Copyright (c) 1993-2004 Eugene Roshal


Extracting from /home/lel/tmp/clam-error.rar

Extracting  clam.exe                                                  OK
All OK
/tmp/clamav-ff80a84a8d55f11d/clam.exe: ClamAV-Test-File FOUND
/home/lel/tmp/clam-error.rar: Infected Archive FOUND

----------- SCAN SUMMARY -----------
Known viruses: 31812
Scanned directories: 1
Scanned files: 2
Infected files: 1
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.749 sec (0 m 0 s)

Everything OK sofar.
Let's rename file:
$ mv clam-error.rar 999

What we can get now:
$ clamscan --unrar 999
/home/lel/tmp/999: RAR module failure

----------- SCAN SUMMARY -----------
Known viruses: 31812
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.764 sec (0 m 0 s)

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to