LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 05-29-2016, 03:03 AM   #1
4mlinuxfaq
LQ Newbie
 
Registered: May 2016
Posts: 25

Rep: Reputation: Disabled
4MLinux Antivirus manual scan options


Doing a full scan via antivir command gives you an option on what to do with the infected files.

But I've noticed that doing a manual scan of a file or folder for example via clamscan command only brings up a summary even after an infected file is found.

Is there a way to bring up that option during manual scan?
 
Old 05-29-2016, 03:48 AM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 660

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by 4mlinuxfaq View Post
Doing a full scan via antivir command gives you an option on what to do with the infected files.

But I've noticed that doing a manual scan of a file or folder for example via clamscan command only brings up a summary even after an infected file is found.

Is there a way to bring up that option during manual scan?
That's not true. The "antivir" script displays more info on the screen before it starts scanning. This can be one of the following:
1) Location of log file.
2) Location of quarantine.
3) Statement that suspicious files will be deleted.
This depends on the scan option chosen by you.
 
Old 05-29-2016, 03:57 AM   #3
4mlinuxfaq
LQ Newbie
 
Registered: May 2016
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
That's not true. The "antivir" script displays more info on the screen before it starts scanning. This can be one of the following:
1) Location of log file.
2) Location of quarantine.
3) Statement that suspicious files will be deleted.
This depends on the scan option chosen by you.
I had a different exp.

Once I typed in antivir, it gave me an option to update the program and signature db.
After being updated, it asked me what I wanted to do if infected files are found, after choosing it starts to do a full system scan.

On a different scenario:
Manual scan via clamscan script only brings up a summary.

What I'm asking is, is there a way to bring up the [what to do with the infected files option] during a manual scan of a file or folder?

Last edited by 4mlinuxfaq; 05-29-2016 at 04:04 AM.
 
Old 05-29-2016, 04:18 AM   #4
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 660

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by 4mlinuxfaq View Post
Once I typed in antivir, it gave me an option to update the program and signature db.
After being updated, it asked me what I wanted to do if infected files are found, after choosing it starts to do a full system scan.
That's not true. For example, if you choose to move to quarantine, you should see the following message before the scan starts: "Suspicious files will be moved to /var/clamav/quarantine."

My script is setup for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).

Last edited by zk1234; 05-29-2016 at 04:20 AM.
 
Old 05-29-2016, 04:29 AM   #5
4mlinuxfaq
LQ Newbie
 
Registered: May 2016
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
That's not true. For example, if you choose to move to quarantine, you should see the following message before the scan starts: "Suspicious files will be moved to /var/clamav/quarantine."

My script is setup for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
I think you have misinterpreted my original post/question in the first place.

I acknowledge that the antivir script gives you an option on what to do with infected files prior to scanning. We both agree on that right?

Which brings me to my question.

Is there a way to bring up that same options [on what to do with infected files] during a selective scan of a file when using the clamscan script?
 
Old 05-29-2016, 04:32 AM   #6
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 660

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by 4mlinuxfaq View Post
I think you have misinterpreted my original post/question in the first place.

I acknowledge that the antivir script gives you an option on what to do with infected files prior to scanning. We both agree on that right?

Which brings me to my question.

Is there a way to bring up that same options [on what to do with infected files] during a selective scan of a file when using the clamscan script?
Unfortunately, it's not possible. My script is designed for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
 
Old 05-29-2016, 04:35 AM   #7
4mlinuxfaq
LQ Newbie
 
Registered: May 2016
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
Unfortunately, it's not possible. My script is designed for scanning all files. For scanning selected files only, you must refer to the ClamAV documentation (https://www.clamav.net).
Okay, thank you for that confirmation.

You have been very helpful today.
 
Old 05-29-2016, 04:40 AM   #8
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 660

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by 4mlinuxfaq View Post
I acknowledge that the antivir script gives you an option on what to do with infected files prior to scanning. We both agree on that right?
Mea culpa. I have not noticed that you described the way, in which the clamscan utility worked for you (and not my antivir script). Sorry.
 
Old 05-29-2016, 04:45 AM   #9
4mlinuxfaq
LQ Newbie
 
Registered: May 2016
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
Mea culpa. I have not noticed that you described the way, in which the clamscan utility worked for you (and not my antivir script). Sorry.
It's okay. You've been really helpful, I appreciate it.

Last edited by 4mlinuxfaq; 05-29-2016 at 05:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 4MLinux Antivirus persistent updates 4mlinuxfaq 4MLinux 11 05-29-2016 03:40 AM
LXer: Final 4MLinux and 4MLinux Allinone Edition 12.0 Released with PAE Support LXer Syndicated Linux News 0 05-10-2015 12:56 AM
Does linux antivirus scan for windows viruses? nkoplm Linux - Security 6 11-22-2009 03:46 PM
How to setup / launch a cronjob antivirus scan d00dness Linux - Newbie 4 09-10-2008 08:07 AM
How to make bitdefender antivirus auto scan incoming mail ginda Linux - Software 1 03-15-2005 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration