sullo / nikto

Nikto web server scanner
Other
8.61k stars 1.24k forks source link

nikto.pl update ERROR #449

Closed ubuntutest closed 7 years ago

ubuntutest commented 7 years ago

Hello, I am trying to update the nikto, but i'm getting the following error like other users.

`~/nikto/nikto/program# perl nikto.pl -update
+ ERROR (404): Unable to get cirt.net/nikto/UPDATES/2.1.6/versions.txt`
~/nikto/nikto# git pull
Already up-to-date.

I'm using Ubuntu 16.04

How to solve that? thank you

sullo commented 7 years ago

The git versions should only be updated via git.

On Mar 13, 2017, at 12:43 PM, ubuntutest notifications@github.com wrote:

Hello, I am trying to update the nikto, but i'm getting the following error like other users.

`~/nikto/nikto/program# perl nikto.pl -update

ERROR (404): Unable to get cirt.net/nikto/UPDATES/2.1.6/versions.txt` ~/nikto/nikto# git pull Already up-to-date. I'm using Ubuntu 16.04

How to solve that? thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ubuntutest commented 7 years ago

I don't understand. I downloaded the zip file and I uploaded it on ftp. Does not work. I downloaded the file with git clone. Does not work. I tried to give git pull, reading some old posts. Still not working

sullo commented 7 years ago

Pulling down either the zip or the clone git will give you the absolute latest source. git pull won't show any updates until someone commits a change to the git repository.

On Mon, Mar 13, 2017 at 4:14 PM, ubuntutest notifications@github.com wrote:

I don't understand. I downloaded the zip file and I uploaded it on ftp. Does not work. I downloaded the file with git clone. Does not work. I tried to give git pull, reading some old posts. Still not working

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sullo/nikto/issues/449#issuecomment-286229251, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaBRNBTd-HH4PeG2M-fa4kdLPZNQ51cks5rlaOMgaJpZM4Mbgyv .

--

http://cirt.net | http://richsec.com/

ubuntutest commented 7 years ago

Well, so whats the problem? Why it wont works?

tautology0 commented 7 years ago
  1. nikto -update is deprecated for the git version. I should probably patch that.
  2. You have the latest version - there's nothing up update to
ubuntutest commented 7 years ago

Clear and simple, thank you

tautology0 commented 7 years ago

I've added a deprecation message just to state this explicitly. I'm still keeping the code for now as this will all change as of 2.2.0.

In change https://github.com/sullo/nikto/commit/46c9647f862dde4b83e25ca1dd68d338e5406fdb