#tar vfxz freebsd.elf.tar.Z # cd sav-install/ # sh install.sh install.sh: cd: install.sh: Not a directory Sophos Anti-Virus installation utility [FreeBSD/Intel] Copyright (c) 1998,2001 Sophos Plc, Oxford, England
# pw groupadd -n sweep # pw useradd -n sweep -g sweep -d /usr/local/sav -s /nonexistent # sh install.sh Sophos Anti-Virus installation utility [FreeBSD/Intel] Copyright (c) 1998,2001 Sophos Plc, Oxford, England
compatibility libraries on your system.
# sweep -v SWEEP virus detection utility Copyright (c) 1989,2002 Sophos Plc, www.sophos.com
● System time 23:16:45, System date 07 February 2002
# fetch http://www.sophos.com/downloads/ide/354_ides.zipと、解凍するべき先は
# cat /etc/sav.conf SAV virus data directory = /usr/local/savでわかります。ただ解凍するのにはunzipが必要になるんでportsなりpackageなり自分でコンパイルするなりして用意してください。
# unzip 354_ides.zip長くなるので書きませんがsweep -vするとさっきの情報に追加されて読みこまれたideファイルの情報も表示されると思います。 さて本当にウイルスがチェックされるかテストしてみましょう。手ごろなウイルス(持ってる人は持ってるでしょう(^^;)が手元にあればそれで、無ければテストウイルスをチェックしてみると良いかと。
# fetch http://www.eicar.org/download/eicar.com # fetch http://www.eicar.org/download/eicar_com.zip # fetch http://www.eicar.org/download/eicarcom2.zip # sweep -ss -all -archive . >>> Virus 'EICAR-AV-Test' found in file ./eicar.com >>> Virus 'EICAR-AV-Test' found in file ./eicar_com.zip/eicar.com >>> Virus 'EICAR-AV-Test' found in file ./eicarcom2.zip/eicar_com.zip/eicar.comこれが引っかからないとなにかがおかしい訳ですがそれはその時に考えてください(^^; とりあえずはこれでインストール終了
teraterm:\ :AF=\E[3%dm:AB=\E[4%dm:op=\E[0m:\ :tc=vt100: