Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292312 - net-analyzer/nikto-2.1.1 bump request
Summary: net-analyzer/nikto-2.1.1 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Perl team
URL: http://www.cirt.net/nikto2
Whiteboard:
Keywords:
: 307431 (view as bug list)
Depends on:
Blocks: 297970
  Show dependency tree
 
Reported: 2009-11-07 21:53 UTC by Marcin Mirosław
Modified: 2011-08-01 14:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---
dabbott: Bugday+


Attachments
nikto-2.1.0.ebuild (nikto-2.1.0.ebuild,819 bytes, text/plain)
2009-11-13 01:41 UTC, David Abbott (RETIRED)
Details
nikto-2.1.0.ebuild (nikto-2.1.0.ebuild,819 bytes, text/plain)
2009-11-13 02:01 UTC, David Abbott (RETIRED)
Details
/etc/nikto.conf (nikto.conf,2.62 KB, text/plain)
2009-11-13 02:49 UTC, David Abbott (RETIRED)
Details
nikto-2.1.0.ebuild (nikto-2.1.0.ebuild,1.05 KB, text/plain)
2009-11-13 20:48 UTC, David Abbott (RETIRED)
Details
nikto-2.1.0.ebuild (nikto-2.1.0.ebuild,1.06 KB, text/plain)
2009-11-13 21:25 UTC, David Abbott (RETIRED)
Details
/etc/nikto.conf (nikto.conf,2.69 KB, text/plain)
2009-11-13 21:26 UTC, David Abbott (RETIRED)
Details
nikto.conf (nikto.conf,2.69 KB, text/plain)
2009-11-14 14:28 UTC, Marcin Mirosław
Details
change CHANGES.txt dir patch (changesdir.patch,651 bytes, patch)
2009-11-14 14:29 UTC, Marcin Mirosław
Details | Diff
"fake" changes.txt (CHANGES.txt,57 bytes, text/plain)
2009-11-14 14:30 UTC, Marcin Mirosław
Details
nikto-2.1.0.ebuild (nikto-2.1.0.ebuild,1.37 KB, text/plain)
2009-11-14 14:30 UTC, Marcin Mirosław
Details
nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1004 bytes, text/plain)
2010-02-17 22:46 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf (nikto.conf,2.69 KB, text/plain)
2010-02-17 22:49 UTC, David Abbott (RETIRED)
Details
nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1.18 KB, text/plain)
2010-02-18 21:08 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf (nikto.conf,2.68 KB, text/plain)
2010-02-18 21:09 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1.29 KB, text/plain)
2010-02-18 21:36 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf (nikto.conf,2.68 KB, text/plain)
2010-02-18 21:37 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf.patch (nikto.conf.patch,480 bytes, text/plain)
2010-02-18 21:37 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1.29 KB, text/plain)
2010-02-20 01:07 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf (nikto.conf,2.68 KB, text/plain)
2010-02-20 01:07 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto.conf.patch (nikto.conf.patch,480 bytes, text/plain)
2010-02-20 01:07 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1.40 KB, text/plain)
2010-02-22 21:09 UTC, David Abbott (RETIRED)
Details
net-analyzer/nikto/files/nikto-2.1.1-PL.patch (nikto-2.1.1-PL.patch,905 bytes, patch)
2010-02-22 21:13 UTC, David Abbott (RETIRED)
Details | Diff
net-analyzer/nikto/nikto-2.1.1.ebuild (nikto-2.1.1.ebuild,1.35 KB, text/plain)
2010-02-23 06:11 UTC, David Abbott (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-11-07 21:53:48 UTC
New version is available since 2007 :)

Reproducible: Always
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-11-13 01:41:37 UTC
Created attachment 210094 [details]
nikto-2.1.0.ebuild

Let me know if it works OK.
Comment 2 David Abbott (RETIRED) gentoo-dev 2009-11-13 02:01:08 UTC
Created attachment 210096 [details]
nikto-2.1.0.ebuild

This one installs the package in the location more in line with the man page.
Comment 3 David Abbott (RETIRED) gentoo-dev 2009-11-13 02:49:49 UTC
Created attachment 210097 [details]
/etc/nikto.conf

Working configuration file.
Comment 4 Marcin Mirosław 2009-11-13 08:57:13 UTC
Thank you for your work.
I tried run nikto with default config but i got:
"Could not work out the nikto EXECDIR, try setting it in niktorc"
So /etc/nikto.conf should has set correct EXECDIR (e.g. /usr/share/nikto ).
I found another problem, nikto -update can retrieve new plugins and databases from cirt.net , so i wonder if plugins dir (/usr/share/nikto/plugins) should be in /var/lib/nikto/plugins ? (Then option PLUGINDIR in nikto.conf should have value /var/lib/nikto/plugins). What do you think about it?
Comment 5 David Abbott (RETIRED) gentoo-dev 2009-11-13 20:48:13 UTC
Created attachment 210173 [details]
nikto-2.1.0.ebuild

Updated the ebuild to install the default /etc/nikto.conf. Just need to put it into net-analyzer/nikto/files.
Comment 6 David Abbott (RETIRED) gentoo-dev 2009-11-13 20:58:45 UTC
(In reply to comment #4)
> Thank you for your work.
> I tried run nikto with default config but i got:
> "Could not work out the nikto EXECDIR, try setting it in niktorc"
> So /etc/nikto.conf should has set correct EXECDIR (e.g. /usr/share/nikto ).
> I found another problem, nikto -update can retrieve new plugins and databases
> from cirt.net , so i wonder if plugins dir (/usr/share/nikto/plugins) should be
> in /var/lib/nikto/plugins ? (Then option PLUGINDIR in nikto.conf should have
> value /var/lib/nikto/plugins). What do you think about it?
> 
I just ran nikto -h 192.168.0.3 with the updated /etc/nikto.conf and it worked here.

I also get the error when I run nikto -update
+ ERROR: Unable to open '/usr/local/bin/nikto/docs/CHANGES.txt' for write: 
1 at /usr/share/nikto/plugins/nikto_core.plugin line 1485.

I will have to work on patching that file or you can if you want.

I am not a full developer, I am a staff member doing on the job ebuild training :)
Comment 7 David Abbott (RETIRED) gentoo-dev 2009-11-13 21:25:37 UTC
Created attachment 210174 [details]
nikto-2.1.0.ebuild

Ok I got -update to work. You need the updated nikto.conf just put it into /usr/local/portage/net-analyzer/nikto/files I quess you are installing from a local overlay
Comment 8 David Abbott (RETIRED) gentoo-dev 2009-11-13 21:26:15 UTC
Created attachment 210176 [details]
/etc/nikto.conf
Comment 9 Marcin Mirosław 2009-11-14 14:26:42 UTC
(In reply to comment #6)
> I also get the error when I run nikto -update
> + ERROR: Unable to open '/usr/local/bin/nikto/docs/CHANGES.txt' for write: 
> 1 at /usr/share/nikto/plugins/nikto_core.plugin line 1485.
> 
> I will have to work on patching that file or you can if you want.

I've made patch.
 
> I am not a full developer, I am a staff member doing on the job ebuild training
> :)

So i did training too ;)

I attached ebuild i move all plugins dir to /var/lib/nikto (and CHANGES.txt), so nikot -update works with /usr mount RO (i think usr shouldn't be modified by application, only by portage). I did it in dirty way, i'm not sure is it completly in gentoo-way. I removed nmap from DEPEND, now it's needed (http://cirt.net/nikto2-docs/configuration.html#id2788191 )
Comment 10 Marcin Mirosław 2009-11-14 14:28:54 UTC
Created attachment 210231 [details]
nikto.conf
Comment 11 Marcin Mirosław 2009-11-14 14:29:41 UTC
Created attachment 210233 [details, diff]
change CHANGES.txt dir patch
Comment 12 Marcin Mirosław 2009-11-14 14:30:36 UTC
Created attachment 210235 [details]
"fake" changes.txt
Comment 13 Marcin Mirosław 2009-11-14 14:30:55 UTC
Created attachment 210237 [details]
nikto-2.1.0.ebuild
Comment 14 Marcin Mirosław 2010-02-15 09:18:10 UTC
Ping.
Comment 15 Sergey Kondakov 2010-02-15 14:24:02 UTC
while i'm also extremely frustrated about "gentoo kabbalah" not answering for _years_ i also think that Voting would be a good idea (above "commenting" field).

there is also a "new" release of nikto (2.1.1)
Comment 16 Patrick Lauer gentoo-dev 2010-02-16 11:07:34 UTC
(In reply to comment #15)
> while i'm also extremely frustrated about "gentoo kabbalah" not answering for
> _years_ i also think that Voting would be a good idea (above "commenting"
> field).
I don't see how voting would help - the simple cause of this bug not being fixed yet is simply lack of manpower. I can't even promise to have a look at it in the next days ... So please, have some more patience. We're doing what we can.

> 
> there is also a "new" release of nikto (2.1.1)
Yey!
Comment 17 David Abbott (RETIRED) gentoo-dev 2010-02-16 13:25:27 UTC
Marcin
Thanks for your input, it is currently in [perl-experimental] overlay
http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=tree

Soon I will update it to 2.1.1 so we can test it.
Comment 18 Sergey Kondakov 2010-02-16 18:38:10 UTC
(In reply to comment #16)
> I don't see how voting would help - the simple cause of this bug not being
> fixed yet is simply lack of manpower. I can't even promise to have a look at it
> in the next days ... So please, have some more patience. We're doing what we
> can.

really ? because

1) if ignoring bugs for _years_ is considered a way to go this should be pretty big lack of manpower. possible one worthy of some indication on gentoo's main page and some actions in favour of expanding this "manpower" even by sacrificing something else.

2) how is it a manpower what is lacking if there are completed ebuild lying RIGHT HERE ?

3) and most important, how do you not see how voting would help if its very reason of existence is to prioritize needed (voted) bugs in a state of lacking manpower ?

> Yey!

really funny, huh ?
Comment 19 Willard Dawson 2010-02-17 20:42:28 UTC
Ditto that.  Please test and release to the main portage tree.

Thanks!
Comment 20 Marcin Mirosław 2010-02-17 21:27:31 UTC
Please, let us wait a one moment more, let David prepare nikto-2.1.
Comment 21 David Abbott (RETIRED) gentoo-dev 2010-02-17 22:46:34 UTC
Created attachment 220113 [details]
nikto-2.1.1.ebuild

When I run nikto -update
+ Retrieving 'db_tests'
+ www.cirt.net message: Please submit your bugs!!

qlist net-analyzer/nikto-2.1.1
/usr/bin/nikto
/usr/bin/nikto.pl
/usr/share/nikto/docs/nikto_manual.html
/usr/share/nikto/docs/nikto.1
/usr/share/nikto/docs/LICENSE.txt
/usr/share/nikto/docs/CHANGES.txt
/usr/share/nikto/docs/nikto.dtd
/usr/share/nikto/plugins/db_realms
/usr/share/nikto/plugins/nikto_subdomain.plugin
/usr/share/nikto/plugins/db_httpoptions
/usr/share/nikto/plugins/nikto_dictionary_attack.plugin
/usr/share/nikto/plugins/nikto_passfiles.plugin
/usr/share/nikto/plugins/nikto_embedded.plugin
/usr/share/nikto/plugins/nikto_outdated.plugin
/usr/share/nikto/plugins/nikto_headers.plugin
/usr/share/nikto/plugins/nikto_cgi.plugin
/usr/share/nikto/plugins/nikto_multiple_index.plugin
/usr/share/nikto/plugins/nikto_apacheusers.plugin
/usr/share/nikto/plugins/db_subdomains
/usr/share/nikto/plugins/db_headers
/usr/share/nikto/plugins/LW2.pm
/usr/share/nikto/plugins/db_server_msgs
/usr/share/nikto/plugins/db_favicon
/usr/share/nikto/plugins/nikto_report_xml.plugin
/usr/share/nikto/plugins/db_multiple_index
/usr/share/nikto/plugins/nikto_put_del_test.plugin
/usr/share/nikto/plugins/nikto_single.plugin
/usr/share/nikto/plugins/nikto_msgs.plugin
/usr/share/nikto/plugins/nikto_httpoptions.plugin
/usr/share/nikto/plugins/nikto_report_text.plugin
/usr/share/nikto/plugins/nikto_robots.plugin
/usr/share/nikto/plugins/nikto_mutate.plugin
/usr/share/nikto/plugins/nikto_tests.plugin
/usr/share/nikto/plugins/db_embedded
/usr/share/nikto/plugins/nikto_core.plugin
/usr/share/nikto/plugins/nikto_apache_expect_xss.plugin
/usr/share/nikto/plugins/db_variables
/usr/share/nikto/plugins/nikto_user_enum_apache.plugin
/usr/share/nikto/plugins/nikto_report_csv.plugin
/usr/share/nikto/plugins/nikto_report_html.plugin
/usr/share/nikto/plugins/db_404_strings
/usr/share/nikto/plugins/nikto_favicon.plugin
/usr/share/nikto/plugins/db_outdated
/usr/share/nikto/plugins/db_tests
/usr/share/nikto/templates/xml_summary.tmpl
/usr/share/nikto/templates/htm_stop.tmpl
/usr/share/nikto/templates/xml_host_item.tmpl
/usr/share/nikto/templates/xml_end.tmpl
/usr/share/nikto/templates/htm_summary.tmpl
/usr/share/nikto/templates/htm_end.tmpl
/usr/share/nikto/templates/._xml_summary.tmpl
/usr/share/nikto/templates/htm_start.tmpl
/usr/share/nikto/templates/htm_host_head.tmpl
/usr/share/nikto/templates/htm_host_im.tmpl
/usr/share/nikto/templates/._xml_host_im.tmpl
/usr/share/nikto/templates/htm_close.tmpl
/usr/share/nikto/templates/xml_host_head.tmpl
/usr/share/nikto/templates/xml_close.tmpl
/usr/share/nikto/templates/xml_start.tmpl
/usr/share/nikto/templates/xml_host_im.tmpl
/usr/share/nikto/templates/htm_host_item.tmpl
/usr/share/doc/nikto-2.1.1/LICENSE.txt.bz2
/usr/share/doc/nikto-2.1.1/CHANGES.txt.bz2
/usr/share/doc/nikto-2.1.1/html/nikto_manual.html
/usr/share/man/man1/nikto.1.bz2
/etc/nikto.conf
Comment 22 David Abbott (RETIRED) gentoo-dev 2010-02-17 22:49:23 UTC
Created attachment 220115 [details]
net-analyzer/nikto/files/nikto.conf

This is the nikto.conf I used.
Comment 23 Marcin Mirosław 2010-02-18 09:48:01 UTC
(In reply to comment #21)
> When I run nikto -update
> + Retrieving 'db_tests'
> + www.cirt.net message: Please submit your bugs!!

It seems it's nothing to worry. There was nothing to update and you are getting  only info message. I've noticed you changed location plugins dir to /usr/share . Imho it's not good idea. /usr should be modified only by root, when i.e. install/upgrade new software. After i run nikto i'm getting:
# equery k nikto
* Checking net-analyzer/nikto-2.1.1 ...
!!! /usr/share/nikto/plugins/db_tests has incorrect MD5sum
   78 out of 79 files passed
If nikto -update change any plugin, there will be more files with incorrect md5sum
Comment 24 David Abbott (RETIRED) gentoo-dev 2010-02-18 12:40:30 UTC
(In reply to comment #23)
> (In reply to comment #21)
> > When I run nikto -update
> > + Retrieving 'db_tests'
> > + www.cirt.net message: Please submit your bugs!!
> 
> It seems it's nothing to worry. There was nothing to update and you are getting
>  only info message. I've noticed you changed location plugins dir to /usr/share
> . Imho it's not good idea. /usr should be modified only by root, when i.e.
> install/upgrade new software. After i run nikto i'm getting:
> # equery k nikto
> * Checking net-analyzer/nikto-2.1.1 ...
> !!! /usr/share/nikto/plugins/db_tests has incorrect MD5sum
>    78 out of 79 files passed
> If nikto -update change any plugin, there will be more files with incorrect
> md5sum
> 
So this is the part we should change;
	
	dodir /var/lib/nikto || die "dodir failed"
	insinto /var/lib/nikto
	doins -r plugins || die "doins failed"
	insinto /var/lib/nikto/plugins

and

PLUGINDIR=/var/lib/nikto/plugins


Comment 25 David Abbott (RETIRED) gentoo-dev 2010-02-18 12:44:18 UTC
Also tove told me latest nikto contains LW2.pm which is from libwhisker AFAICS, so we should bump libwhisker to 2.5 and use this LW2.pm.
Comment 26 David Abbott (RETIRED) gentoo-dev 2010-02-18 21:08:51 UTC
Created attachment 220213 [details]
nikto-2.1.1.ebuild

Added the dep for net-libs/libwhisker-2.5 which is on perl-experimental overlay
both templates and plugins /var/lib/nikto
moved conf to /etc/nikto/nikto.conf
following the way Debian set up their file structure
Comment 27 David Abbott (RETIRED) gentoo-dev 2010-02-18 21:09:14 UTC
Created attachment 220215 [details]
net-analyzer/nikto/files/nikto.conf
Comment 28 David Abbott (RETIRED) gentoo-dev 2010-02-18 21:36:44 UTC
Created attachment 220235 [details]
net-analyzer/nikto/nikto-2.1.1.ebuild

added a patch for conf file location
Comment 29 David Abbott (RETIRED) gentoo-dev 2010-02-18 21:37:16 UTC
Created attachment 220237 [details]
net-analyzer/nikto/files/nikto.conf
Comment 30 David Abbott (RETIRED) gentoo-dev 2010-02-18 21:37:36 UTC
Created attachment 220239 [details]
net-analyzer/nikto/files/nikto.conf.patch
Comment 31 Marcin Mirosław 2010-02-19 11:05:48 UTC
What do you think about this changes to ebuild:
        insinto /usr/share/nikto
-       doins -r docs || die "doins failed"
+       doins docs/nikto.dtd || die "dodoc failed"

        dodir /var/lib/nikto || die "dodir failed"
+       rm plugins/LW2.pm || die "removing bundled library die"
        insinto /var/lib/nikto
        doins -r templates plugins || die "doins failed"
Comment 32 David Abbott (RETIRED) gentoo-dev 2010-02-20 01:06:12 UTC
(In reply to comment #31)
> What do you think about this changes to ebuild:
>         insinto /usr/share/nikto
> -       doins -r docs || die "doins failed"
> +       doins docs/nikto.dtd || die "dodoc failed"
> 
>         dodir /var/lib/nikto || die "dodir failed"
> +       rm plugins/LW2.pm || die "removing bundled library die"

I did not do this only because net-libs/libwhisker does the same thing and will need to be fixed I think. 

nikto.pl would need to be patched here;

setup_dirs();
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
nprint("T:$starttime: Starting", "d");
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm"; ### remove this to use the system LW@.pm

# use LW2; ### Change this line to use a different installed version
# not sure how to do this

>         insinto /var/lib/nikto
>         doins -r templates plugins || die "doins failed"
>
uploaded to [perl-experimental] perl-overlay for testing
http://xrl.us/bgwg4o (Link to git.overlays.gentoo.org)

Seemed to work fine here;

perl /usr/bin/nikto.pl -h 192.168.0.3
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP:          192.168.0.3
+ Target Hostname:    dwabbott.com
+ Target Port:        80
+ Start Time:         2010-02-20 19:57:14
---------------------------------------------------------------------------
+ Server: Apache
+ robots.txt contains 1 entry which should be manually viewed.
+ Retrieved X-Powered-By header: PHP/5.2.6-pl7-gentoo
+ ETag header found on server, inode: 2826503, size: 5211, mtime: 0x456b4b85c4780
+ DEBUG HTTP verb may show server debugging information. See http://msdn.microsoft.com/en-us/library/e8z01xdh%28VS.80%29.aspx for details.
+ /index.php?module=My_eGallery: My_eGallery prior to 3.1.1.g are vulnerable to a remote execution bug via SQL command injection.
+ OSVDB-3233: /phpinfo.php: Contains PHP configuration information
+ OSVDB-12184: /index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings.
+ OSVDB-3092: /downloads/: This might be interesting...
+ OSVDB-3092: /phpmyadmin/: phpMyAdmin is for managing MySQL databases, and should be protected or limited to authorized hosts.
+ OSVDB-3093: /index.php?base=test%20: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3093: /index.php?IDAdmin=test: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3093: /index.php?pymembs=admin: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3093: /index.php?SqlQuery=test%20: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3093: /index.php?tampon=test%20: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3093: /index.php?topic=<script>alert(document.cookie)</script>%20: This might be interesting... has been seen in web logs from an unknown scanner.
+ OSVDB-3268: /icons/: Directory indexing is enabled: /icons
+ OSVDB-3233: /icons/README: Apache default file found.
+ 3818 items checked: 17 item(s) reported on remote host
+ End Time:           2010-02-20 19:57:23 (9 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested

Comment 33 David Abbott (RETIRED) gentoo-dev 2010-02-20 01:07:08 UTC
Created attachment 220419 [details]
net-analyzer/nikto/nikto-2.1.1.ebuild
Comment 34 David Abbott (RETIRED) gentoo-dev 2010-02-20 01:07:36 UTC
Created attachment 220421 [details]
net-analyzer/nikto/files/nikto.conf
Comment 35 David Abbott (RETIRED) gentoo-dev 2010-02-20 01:07:54 UTC
Created attachment 220423 [details]
net-analyzer/nikto/files/nikto.conf.patch
Comment 36 Marcin Mirosław 2010-02-22 09:28:43 UTC
(In reply to comment #32)
> I did not do this only because net-libs/libwhisker does the same thing and will
> need to be fixed I think. 

I'm not sure what you mean. Bundled library should be blocked/removed/etc , because:
# emerge -C libwhisker
# nikto -update
+ No updates required.
+ www.cirt.net message: Please submit your bugs!!
 
We are not sure, which library (shipped by libwhsker or by nikto) is used by nikto. Removing LW from nikto makes it clear.

> nikto.pl would need to be patched here;
[...]
> # not sure how to do this

This change:
-require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
+#require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
-#use LW2;                   ### Change this line to use a different installed version
+use LW2;                   ### Change this line to use a different installed version

Seems to work fine. Nikto uses system LW library.


Comment 37 Marcin Mirosław 2010-02-22 10:25:05 UTC
With proposed above patch, LW2.pm in plugins/ dir is not used. 
Comment 38 David Abbott (RETIRED) gentoo-dev 2010-02-22 21:09:36 UTC
Created attachment 220757 [details]
net-analyzer/nikto/nikto-2.1.1.ebuild

Update ebuild to include new for patch to use system LW2.pm and Removing bundled LW2.pm and put the conf file in /etc/nikto/nikto.conf
Comment 39 David Abbott (RETIRED) gentoo-dev 2010-02-22 21:13:20 UTC
Created attachment 220759 [details, diff]
net-analyzer/nikto/files/nikto-2.1.1-PL.patch

Current version in perl-overlay [perl-experimental]
Comment 40 David Abbott (RETIRED) gentoo-dev 2010-02-23 06:11:36 UTC
Created attachment 220793 [details]
net-analyzer/nikto/nikto-2.1.1.ebuild

moved removing bundled lib LW2.pm in src_prepare
Comment 41 Marcin Mirosław 2010-02-23 09:45:10 UTC
It's ok for me :)
Comment 42 Torsten Veller (RETIRED) gentoo-dev 2010-03-02 09:23:25 UTC
*** Bug 307431 has been marked as a duplicate of this bug. ***
Comment 43 Marcin Mirosław 2010-04-28 12:35:25 UTC
Is something in ebuild that needs more work?
Comment 44 Marcin Mirosław 2010-10-06 13:14:58 UTC
half year ping;)
Comment 45 Thomas Capricelli 2011-01-23 22:24:33 UTC
we've reached 2.1.3 now from the official site. And still no update in gentoo since 2007 ? 
Comment 46 Anton Bolshakov 2011-02-20 15:01:52 UTC
nikto 2.1.4 is out.

This is the change log:

New interactive feature: press N to skip current host and move to next
Updated XML schema
Check for private IP addresses in cookies
Report certificate CN which doesn’t match hostname
Allow multiple cookies to be set in the config file
Regular expressions in test database allow more accurate checks
More data in XML and HTML reports

http://trac.pentoo.ch/browser/portage/trunk/net-analyzer/nikto
Comment 47 Patrick Lauer gentoo-dev 2011-08-01 14:51:56 UTC
+  01 Aug 2011; Patrick Lauer <patrick@gentoo.org> +nikto-2.1.4.ebuild:
+  Bump, fixes #292312. Thanks to everyone who worked on it