[Openvas-discuss] Using nikto NASL

Brandon Perry bperry.volatile at gmail.com
Fri Dec 9 23:04:03 CET 2011


What does 'which nikto' return

2011/12/9 Juan José Pavlik Salles <jjpavlik at gmail.com>:
> Here i come again, still can't make nikto work on my reports. Now i tried
> using nikto.nasl with openvas-nasl command, like this:
>
> root at openvas:/var/lib/openvas/plugins# openvas-nasl -t my_host nikto -X
> nikto: Not able to open nor to locate it in include paths
>
> There's definitly something wrong here... This is where nikto is:
>
> root at openvas:/var/lib/openvas/plugins# whereis nikto
> nikto: /etc/nikto.conf /usr/local/bin/nikto.pl /usr/local/bin/nikto
>
> Actually, /usr/local/bin/nikto and nikto.pl are symbolic links to
> /opt/nikto/nikto.pl. What else could i try???
>
> El 9 de diciembre de 2011 11:05, Juan José Pavlik Salles
> <jjpavlik at gmail.com> escribió:
>
>> I found this in my openvassd.dump log file:
>>
>> [15465](/var/lib/openvas/plugins/nikto.nasl) pread: 'nikto.pl' not found
>> in $PATH
>> [15466](/var/lib/openvas/plugins/nikto.nasl) pread: 'nikto.pl' not found
>> in $PATH
>>
>> No surprise though.
>>
>> El 9 de diciembre de 2011 10:53, Juan José Pavlik Salles
>> <jjpavlik at gmail.com> escribió:
>>
>>> I tried the alias solution:
>>>
>>> root at openvas:~/tools/pruebas# tail -3 /root/.bashrc
>>> #fi
>>> export
>>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/nikto
>>> alias sudo='sudo env PATH=$PATH'
>>> root at openvas:~/tools/pruebas#
>>>
>>> without any luck... i also comment:
>>>
>>> #Defaults    env_reset
>>>
>>> In /etc/sudoers, because this line set reset enviroment variables as
>>> default. I'm really lost right now.
>>>
>>> El 9 de diciembre de 2011 06:07, Christian Kuersteiner <ckuerste at gmx.ch>
>>> escribió:
>>>
>>>> On 12/09/2011 11:45 AM, Juan José Pavlik Salles wrote:
>>>>>
>>>>> I've already put nikto's path in .bashrc, but it doesn't work. Why
>>>>> openvas isn't seeing the same PATH var that i see??? any clue?
>>>>>
>>>>> root at openvas:~/tools/pruebas# tail ../../.bashrc
>>>>>     . ~/.bash_aliases
>>>>> fi
>>>>
>>>>
>>>> sudo path is not the same as root path in Ubuntu (--with-secure-path).
>>>> In Ubuntu I used the alias solution in
>>>> http://stackoverflow.com/questions/257616/sudo-changes-path-why
>>>>
>>>> HTH
>>>>
>>>> Christian
>>>>
>>>
>>>
>>>
>>> --
>>> Pavlik Juan José
>>
>>
>>
>>
>> --
>> Pavlik Juan José
>
>
>
>
> --
> Pavlik Juan José
>
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss at wald.intevation.org
> http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
>



-- 
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website


More information about the Openvas-discuss mailing list