gitclonehttps://github.com/sullo/nikto# Main script is in program/cdnikto/program# Check out the 2.5.0 branchgitcheckoutnikto-2.5.0# Run using the shebang interpreter./nikto.pl-hhttp://www.example.com# Run using perl (if you forget to chmod)perlnikto.pl-hhttp://www.example.com# OR WITH APTsudoapt-getinstallnikto-y
Docker
gitclonehttps://github.com/sullo/nikto.gitcdniktodockerbuild-tsullo/nikto.# Call it without arguments to display the full helpdockerrun--rmsullo/nikto# Basic usagedockerrun--rmsullo/nikto-hhttp://www.example.com# To save the report in a specific format, mount /tmp as a volume:dockerrun--rm-v $(pwd):/tmpsullo/nikto-hhttp://www.example.com-o/tmp/out.json