Google
 

« Tips | メイン | qmail »

2007年12月11日

●groupoffice


# mv groupoffice-ja-2.14 groupware
# cd groupware
# touch config.php
# chmod 666 config.php
# mkdir local
# chown apache:apache local
# mkdir /home/groupoffice
# chown apache:apache /home/groupoffice

2007年06月27日

●セキュリティスキャナ Nikto

セキュリティスキャナ Nikto

wget http://www.cirt.net/nikto/nikto-current.tar.gz
tar zxvf nikto-current.tar.gz
cd nikto-1.34


./nikto.pl -host 対象ホスト

./nikto.pl -host 対象ホスト -output 対象ホスト.txt

2007年06月13日

●DivXToDVD

VSO SoftwearのDivXToDVDを使ってAVIやWMV形式の動画を直接DVD形式(VIDEO_TS)にコンバートする。

続きを読む "DivXToDVD"
2007年05月27日

●swatchインストール

swatchインストール

必要なモジュール
Carp-Clan-5.3
Bit-Vector-6.4
Date-Calc-5.4
Time-HiRes-1.75
File-Tail-0.99.3
TimeDate-1.10
swatch-3.1.1

続きを読む "swatchインストール"
2007年04月05日

●snmp

cd /usr/ports
portinstall net-mgmt/net-snmp
cp /usr/local/share/snmp/snmpd.conf.example /usr/local/share/snmp/snmpd.conf

# sec.name source community
com2sec local localhost コミュニテイ
com2sec mynet 192.168.1.0/24 コミュニテイ

####
# Second, map the security names into group names:

# sec.model sec.name
group mygroup1 v1 local
group mygroup1 v2c local
group mygroup1 usm local
group mygroup2 v1 mynet
group mygroup2 v2c mynet
group mygroup2 usm mynet

####
# Third, create a view for us to let the groups have rights to:

# incl/excl subtree mask
view all included .1 80

####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:

# context sec.model sec.level match read write notif
access mygroup1 "" any noauth exact all none none
access mygroup2 "" any noauth exact all all none


続きを読む "snmp"
2007年02月25日

●DeleGate

Proxy DeleGateのインストール

$wget ftp://ftp.delegate.org/pub/DeleGate/delegate9.6.2.tar.gz
$tar zxvf delegate9.6.2.tar.gz
$cd delegate9.6.2
#make PATH=".:$PATH" CC=gcc

#cp delegate /usr/local/bin/

続きを読む "DeleGate"
2007年02月10日

●wget

サイト全体をダウンロード
wget -nc -r http://xxx.xxx.xxx/

デレィクトリをダウンロード
wget -np -nc -r http://xxx.xxx.xxx/xxx/

再帰回収で相対リンクだけを 5階層まででダウンロード
wget -r -L -l 5 http://xxx.xxx.xxx/xxx/index.html

2007年01月03日

●tcpdump

tcpdump host xxx.xxx.xxx.xxx and port smtp

tcpdump host xxx.xxx.xxx.xxx and port smtp -q