インストール手順
- ActivePerlインストール
- Niktoを任意のフォルダに解凍
実行手順
PROXYHOST=localhost
PROXYPORT=8888
-
- 以後、プロキシが必要な場合は -useproxy を追加。
perl nikto.pl -update
perl nikto.pl -update -useproxy
- ターゲットホストの指定は -host (-h)にて。
perl nikto.pl -host http://www.example.com/hoge/
- テキストファイルに出力したい場合は -output (-o)。
perl nikto.pl -host http://www.example.com/hoge/ -output FILE_NAME.txt
- HTMLファイルやCSVへの出力も可能。 -Format (-F) で出力形式を指定。
perl nikto.pl -host http://www.example.com/hoge/ -output FILE_NAME.htm -Format htm
perl nikto.pl -host http://www.example.com/hoge/ -output FILE_NAME.xml -Format xml
perl nikto.pl -host http://www.example.com/hoge/ -output FILE_NAME.csv -Format csv