Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79123 - nikto.pl -update requires a file to exist to work
Summary: nikto.pl -update requires a file to exist to work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 11:50 UTC by Jesse
Modified: 2005-05-14 12:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2005-01-22 11:50:27 UTC
This is a simple fix- when emerging nikto-1.32, then attempting to update, it complains:
+ ERROR: Unable to open '/usr/share/nikto/plugins/../CHANGES.txt' for write:
1 at /usr/share/nikto/plugins/nikto_core.plugin line 864.

The simple fix is to touch the file, then re-run the update command
bacongo root # touch /usr/share/nikto/plugins/CHANGES.txt
bacongo root # nikto.pl -update

Granted this is all a moot point since it tells you 1.34 exists, but if it's this trivial to fix (make sure the CHANGES.txt file is touched after unpacking) it might as well be done.  I agree should normally be fixed by the creator of the package, but they've already moved on so it has become a legacy problem that should probably be dealt with on the distro-level

Reproducible: Always
Steps to Reproduce:
1. emerge =net-analyzer/nikto-1.32
2. nikto -update

Actual Results:  
bacongo root # nikto.pl -update
+ Retrieving 'server_msgs.db'
+ Retrieving 'nikto_headers.plugin'
+ Retrieving 'servers.db'
+ Retrieving 'scan_database.db'
+ Retrieving 'nikto_core.plugin'
+ Retrieving 'outdated.db'
+ Retrieving 'CHANGES.txt'
+ ERROR: Unable to open '/usr/share/nikto/plugins/../CHANGES.txt' for write:
1 at /usr/share/nikto/plugins/nikto_core.plugin line 864.


Expected Results:  
bacongo root # nikto.pl -update
+ No updates required.
+ www.cirt.net message: Nikto version 1.34 has been released, which fixes a
number of important bugs. Please update to the latest.
Comment 1 Jesse 2005-01-22 12:10:27 UTC
Also noticed this problem exists for 1.34 as well.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-05-14 12:55:23 UTC
OK, I've looked, and the pathing issues aside in 1.32, in 1.34 the message actually reads "No updates will be occurring until version 2 is out"


% nikto --update
+ No updates required.
+ www.cirt.net message: Please bear with the lack of updates until version 2.0 is out.

So it doesn't look like cirt plans on supporting this feature until the next version...