In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
Scan your web server for vulnerabilities with Nikto on squeezeÁstþór IP
Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers.
1. Add non-free archive to apt sources (pico /etc/apt/sources.list)
deb http://ftp.uk.debian.org/debian/ squeeze main non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free
Add non-free behind main in both lines
2. Update the package list
3. Install Nikto
apt-get install nikto
4. Test the local web server
nikto -h localhost
Nikto also supports testing on different ports. Click here for Nikto usage information.