kylefarris / clamscan

A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
236 stars 69 forks source link

real time scanning on upload #10

Closed ssmlee04 closed 9 years ago

ssmlee04 commented 9 years ago

I wonder if this is supported? Users will upload base64 image strings and the string could be a malware in disguise. Thanks

kylefarris commented 9 years ago

This type of functionality will be supported in version 0.9 with the introduction of scanning streams and buffers. Check out the sockets branch. Specifically check out the scan_stream method.

The module is pretty close to being done. I'm just working on a few more test cases to make sure it works as expected in all ways.