Hi Clamav Team,

Can clamscan detect the file type/extension as well?

root@fwuser-virtual-machine:/home/file_capture/tmp# clamscan
67792ACE824606664CE51973800D6B952CA4733CAF6F03CCF5F636768EFB39B1 --verbose
Scanning 67792ACE824606664CE51973800D6B952CA4733CAF6F03CCF5F636768EFB39B1
67792ACE824606664CE51973800D6B952CA4733CAF6F03CCF5F636768EFB39B1: OK

----------- SCAN SUMMARY -----------
Known viruses: 3764910
Engine version: 0.98.6
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.04 MB
Data read: 0.02 MB (ratio 1.80:1)
Time: 14.291 sec (0 m 14 s)

The reason I am asking is in my case, my file name generated is SHA256 of
the original file. I lose the file extension as well. After clamav detects
the file as clean/virus, I need to report the file extension along with
it's detection result.
Thanks in advance!

Regards,
Rishabh Shah.
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to