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 |
Try the command:
clamscan -r -i this will screen all dirs and only print infected files. MeL |
All times are GMT -5. The time now is 11:41 PM. |