* aCaB wrote: > 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 > Thanks, I finally got it working. Just had to read the fine "Creating signatures for ClamAV" manual that came with the source, which I didn't know was there. :-) At least, I don't remember it being there in 2006 or 2007 when I started using clamav.
The capabilities of libclamav are definitely impressive. -- Sincerely, Nathan Gibbs Systems Administrator Christ Media http://www.cmpublishers.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml