php-clamav
php-clamav copied to clipboard
ClamAV network and pipe client for PHP
## What does this PR do? Do not send the last empty string through the socket for files of less than 8192 bytes. This avoid detection errors for eicar files....
This PR introduces support for DSN connection strings to simplify the configuration process. Users can now use a single string to determine the type of connection (`Network` or `Pipe`) and...
Hello, I have changed the link that had HTTP to HTTPS. Thank You ## What does this PR do? (Provide a description of what this PR does.) ## Changed link...
### đ Feature description Implement DSN connection strings. Examples: ``` unix:///var/run/clamav/clamd.ctl tcp://localhost:3310 ``` And here's an example of how it could look. ``` $clam = new Connection('tcp://localhost:3310'); // returns ->...
### đ Reproduction steps Download the "eicar.com" or the "eicar.com.txt" file from https://www.eicar.org/download-anti-malware-testfile/ ```php $clam = new Network($host, $port); $is_clean = $clam->fileScanInStream('path/to/eicar/file'); ``` The function is supposed to return false,...
## What does this PR do? Updates system requirements defined in [README.md](https://github.com/appwrite/php-clamav/blob/master/README.md). ## Test Plan Not applicable. ## Related PRs and Issues https://github.com/appwrite/php-clamav/commit/f3897169f5c1f365312238a516ae9465f804634f requires PHP 8.x. ### Have you read...
I am using a Linux server on IONOS. I followed the installation procedure through Composer and created a file to execute. But getting this error while trying to scan a...
âŠk' (tested with EICAR file) ## What does this PR do? It corrects the sending of file through socket. Original code keep responding 'ok' (tested with EICAR file) ## Test...