Questions tagged [clamav]
61 questions
0
votes
2 answers
ClamAV scanning with PHP 8 - Not a regular file
I'm migrating everything I have from Ubuntu 20.04 to 23.04. The one and only thing, in a long list, I'm struggling with is a web form that uses ClamAV to scan uploaded files. On the old server it works fine. On the new server I persistenly…

R Taylor
- 29
- 3
0
votes
0 answers
Can't get passed `Socket for clamd not found yet, retrying `
I'm a beginner in docker and clamav. Sorry in advance if anything doesn't make sense the way I describe it.
I've got a docker image built using Maven and the Docker container toolchain and pushed the image to the Google Artifact Registry. It is then…

Peggy
- 394
- 6
- 22
0
votes
0 answers
ClamAV reporting PDFs as encrypted that are not encrypted (or at least not password protected)
I am having issues with ClamAV scanning PDF files and reporting back that they are encrypted (and thus cannot be scanned for vulnerabilities). These files don't have a password set on them but do typically have one of the following: a signature…

Chris Williams
- 11,647
- 15
- 60
- 97
0
votes
0 answers
Clamav not istalled well, or don't know how to run the .py file correctly
I have a code in Python that's supposed to take SMSs and scan them for viruses.
For that, I need to use Clamav antivirus engine (it also needs pyclam library but I have installed it). Now I am trying to run my code on pycharm but it gives me errors…

Nov Joy
- 11
- 2
0
votes
1 answer
ClamAV not being found by NodeJS
I want to use ClamAV as part of my file upload process. The snippet below is what I'm using to instantiate nodeClam:
const nodeClam = require('clamscan');
...
const clamScan = new nodeClam().init({
debug_mode: true,
preference:…

goterpsgo
- 307
- 2
- 18
0
votes
0 answers
I want to use clamscan in node.js. Can anyone please suggest the steps if knows
Trying to install clamscan using docker file, here is my docker snippet
#Define the image we want to build from
FROM node:16.19.1-alpine3.17
#Copy the current directory to a newly created working directory
COPY --chown=1000 . /code
#Define the…

Gopalakrishnan M
- 13
- 2
0
votes
0 answers
Have failed service clamdtop is run in RedHat 7.5
I have deployed model single or client/server toolkit ClamAV with result completed and done. As subject as on have failed used clamdtop at server as image. So please advise and recommend for resolve it
Regards -
Tan

Richbest
- 151
- 10
0
votes
0 answers
Clamav freshclam not updating the db files
In my Linux system, I have installed clamav and clamav-daemon and updated the Checks parameter to 48 in the freshclam.conf (the db url points to a locally run private mirror)
The private mirror has the cvdupdate tool that is properly downloading the…

Ravi
- 879
- 2
- 9
- 23
0
votes
1 answer
yocto: clamav recipe fails to find file in mirror
I am working with yocto on zeus branch. I wanted to add an antivirus so I checked on ClamAV.
I added meta-security and the clamAV recipe to my system with the meta-security revision b66e5e27b48c0a07494f9df9b809ed933cede047…
0
votes
0 answers
how to kill cpulimit right after clamscan in php when both are running in background
I have switched as the user in linux using php code.
I set cpulimit to 88% for clamscan and then scan /home/user or /home/user/mail recursively using clamscan.
As you can see both the exec codes below, both are running in background using '&' at the…

jay
- 1
- 2
0
votes
1 answer
find -ctime -1 finds all my files, not only the recently changed ones
I need to check a directory and subfolders every hour, but only for new files.
So i wrote a script with these contents:
#!/bin/bash
find /var/www/html/files/ -ctime -1 |
clamscan -r --remove --log=/var/log/clam/clamscan.log
But for a reason, it…

erax
- 1
0
votes
0 answers
How to see which files (and their path) that were infected after running LMD (Linux Malware Detect) scan?
I searched through my /var/www folder where I have around 10 different websites with Linux Malware Detection with the following command:
sudo maldet --scan-all /wwwdata/
The report shows the following:
PATH: /wwwdata/
TOTAL FILES: …

Jacob
- 23
- 5
0
votes
0 answers
Getting error "Source array was not long enough" when scanning files using ClamAV
I am getting this error "Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')" whenever I'm scanning files larger than 20mb. If the file is larger than 20mb it should be split into…

Doctorr0313
- 1
- 2
0
votes
0 answers
How to integrate django rest framework with clamav
How can I integrate clamav with django rest framework? I am trying to scan uploaded files via drf with clamav? I installed clamav from https://www.clamav.net/
here is my code
...
file = self.request.FILES.get('file')
# check a file for viruses
if…

user14665310
- 524
- 4
- 13
0
votes
1 answer
Installing ClamAV on macOS Monterey
I am battling to install ClamAV on my Macbook with macOS Monterey. I am new to open-sourced software and using mac's Terminal commands to solve problems. I have followed online advice and advice from a colleague up to a point, and it just is not…

biglucky26
- 9
- 2