Nikto SSL error fix

Nikto is an Open Source web server scanner which performs comprehensive tests against web servers for multiple items, including over 6700 potentially dangerous files/programs, checks for outdated versions of over 1250 servers, and version specific problems on over 270 servers.

I have installed Nikto2 on my gentoo machine and started a demo by typing

nikto -h 192.168.4.1

To my surprise it came up with an error

Undefined subroutine &LW2::init_ssl_engine called at /usr/bin/nikto line 66.

Tried to find a solution on google but couldn’t so i have looked at the error again and then fired my vi

vi /usr/bin/nikto

and commented the line

LW2::init_ssl_engine($CONFIGFILE{‘LW_SSL_ENGINE’});

bingo !!!! it worked an now i am able to use Nikto. So basically i  have disabled the SSL support and it worked.

Hope it will help you guys as well !!! Happy Hacking ….

#nikto #net analyzer #web server scanner