On Fri, Jun 25, 2004 at 09:09:43AM +0100, Nigel Horne wrote:
> You haven't used the --mbox option when running
> Does it work if you try "cat message.zip | clamscan --mbox -"
> 
> [ Aside  - the cat command is a waste here, it would be better
> to do clamscan --mbox - < message.zip ]
> 
> -Nigel


Nothing is changed.
Also, --mbox does not recognize the unzipped file as infected

Thanks, Luca


[EMAIL PROTECTED] ~/downloads $ cat message.zip | clamscan --mbox -
/tmp/clamav-00b34340b4f0f9de/textportionUnguoR: OK

----------- SCAN SUMMARY -----------
Known viruses: 22079
Scanned directories: 1
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.352 sec (0 m 0 s)
[EMAIL PROTECTED] ~/downloads $ clamscan --mbox - < message.zip    
/tmp/clamav-b1d1f55177dd9d42/textportionGHfFLV: OK

----------- SCAN SUMMARY -----------
Known viruses: 22079
Scanned directories: 1
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.352 sec (0 m 0 s)
[EMAIL PROTECTED] ~/downloads $ 

[EMAIL PROTECTED] ~/downloads $ clamscan  - < message.scr
stdin: Worm.SomeFool.P FOUND

----------- SCAN SUMMARY -----------
Known viruses: 22079
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.03 MB
I/O buffer size: 131072 bytes
Time: 0.362 sec (0 m 0 s)
[EMAIL PROTECTED] ~/downloads $ clamscan --mbox - < message.scr
/tmp/clamav-0bb882871d079666/textportionLwTuTH: OK

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to