[clamav-users] Run script on file scanned but no virus found
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Nov 2 18:35:33 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?
>On 2 November 2017 at 15:34, Reindl Harald <h.reindl at thelounge.net> wrote:
>> 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?
On 02.11.17 18:21, Chris Johnson wrote:
>Because it takes too long to launch. Clamd called from php took about
>5 seconds, on access detects the file in under .05seconds
clamd or clamdscan?
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #98652: Operation completed successfully.
More information about the clamav-users
mailing list