esn't 2016-05-20 23:11 GMT+02:00 Sebastian Andrzej Siewior <sebast...@breakpoint.cc>: > On 2016-05-20 07:05:11 [+0200], Mathieu Parent wrote: >> Hi, > Hi,
Hi, thanks for your quick answer. >> There is no offline way to test clamav. I need this to ensure c-icap is >> working properly using autopkgtest. >> >> I propose that you include bytecode.cvd in clamav-testfiles. > > bytecode.cvd? You mean that you need a sig database for malware testing? > Becase if you need something to test against the samples provided by > clamav-testfiles then you can use A `hdb' file that contains > > aa15bcf478d165efd2065190eb473bcb:544:ClamAV-Test-File > > For example: > > |$ echo "aa15bcf478d165efd2065190eb473bcb:544:ClamAV-Test-File" > clamav.hdb > |$ $ clamscan -d clamav.hdb /usr/share/clamav-testfiles/clam.exe > |/usr/share/clamav-testfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [...] > Is this what you are looking for? I need this for clamd. I currently do: http://anonscm.debian.org/cgit/collab-maint/c-icap-modules.git/tree/debian/tests/virus-scan?id=846f5eaf67f92edb26775317dd4ad1699c61a681 But this dowork offline. Regards -- Mathieu Parent