Thank you for your reply.

The suggested solution doesn't solve the problem as I am trying to
communicate with clamav-daemon which (as far as I can tell) checks for
the cvd databases and doesn't take a database argument. Any other
suggestions?

Kind regards,
Wojciech Michalak

On 04.07.2012 12:00, clamav-users-requ...@lists.clamav.net wrote:
> Message: 1
> Date: Tue, 3 Jul 2012 10:34:44 -0400
> From: Matt Olney <mol...@sourcefire.com>
> Subject: Re: [clamav-users] Clam virus database for test purposes
> To: ClamAV users ML <clamav-users@lists.clamav.net>
> Message-ID:
>       <CAN+QiX-CPEuZuzruJQnN0teQ38+Us6wz_+8f=pr9_qeoump...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> You can create a file called test.ndb and add the following lines to it:
>
> Eicar-Test-Signature:0:0:58354f2150254041505b345c505a58353428505e2937434329377d2445494341522d5354414e444152442d414e544956495255532d544553542d46494c452124482b482a
> Eicar-Test-Signature-1:0:*:574456504956416c51454651577a5263554670594e54516f554634704e304e444b5464394a45564a513046534c564e555155354551564a454c55464f56456c5753564a565579315552564e550a4c555a4a544555684a45677253436f3d0a
>
> Then run clamscan against that database file:
>
> kpyke@vrt-dev-01:~$ clamscan --database=./test.ndb eicar.com
>
> eicar.com: Eicar-Test-Signature.UNOFFICIAL FOUND
>
> ----------- SCAN SUMMARY -----------
> Known viruses: 2
> Engine version: 0.97.4
> 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.007 sec (0 m 0 s)
>
> Let me know if that doesn't answer your question.
>
> Matt
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to