On 18. jun. 2014 20.51.50 CEST, Steve Basford
wrote:
>Hi All,
>
>I'm playing with .cud file creation from a couple of files...
>
>testdb folder
>
>COPYING
>testdb.hdb
>testdb.ndb
>
>
>set SIGNDUSER=me
>sigtool --datadir=testdb --build=testdb.cud --unsigned --cvd-version 1
Change --datadir to .
It must imho be issued in the datadir else it will include subdirs into the cud
file, with is invalid
Please confirm its working if using --datadir=. But fails its subdir
>
>WARNING: build: Signatures in testdb db files: 2674, loaded by
>libclamav:
>5348
>Total sigs: 5348
>New sigs: 5271
>Created testdb.cud
>
>I can see testdb.cud and testdb.info...
>
>but...
>
>clamscan --database=testdb.cud
>LibClamAV Error: cli_cvdload: Corrupted CVD header
>LibClamAV Error: Can't load testdb.cud: Malformed database
>LibClamAV Error: cli_loaddbdir(): error loading database testdb.cud
>ERROR: Malformed database
>
>
>Has anyone who has got this working, do a quick how-to?
Sigtool is also unable to unpack it
Did you test with 0.98.4 or 0.98.3 ?
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml