Re: Clamscan signature scan report

"Joel Esler (jesler)" <[email protected]> Sat, 27 Jun 2020 18:36:00 +0000
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <[email protected]>
Looks into xargs or a for loop?

> On Jun 27, 2020, at 2:28 PM, Vijay Naidu <[email protected]> wrote:
> 
> Hello ClamAV developers,
> 
> I occasionally use clamscan to perform signature matching. It's a great tool to test the unofficial signatures. However, I only get a report at the end of the cumulative/collated signatures. Is there a way to get a report of individual signature instead of cumulative. Currently, I only use one signature per database in .ndb format to test the performance of that signature. Is there a way where we can get an individual report by placing all the signatures in a single database? The current script that I use is as follows:
> "/ClamAV/bin/./clamscan" -d "/Clam/Individual_sigs/Sig1.ndb" -l "/Clam/sigs_1/sig1_report.txt"
> "/ClamAV/bin/./clamscan" -d "/Clam/Individual_sigs/Sig2.ndb" -l "/Clam/sigs_2/sig2_report.txt"
> "/ClamAV/bin/./clamscan" -d "/Clam/Individual_sigs/Sig3.ndb" -l "/Clam/sigs_3/sig3_report.txt"
> "/ClamAV/bin/./clamscan" -d "/Clam/Individual_sigs/Sig4.ndb" -l "/Clam/sigs_4/sig4_report.txt"
> And so on...
> 
> I have around 200k signatures to test and can take a long time to finish.
> 
> Any help would be highly appreciated. Happy to test the beta version if needed.
> 
> Many thanks,
> Vijay
> _______________________________________________
> 
> clamav-devel mailing list
> [email protected]
> https://lists.clamav.net/mailman/listinfo/clamav-devel
> 
> Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-devel mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
smime.p7s (application/pkcs7-signature, 2.9 KB) - not displayed