clamwin / clamav-win32

ClamWin clamav win32 port
https://oss.netfarm.it/clamav/
60 stars 21 forks source link

Error during scan #5

Open FyR0z opened 5 years ago

FyR0z commented 5 years ago

Hello,

I got alway sthe same error when I try to scan with clamdscan.exe https://i.imgur.com/ZEeN9Wq.png

My clamd service is running perflectly

sherpya commented 5 years ago

clamd service is unable to access that folder, you may try using --stream or putting the file in a accessible folder

Akiraru commented 5 years ago

Same issue clamav-amd64-0.101.1.7z Server2008 R2 clamd as service has access to all folders

clamdscan.exe aaa.rar

----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.002 sec (0 m 0 s)

just getting error without description

previous 0.98 working like a charm

sherpya commented 5 years ago

please try with clamscan instead of clamdscan

Akiraru commented 5 years ago

please try with clamscan instead of clamdscan

aaa.rar - is encrypted archive

clamd.conf AlertEncryptedArchive yes

C:\clamav>clamscan.exe aaa.rar Loading virus signature database, please wait... done C:\clamav\aaa.rar: OK

----------- SCAN SUMMARY ----------- Known viruses: 6092994 Engine version: 0.101.1 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1)

C:\clamav>clamdscan.exe aaa.rar

----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.002 sec (0 m 0 s)

sherpya commented 5 years ago

clamscan.exe --alert-encrypted=yes

sherpya commented 5 years ago
C:\Work\Clamav\clamav-win32\msvc\Release\Win32>clamdscan -v c:\ClamAV\Clam.rar
c:\ClamAV\Clam.rar: Heuristics.Encrypted.RAR FOUND

definitively a file/directory permission problem

Akiraru commented 5 years ago

image Here Everyone full control

Can you make more detailed error reporting?

C:\clamav>C:\clamav\clamdscan.exe -v C:\clamav\aaa.rar

----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.000 sec (0 m 0 s)

Now I'm using 0.98 version and has no such problem

Akiraru commented 5 years ago

clamscan.exe --alert-encrypted=yes

C:\clamav>clamscan.exe --alert-encrypted=yes Loading virus signature database, please wait... done C:\clamav\a.bat: OK C:\clamav\aaa.rar: Heuristics.Encrypted.RAR FOUND C:\clamav\clamav-types.h: OK C:\clamav\clamav.h: OK C:\clamav\clamav.reg: OK C:\clamav\clambc.exe: OK