Nmap scan and pass output to Nikto

nmap

nmap -p80,443 192.168.0.0/24 -oG - | nikto.pl -h -
click the source code to copy install nmap on any operating system with command-not-found.com