Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-11-2004, 12:44 AM   #1
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


oh, mdk 9.1, clamscan -v 0.54
Old 04-11-2004, 04:43 AM   #2
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.



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 01:03 PM
rootkit: infected??? help synaptical Linux - Security 4 05-16-2005 08:11 PM
running wine with an infected file minm Linux - Newbie 3 12-24-2004 12:40 PM
clamav: infected files provkitir Linux - Security 2 12-20-2004 02:19 AM
1st ClamAV scan.. 48 files infected... What??!! sh1ft Linux - Security 2 06-29-2004 11:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:54 AM.

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