This service provides a REST API for ClamAV
The max file size is configurable (10 Mb default)
This requires ClamAV to be installed
For Macs
brew install clamav
You can find a slightly longer explaination here
You will also need to add the following alias to your /etc/hosts
127.0.0.1 avscan
This repository includes the EICAR standard antivirus test file. To prevent this file from being deleted you'll need to exclude this repo's target
and test/resources
directories from AV scanning. In Sophos Anti-Virus this is done as shown in the screenshot:
This code is open source software licensed under the Apache 2.0 License.