LoginSignup
0
0

More than 5 years have passed since last update.

プロキシ環境でのnikto2.1.5の利用方法

Posted at

nikto2.1.5の利用時に、プロキシ設定でちょっとハマったためメモします。

現象

$ wget http://www.cirt.net/nikto/nikto-current.tar.gz
$ tar -xzvf nikto-current.tar.gz 
$ cd nikto-2.1.5
$ perl nikto.pl -update
+ ERROR (): Unable to get www.cirt.net/nikto/UPDATES/2.1.5/versions.txt

エラーが発生してUpdateに失敗します。

対策

$ vim nikto.conf
変更前)
#PROXYHOST=127.0.0.1
#PROXYPORT=8080
変更後)
PROXYHOST=[プロキシホスト名]
PROXYPORT=8080

再度実行

オプション "-useproxy" をつけてupdateを実行します。

$ perl nikto.pl -update -useproxy
+ Retrieving 'nikto_cookies.plugin'
+ Retrieving 'db_tests'
+ Retrieving 'db_parked_strings'
+ Retrieving 'nikto_headers.plugin'
+ Retrieving 'nikto_report_csv.plugin'
+ Retrieving 'CHANGES.txt'
+ CIRT.net message: Please submit Nikto bugs to https://github.com/sullo/nikto

正常にアップデートできました!

参考にさせていただいたサイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0