版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/04/15/000331.html
% for i in *.zip;do echo $i;unzip -o $i;done (unzip -o *.zip didn't work) % rm -f *.zip % unrar x -o+ fedl80.rar % rm -f fedl80.r??
% cd SOPHOS.ANTIVIRUS.V3.80.MULTILANGUAGE.LINUX-FeDEX/ % l total 25783 -rw-r--r-- 1 root root 1104 Nov 21 07:29 dm.nfo drwxr-xr-x 2 root root 2520 Mar 18 20:48 sav-install/ -rw-r--r-- 1 root root 8850917 Mar 26 13:45 linux.intel.libc6.tar.Z -rw-r--r-- 1 root root 8760745 Mar 26 13:46 linux.intel.libc6.glibc.2.2.tar.Z -rw-r--r-- 1 root root 8765449 Mar 26 13:46 linux.intel.libc5.tar.Z -rw-r--r-- 1 root root 7715 Mar 26 13:46 fedex.nfo -rw-r--r-- 1 root root 740 Mar 26 13:47 file_id.diz
% tar Zxvf linux.intel.libc6.glibc.2.2.tar.Z sav-install/ sav-install/vdl-3.80.dat sav-install/vdl01.vdb sav-install/vdl02.vdb sav-install/vdl03.vdb sav-install/vdl04.vdb sav-install/vdl05.vdb sav-install/vdl06.vdb sav-install/vdl07.vdb sav-install/vdl08.vdb sav-install/vdl09.vdb sav-install/vdl10.vdb sav-install/vdl11.vdb sav-install/vdl12.vdb sav-install/vdl13.vdb sav-install/vdl14.vdb sav-install/vdl15.vdb sav-install/vdl16.vdb sav-install/install.sh sav-install/Readunix.txt sav-install/Readunix_de.txt sav-install/Readunix_es.txt sav-install/Readunix_euc.txt sav-install/Readunix_fr.txt sav-install/Readunix_it.txt sav-install/Readunix_pt_br.txt sav-install/Readunix_utf.txt sav-install/Install.txt sav-install/Install_de.txt sav-install/Install_es.txt sav-install/Install_euc.txt sav-install/Install_fr.txt sav-install/Install_it.txt sav-install/Install_pt_br.txt sav-install/Install_utf.txt sav-install/installmsg.txt sav-install/installmsg_de.txt sav-install/installmsg_es.txt sav-install/installmsg_euc.txt sav-install/installmsg_fr.txt sav-install/installmsg_it.txt sav-install/installmsg_pt_br.txt sav-install/installmsg_utf.txt sav-install/sweep.1 sav-install/icheckd.1 sav-install/icheckd.conf.5 sav-install/icheckd_de.1 sav-install/icheckd_de.conf.5 sav-install/icheckd_es.1 sav-install/icheckd_es.conf.5 sav-install/icheckd_euc.1 sav-install/icheckd_euc.conf.5 sav-install/icheckd_fr.1 sav-install/icheckd_fr.conf.5 sav-install/icheckd_it.1 sav-install/icheckd_it.conf.5 sav-install/icheckd_pt_br.1 sav-install/icheckd_pt_br.conf.5 sav-install/icheckd_utf.1 sav-install/icheckd_utf.conf.5 sav-install/sweep_de.1 sav-install/sweep_es.1 sav-install/sweep_euc.1 sav-install/sweep_fr.1 sav-install/sweep_it.1 sav-install/sweep_pt_br.1 sav-install/sweep_utf.1 sav-install/eminstall.txt sav-install/eminstall.sh sav-install/calcmd5 sav-install/icheckd sav-install/icmess.dat sav-install/libsavi.so.3.2.07.060 sav-install/sweep sav-install/swpmess.dat
% l total 8559 drwxr-xr-x 2 root root 2520 Mar 18 20:48 sav-install -rw-r--r-- 1 root root 8760745 Apr 15 23:13 linux.intel.libc6.glibc.2.2.tar.Z
% cd sav-install/ % ./install.sh Sophos Anti-Virus installation utility [Linux/Intel] Copyright (c) 1998,2003 Sophos Plc, Oxford, England
Error: The 'sweep' user does not exist on your system. Please consult the documentation for more information. % useradd sweep % ./install.sh Sophos Anti-Virus installation utility [Linux/Intel] Copyright (c) 1998,2003 Sophos Plc, Oxford, England
Ensure that IDE files for this release are now downloaded into /usr/local/sav.
% sweep --help SWEEP virus detection utility Version 3.80, April 2004 [Linux/Intel] Includes detection for 89009 viruses, trojans and worms Copyright (c) 1989,2004 Sophos Plc, www.sophos.com
System time 23:15:56, System date 15 April 2004 Command line qualifiers are: --help
Warning: SWEEP messages loaded from default locale en_GB
The following options may be prefixed with 'n' to invert their meaning (for example, '-nsc' is the inverse of '-sc'). [*] indicates the option is the default:
-sc [*] : SWEEP inside dynamically compressed executables -f [ ] : Full SWEEP -di [ ] : Disinfect infected items -s [*] : Run silently (do not list files swept) -c [*] : Ask for confirmation before disinfection/deletion -b [*] : Sound bell on virus detection -all [ ] : SWEEP all files -rec [*] : Do recursive SWEEP -remove [ ] : Remove infected objects -dn [ ] : Display names of files as they are scanned -ss [ ] : Don't display anything except on error or virus -eec [ ] : Use extended error codes -ext=XXX,.. : Specify additional extensions to SWEEP -p=<file> : Write to logfile <file> -idedir=<dir> : Read IDEs from alternative directory -v : Display complete version information and exit -h : Display this help and exit
The following options are related to archives and other special file types:
-zip [ ] : SWEEP inside ZIP archives -gzip [ ] : SWEEP inside GZIP compressed files -arj [ ] : SWEEP inside ARJ archives -cmz [ ] : SWEEP inside Unix-compressed files -tar [ ] : SWEEP inside TAR archives -rar [ ] : SWEEP inside RAR archives -archive [ ] : All of the above -cab [ ] : SWEEP inside Microsoft Cabinet files -loopback [ ] : SWEEP inside loopback-type files -mime [ ] : Scan files encoded in MIME format -oe [ ] : Scan Microsoft Outlook Express mailbox files (requires -mime) -tnef [ ] : SWEEP inside TNEF files
The following options may be prefixed with 'no-' to invert their meaning (for example, '--no-reset-atime' is the inverse of '--reset-atime'. [*] indicates the option is the default:
--reset-atime [*] : Reset file access time after SWEEPing
The following options are Unix-specific, and may be prefixed with 'no-' to invert their meaning (for example, '--no-follow-symlinks' is the inverse of '--follow-symlinks'). [*] indicates the option is the default:
--follow-symlinks [*] : SWEEP the object pointed to by symbolic links --stay-on-filesystem [ ] : Attempt not to leave the starting filesystem (i.e. do not traverse mount points) --stay-on-machine [*] : Attempt not to leave the starting machine (i.e. do not traverse remote mount points) --skip-special [*] : Do not scan 'special' objects (/dev, /proc, /devices etc.) --backtrack-protection [*] : Prevent repetition of work ('backtracking') due to symbolic links --preserve-backtrack [*] : Preserve the backtracking information for the duration of this run --examine-x-bit [ ] : Check files with an execute bit set --show-file-details [ ] : Show file ownership and permissions when displaying filenames --quarantine [ ] : (Simple form of --quarantine option) If file is infected with virus, attempt to change file owner to user running SWEEP, and permissions to -r-------- (0400)
--quarantine:<uid=nnn>,<user=username>, <gid=nnn>,<group=groupname>,<mode=ppp> [ ] : (Detailed form of --quarantine option) If file is infected with virus, attempt to change file ownership, group ownership, and permissions to those specified as uid/username, gid/groupname, and mode.
--args-file=<file> : Read command line arguments (both options and directory/filenames) from file, taking arguments from the command line again when the end of the file is reached. A value of - for <file> specifies taking input from stdin. A small number of command line options may not be used within an args file, namely:- -eec, -neec, -p=, -s, -ns, -dn, -ndn. These can only be specified from the command line.
The following options are specific to Linux and FreeBSD only.
-mbr [ ] : SWEEP master boot records on all (physical) hard disks -bs=X,... [ ] : SWEEP boot sector of each drive listed -bs [ ] : SWEEP boot sectors on all (logical) drives -cdr=X,...[ ] : Scan boot sector in bootable image of each CD drive listed
You need to have superuser rights in order to scan boot sectors.
......
% pwd /var/mail/Mail/e/b/windtear@ipcn.org/Mail
% sweep 282041380.20400 SWEEP virus detection utility Version 3.80, April 2004 [Linux/Intel] Includes detection for 89009 viruses, trojans and worms Copyright (c) 1989,2004 Sophos Plc, www.sophos.com
System time 23:19:54, System date 15 April 2004
Warning: SWEEP messages loaded from default locale en_GB
Quick Sweeping
1 file swept in 14 seconds. No viruses were discovered. End of Sweep.
......
% /usr/local/bin/sweep -nc -remove /datacenter/datacenter/ SWEEP virus detection utility Version 3.80, April 2004 [Linux/Intel] Includes detection for 89009 viruses, trojans and worms Copyright (c) 1989,2004 Sophos Plc, www.sophos.com
System time 23:22:49, System date 15 April 2004 Command line qualifiers are: -nc -remove
Warning: SWEEP messages loaded from default locale en_GB
Quick Sweeping
......
1848 files swept in 1 minute and 7 seconds. 1 error was encountered. 345 viruses were discovered. 345 files out of 1848 were infected. Please send infected samples to Sophos for analysis. For advice consult www.sophos.com, email support@sophos.com or telephone +44 1235 559933 End of Sweep.
% /usr/local/bin/sweep -nc -remove /datacenter/datacenter/ SWEEP virus detection utility Version 3.80, April 2004 [Linux/Intel] Includes detection for 89009 viruses, trojans and worms Copyright (c) 1989,2004 Sophos Plc, www.sophos.com
System time 23:22:49, System date 15 April 2004 Command line qualifiers are: -nc -remove
Warning: SWEEP messages loaded from default locale en_GB
Quick Sweeping
Could not check /datacenter/datacenter/incoming/临时文件/考勤安装/我的公文包/教学文档/培训人员通信录.doc (corrupt) 1503 files swept in 38 seconds. 1 error was encountered. No viruses were discovered. End of Sweep.
[相关文章] http://www.smth.edu.cn/pc/pccon.php?id=10&nid=15837&s=all
|
|