ClamAV and clean infected files automatically.
ClamAV and clean infected files automatically.
Hello.
I installed ClamAV on CentOS 7 and use "clamscan -r /" and it found 11 infected files but can it clean them automatically or I must remove them manually
I installed ClamAV on CentOS 7 and use "clamscan -r /" and it found 11 infected files but can it clean them automatically or I must remove them manually
- Attachments
-
- infected.png (3.63 KiB) Viewed 11134 times
Re: ClamAV and clean infected files automatically.
From http://www.clamav.net/documents/miscellaneous-faq
"Can ClamAV disinfect files?
No, it can’t. We will add support for disinfecting OLE2 files in one of the next stable releases. There are no plans for disinfecting other types of files. There are many reasons for it: cleaning viruses from files is virtually pointless these days. It is very seldom that there is anything useful left after cleaning, and even if there is, would you trust it?"
"Can ClamAV disinfect files?
No, it can’t. We will add support for disinfecting OLE2 files in one of the next stable releases. There are no plans for disinfecting other types of files. There are many reasons for it: cleaning viruses from files is virtually pointless these days. It is very seldom that there is anything useful left after cleaning, and even if there is, would you trust it?"
Re: ClamAV and clean infected files automatically.
Excuse me, Why the users must use ClamAV if it can't clean viruses?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: ClamAV and clean infected files automatically.
Who said users must use ClamAV?
A program can use ClamAV to identify infected files which can then be deleted.
A program can use ClamAV to identify infected files which can then be deleted.
Re: ClamAV and clean infected files automatically.
How can I clean my linux? I need an antivirus that do it for me automatically.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: ClamAV and clean infected files automatically.
Linux doesn't get viruses.
ClamAV can be used to scan incoming Emails to block receipt of mail infected with Windows viruses.
ClamAV can be used to scan incoming Emails to block receipt of mail infected with Windows viruses.
Re: ClamAV and clean infected files automatically.
As you see, My CentOS have 11 infected files.gerald_clark wrote:Linux doesn't get viruses.
ClamAV can be used to scan incoming Emails to block receipt of mail infected with Windows viruses.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: ClamAV and clean infected files automatically.
Delete them.
Re: ClamAV and clean infected files automatically.
It's a bit more complicated than that. What are the infected files? Do you need them? If not delete them. If they're installed via rpm you can just reinstall the rpm and that'll overwrite the infected files.Delete them.
Re: ClamAV and clean infected files automatically.
I used "-l" for create a log but for find infected file names in my log what should I do? I used "cat ClamAV.log | grep infected" but not find any result!!!!gerald_clark wrote:Delete them.