Re: [clamav-users] Scanning result in socket connection for each file under a folder?

2023-01-10 Thread Micah Snyder (micasnyd) via clamav-users
I don't think it's possible unless you send each file to be scanned instead of scanning the directory. clamd only sends back FOUND for files, or else OK for the directory. Micah Snyder ClamAV Development Talos Cisco Systems, Inc. From: clamav-users on behalf

Re: [clamav-users] Scanning result in socket connection for each file under a folder?

2023-01-10 Thread Jorge Elissalde via clamav-users
Hi, I'm trying to avoid log reading. What I wish to have is the scanning status sent back for every scanned file using the clamd socket connection; the same socket I've used to send the SCAN [folder] command. Thanks Jorge El mar, 10 ene 2023 a las 15:14, newcomer01 via clamav-users (<

Re: [clamav-users] Scanning result in socket connection for each file under a folder?

2023-01-10 Thread newcomer01 via clamav-users
you can do tis on a similar way: #!/bin/sh # # @(#)maillog_report_clamav_matches 2022-11-25 Sylvain Robitaille # # report on which clamav signatures have matched, and how many times # each have matched from the latest maillog file (or the file(s) named #

[clamav-users] Scanning result in socket connection for each file under a folder?

2023-01-10 Thread Jorge Elissalde via clamav-users
Hi, When I scan a folder using socket connection to clamd (SCAN [folder]) I don't get an individual result for each file in the connection. For example, if I send to scan the folder c:\testme, I will get (if everything goes ok) only the line: c:\testme: OK Individual files scanned and result are