Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default how i can scan all hdd with clamav?

    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

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    clamscan /
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Hey,

    Should it be

    /home ?

    Code:
    clamscan home
    From,
    Adam
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    thanks of you.
    i test the way
    but

    please see

    Code:
    root@host [/]# 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

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    hi dear.
    thanks of you
    yes
    i want scan for virus and shell and trojand and ...
    thanks of your help.
    good luck

  7. #7
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    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

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    thanks
    do you have better SUGGESTION?

    thanks of you.
    good luck

  10. #10
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    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)

  11. #11
    Member
    Join Date
    Nov 2006
    Posts
    67

    Default

    hi dear.
    thanks of you.
    i can find command


    clamscan -r --remove /home


    you can run clamscan --help

    good luck

Similar Threads & Tags
Similar threads

  1. clamav virus scan from root ?
    By bhanuprasad1981 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-13-2011, 11:54 AM
  2. Scan Email with ClamAV at SMTP time
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 06-09-2011, 01:18 PM
  3. How do I scan all accounts using ClamAV?
    By sharmaine001 in forum cPanel Developers
    Replies: 2
    Last Post: 04-07-2010, 11:24 AM
  4. How do I scan all accounts using ClamAV?
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-20-2009, 06:30 AM
  5. File::Scan::ClamAV
    By BigP in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-14-2007, 04:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube