how i can scan all hdd with clamav?

robocap

Well-Known Member
Nov 6, 2006
67
0
156
hi dear.
i have one dedicated and i want scan all hdd and server for virus and .. with clamav.
i want use of putty or shell
please give me command or help,.
thanks
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
thanks of you.
i test the way
but

please see

Code:
[email protected] [/]# clamscan home/
LibClamAV Warning: ********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.  ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html ***
LibClamAV Warning: ********************************************************

----------- SCAN SUMMARY -----------
Known viruses: 78632
Engine version: 0.88.5
Scanned directories: 1
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 3.554 sec (0 m 3 s)
clamscan cant scan all hdd.
i want scan all home directory
i test clamscan home/

but again take to me

LibClamAV Warning: ********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html ***
LibClamAV Warning: ********************************************************

----------- SCAN SUMMARY -----------
Known viruses: 78632
Engine version: 0.88.5
Scanned directories: 1
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 2.674 sec (0 m 2 s)

please help me

thanks
good luck
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Look in the documentation:

man clamscan

For recursive lookups you would therefore use:

clamscan -r /home

Though that's quite noisy, so:

clamscan -r --quiet /home

Would probably be better.

That said, why would you want to scan all the files in /home for viruses?
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
hi dear.
thanks of you
yes
i want scan for virus and shell and trojand and ...
thanks of your help.
good luck
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
more for shell
because hacker can with one bug upload shell,yet c99 shell.

but if customer want upload shell with file manger server take to him that the file is problem(virus and ...)
but if customer crate new file for exapmle good.php

and edit them
and copy paste code,clamav can`t DISTINCTION problem file.

ok?
thanks
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Running ClamAV against yur unix files won't have any effect on those issues at all. ClamAV is baiscally only going to find windows and email viruses, as there's aren't any for Linux.
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
thanks
do you have better SUGGESTION?

thanks of you.
good luck
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
how i can destroy auto files that have virus and trojan? (deleted auto file that have trojan and virus)



----------- SCAN SUMMARY -----------
Known viruses: 78632
Engine version: 0.88.6
Scanned directories: 207
Scanned files: 1273
Infected files: 4
Data scanned: 51.77 MB
Time: 85.325 sec (1 m 25 s)
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
hi dear.
thanks of you.
i can find command


clamscan -r --remove /home


you can run clamscan --help

good luck