ClamAV wrapper to scan files for malware.
Scan path for viruses using clamd or clamscan (depends on settings.USE_CLAMD.
| Parameters: | path (str) – Relative or absolute path of file/directory you need to scan. |
|---|---|
| Returns: | dict – {filename: ("FOUND", "virus type")} or blank dict. |
| Raises: |
|
Save b64_data to temporary file and scan it for viruses.
| Parameters: |
|
|---|---|
| Returns: | dict – {filename: ("FOUND", "virus type")} or blank dict. |