[Nikto-discuss] Undefined subroutine &main::get_ips

alish sultanov2007 at gmail.com
Wed Nov 14 00:34:49 CST 2012


Hi all,
after nikto update i have such error
root at bt:/pentest/web/nikto# ./nikto.pl -C all -h x.x.x.x -useproxy
http://x.x.x.x:3128
- Nikto v2.1.5
---------------------------------------------------------------------------
+ Target IP:          x.x.x.x
+ Target Hostname:    x.x.x.x
+ Target Port:        80
+ Proxy:              x.x.x.x:3128
+ Start Time:         2012-11-14 11:24:48 (GMT5)
---------------------------------------------------------------------------
+ Server: Apache
+ Retrieved via header: 1.1 proxy:3128 (squid/2.7.STABLE6)
Undefined subroutine &main::get_ips called at
/pentest/web/nikto/plugins/nikto_headers.plugin line 72.

Before update all was fine.
I find this subroutine in files :
root at bt:/pentest/web/nikto/plugins# grep get_ips *
nikto_cookies.plugin:        my @ips = get_ips($c);
nikto_headers.plugin:        foreach my $ip (get_ips($response->{$header}))
{

But i did not  find it's definition in any files
This subroutine appears in Nikto v2.1.5 , you can find it in changelog

2012-09-16 Nikto 2.1.5 release
- Added sub get_ips() to centralize IP extraction from strings

Sorry for bad English :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://attrition.org/pipermail/nikto-discuss/attachments/20121114/143a54a0/attachment.html>


More information about the Nikto-discuss mailing list