Closed Annubis45 closed 2 years ago
Looking into this.
Shouldn't it be:
execFile(self.settings[self.scanner].path, self._buildClamArgs(items), (err, stdout, stderr) => {
Yes, it absolutely should, thank you!
New release v2.0.6 should fix your issue. Please let me know if it doesn't and we can re-open this issue.
seems good, thanks a lot !
On my configuration (Ubuntu 18.04.6 LTS, ClamAV 0.103.5), A scanfile lead to the execution of line 1555:
execFile(command, (err, stdout, stderr) => {
and lead to an error. Shouldn't it be:execFile(self.settings[self.scanner].path, self._buildClamArgs(items), (err, stdout, stderr) => {
when I do it its works better but I have another issue: The result of a clamdscan is :
So, when it parse the result, line 1514:
path equals to
/Code/files/file2:
with the char ' : '.and just after, line 1522:
if (/\s+OK(\u0000|[\r\n])$/.test(result)) {
always return false. So all files seems to be infected.my code:
Is my configuration wrong or outdated?