Re: How to clean virus-infected files ?

From: Charles Howse (chowse_at_charter.net)
Date: 06/28/04

  • Next message: Kent E.: "Re: Smart Card readers"
    To: fedora-list@redhat.com
    Date: Mon, 28 Jun 2004 04:38:06 -0500
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Sunday 27 June 2004 05:03 pm, Alberto M R Davila wrote:
    > Hello,
    >
    > I use FC1 and have the following clamav RPMs installed:
    >
    > clamav-0.73-1.1.fc1.dag
    > clamav-db-0.73-1.1.fc1.dag
    > clamav-milter-0.73-1.1.fc1.dag
    >
    > I use VmWare 4.0 where I have win98 as a "guest" system... My clamscan
    > tool detected the infected files listed below, how I should clean them ?
    > My keyboard is having a strange behaviour, typing more letters than the
    > ones I press... any tips ?

    This bash script works fine for me to scan and remove (clean)...
    - ---------------------------------------
    #!/bin/bash

    echo "Recursively scanning /root."
    clamscan -r -i /root
    if [ $? -eq 1 ] ; then
            echo -n "Remove virus(es)? [y/n] "
            read i
                    if [ $i = y ] ; then
                            clamscan -r -i --remove /root
                    fi
    fi

    echo

    echo "Recursively scanning /home/charles."
    clamscan -r -i --mbox /home/charles
    if [ $? -eq 1 ] ; then
            echo -n "Remove virus(es)? [y/n] "
            read k
                    if [ $k = y ] ; then
                            clamscan -r -i --mbox --remove /home/charles
                    fi
    fi
    - ---------------------------------------

    - --
    Charles Howse
    Jackson, TN
    Registered Linux User # 347576 (http://counter.li.org)
    GnuPG ID - 1F5130A8
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (GNU/Linux)

    iD8DBQFA3+cD/S+VsB9RMKgRAq1eAKCL8NOV3qg17HweTSEUMdk1NbFHPQCeKgIi
    0RYS5K7PoreaQK6XwbZ7KIM=
    =/TzR
    -----END PGP SIGNATURE-----

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Kent E.: "Re: Smart Card readers"

    Relevant Pages

    • Re: Error returns not handled correctly by sysfs.c:subsys_attr_store()
      ... # echo a> allow_restart ... to ->store method but this too is the expected behavior. ... can you please build 2.6.24-rc3 from clean source tree ... I tried with clean 2.6.24-rc3 and get the same bad behavior. ...
      (Linux-Kernel)
    • Re: error: unary operator expected
      ... local installtion of cc is up and running ... echo "Successfully restarted cc!" ... Enterprise Technology Solutions, TD Bank Financial Group ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (comp.unix.shell)
    • Re: Embedding asf file
      ... And thanks for coming clean on what worked. ... Echo ... >> Echo [MS PPT MVP] ... >>>> When you right click the inserted icon, can you drag it around your ...
      (microsoft.public.powerpoint)
    • Re: File system Full...But its not!
      ... You need GnuPG to verify this message ... > Bill Unruh wrote: ... is to clean up or put another hd in the system. ... his package manager and delete unneeded packages and check his ...
      (alt.os.linux)
    • Bug with tcsh? : if evaluating true instead of false
      ... echo "bad argumentspecified!"; ... to the switch statement. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (freebsd-questions)