[clamav-users] Run script on file scanned but no virus found
Reindl Harald
h.reindl at thelounge.net
Thu Nov 2 15:34:21 UTC 2017
Am 02.11.2017 um 16:28 schrieb Chris Johnson:
> PHP checks for the existence for the file with (deleted) in the file
> name, blocks the addition of this file to our records and deletes it.
> Clam AV typically creates this additional file within 0.025 seconds
> when testing with the eicar test file
>
> Is there a way of getting clamd to run a script when a virus is not found?
why in the world don't you use clamdscan with exec() from your
php-script and deal with the return value instead of such constructs
with race conditions?
More information about the clamav-users
mailing list