Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@icsserver andrzejl]# crontab -l | grep Clam
- 0 5 * * * /root/Scan_With_ClamAV.sh
- [root@icsserver andrzejl]# ls --full /root/Scan_With_ClamAV.sh
- -rwx------ 1 root root 418 2013-02-03 13:11:31.787133083 +0000 /root/Scan_With_ClamAV.sh*
- [root@icsserver andrzejl]# cat /root/Scan_With_ClamAV.sh
- cpufreq-set -g performance &&
- echo "CPU Frequency changed governor changed to Performance..." &&
- echo "ClamAV scan starting..." &&
- date > /root/Clamav.log &&
- cd / && clamscan / --log=/root/Clamav.log --infected --recursive --exclude-dir=^/sys --exclude-dir=^/proc --remove=no &&
- echo "ClamAV scan finished and the log /root/Clamav.log was created..." &&
- cpufreq-set -g powersave &&
- echo "CPU Frequency changed governor changed to Powersave..." &&
- /bin/mail -s ClamAV Scan Log [email protected] < /root/Clamav.log &&
- rm -f /root/Clamav.log &&
- echo "The ClamAV log /root/Clamav.log e-mailed and removed..."
- [root@icsserver andrzejl]#
- Fri Jan 25 05:00:00 GMT 2013
- -------------------------------------------------------------------------------
- /var/Squid/Cache/00/22/000022D3: W32.Adware.Screensaver FOUND
- [...]
- [Dealt with by hand later:]
- [root@icsserver ~]# rm /var/Squid/Cache/00/22/000022D3
- rm: remove regular file `/var/Squid/Cache/00/22/000022D3'? y
- [root@icsserver ~]#
- [...]
- /usr/share/doc/clamav/test/clam-fsg.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-mew.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.ea05.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-upx.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.mbox.uu: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.7z: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-aspack.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.bin-be.cpio: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.d64.zip: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam_ISmsi_int.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.ppt: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam_ISmsi_ext.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.mail: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.tnef: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam_IScab_int.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.bin-le.cpio: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.tar.gz: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.sis: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.rtf: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.html: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.ea06.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.bz2: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.zip: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/.split/split.clam_IScab_ext.exeaa: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/.split/split.clam_IScab_int.exeaa: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.chm: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-pespin.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.pdf: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.arj: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.ole.doc: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.newc.cpio: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-petite.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.impl.zip: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-yc.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.cab: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.binhex: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.szdd: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.exe.mbox.base64: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-nsis.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-wwpack.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.odc.cpio: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam.bz2.zip: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam-upack.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam_IScab_ext.exe: ClamAV-Test-File FOUND
- /usr/share/doc/clamav/test/clam_cache_emax.tgz: ClamAV-Test-File FOUND
- ----------- SCAN SUMMARY -----------
- Known viruses: 1670503
- Engine version: 0.97.6
- Scanned directories: 42647
- Scanned files: 317142
- Infected files: 46
- Data scanned: 22497.89 MB
- Data read: 1750182.85 MB (ratio 0.01:1)
- Time: 7691.440 sec (128 m 11 s)
Advertisement
Add Comment
Please, Sign In to add comment