LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2004, 11:44 PM   #1
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
clamav infected file


when i do a clamscan on my box, and server, the only way that i can see if anything is infected is to keep the term that i started it in open. yet it doesn't say which of those files are the infected one's. i've tried it with the -l flag to put it to a file, yet that gives me pretty much the same thing.

----------- SCAN SUMMARY -----------
Known viruses: 21013
Scanned directories: 6645
Scanned files: 95548
Infected files: 5
Data scanned: 12886.66 Mb
I/O buffer size: 131072 bytes
Time: 7829.374 sec (130 m 29 s)

now i know that i have a file that someone decided to send me, virus that is, that i kept to show the abuse line of their isp, and i know that clam has two that are kept as references.

would anyone know how to print the infected files so that you can find and remove them? is there a flag that i could use? i've read through the man, and help on the cmd line, yet i can't see anything.

and since i started writing this i rm the file that i knew was bad so i can't get a notice, that is OK or not on the end of the file. a flag would be nicer than having to
clamscan -r / | grep infected > scan.txt

anyone?
thanks.

oh, mdk 9.1, clamscan -v 0.54
 
Old 04-11-2004, 03:43 AM   #2
MeLassen
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Ubuntu 4.10
Posts: 45

Rep: Reputation: 15
Try the command:

clamscan -r -i

this will screen all dirs and only print infected files.

MeL
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why don't search ClamAV infected files dawidson Linux - Newbie 2 11-24-2005 12:03 PM
rootkit: infected??? help synaptical Linux - Security 4 05-16-2005 07:11 PM
running wine with an infected file minm Linux - Newbie 3 12-24-2004 11:40 AM
clamav: infected files provkitir Linux - Security 2 12-20-2004 01:19 AM
1st ClamAV scan.. 48 files infected... What??!! sh1ft Linux - Security 2 06-29-2004 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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