On Fri, 25 Jun 2004 00:45:41 +0200
[EMAIL PROTECTED] wrote:

> 
> Do you know why this happens?
> Thanks.
> 
> 
> [EMAIL PROTECTED] ~/downloads $ cat message.scr | clamscan -
> stdin: Worm.SomeFool.P FOUND

[...]

> [EMAIL PROTECTED] ~/downloads $ zip message.zip message.scr 
>   adding: message.scr (deflated 4%)
> [EMAIL PROTECTED] ~/downloads $ cat message.zip | clamscan -
> stdin: OK

In contrast to clamdscan/clamd, clamscan doesn't save the data passed on
stdin to a temporary file but scans the raw stream and because seeking
is not available in this mode it can't detect file types and decompress
archives.

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Fri Jun 25 12:20:18 CEST 2004


Attachment: pgplgwCjZHAiL.pgp
Description: PGP signature

Reply via email to