On 04/16/11 16:48, Nathan Gibbs wrote:
> Do you mean something like.
> 
> cat daily.cvd | sigtool -mdb > daily.mdb

That won't work. If you want to use an official db you should you
"sigtool --unpack".

Alternatively you can forge your own custom db. E.g.:
acab@1337ness:/tmp$ echo "this is an example" > scanme
acab@1337ness:/tmp$ sigtool --md5 scanme > sig.hdb
acab@1337ness:/tmp$ clamscan -d sig.hdb scanme
scanme: scanme.UNOFFICIAL FOUND

----------- SCAN SUMMARY -----------
Known viruses: 1
Engine version: devel-clamav-0.97-65-g82c8e33
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.006 sec (0 m 0 s)


> or
>
> Just get a 3rd party DB already.

That would work too.

-aCaB
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to