Hi all,<br>after nikto update i have such error<br>root@bt:/pentest/web/nikto# ./<a href="http://nikto.pl">nikto.pl</a> -C all -h x.x.x.x -useproxy <a href="http://x.x.x.x:3128">http://x.x.x.x:3128</a><br>- Nikto v2.1.5<br>
---------------------------------------------------------------------------<br>+ Target IP: x.x.x.x<br>+ Target Hostname: x.x.x.x<br>+ Target Port: 80<br>+ Proxy: x.x.x.x:3128<br>+ Start Time: 2012-11-14 11:24:48 (GMT5)<br>
---------------------------------------------------------------------------<br>+ Server: Apache<br>+ Retrieved via header: 1.1 proxy:3128 (squid/2.7.STABLE6)<br>Undefined subroutine &main::get_ips called at /pentest/web/nikto/plugins/nikto_headers.plugin line 72.<br>
<br>Before update all was fine.<br>I find this subroutine in files :<br>root@bt:/pentest/web/nikto/plugins# grep get_ips *<br>nikto_cookies.plugin: my @ips = get_ips($c);<br>nikto_headers.plugin: foreach my $ip (get_ips($response->{$header})) {<br>
<br>But i did not find it's definition in any files<br>This subroutine appears in Nikto v2.1.5 , you can find it in changelog<br><pre>2012-09-16 Nikto 2.1.5 release<br>- Added sub get_ips() to centralize IP extraction from strings<br>
<br>Sorry for bad English :)<br><br><br><br></pre>