I'm slowly building a virus scanner for use with my MTA. I'd prefer to
avoid juggling temp files, and want to send things to clamscan via
stdin. But, clamscan doesn't detect things when passed via stdin.

using clamscan 0.73 as downloaded today, and the test virus files on
fedora: (0 is clean, 1 is infected)

        clamscan     clamscan(stdin)    clamdscan   clamdscan(stdin)
README:    0            0                   0           0
test:      1            1                   1           1
test.bz2:  1            0                   1           1
test.cab:  0            0                   0           0
test.msc:  1            0                   1           1
test.rar:  1            0                   0           0
test.zip:  1            0                   1           1
test-zip-noext: 1       0                   1           1

all test cases were called with only --quiet and --disable-summary

Anyone know what's up with clamscan and stdin?

seph


-------------------------------------------------------
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