How To Install nikto on Rocky Linux 8
Introduction
In this tutorial we learn how to install nikto
on Rocky Linux 8.
What is nikto
Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3300 potentially dangerous files/CGIs, versions on over 625 servers, and version specific problems on over 230 servers. Scan items and plugins are frequently updated and can be automatically updated (if desired).
We can use yum
or dnf
to install nikto
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nikto.
Install nikto on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nikto
using dnf
by running the following command:
sudo dnf -y install nikto
Install nikto on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install nikto
using yum
by running the following command:
sudo yum -y install nikto
How To Uninstall nikto on Rocky Linux 8
To uninstall only the nikto
package we can use the following command:
sudo dnf remove nikto
nikto Package Contents on Rocky Linux 8
/etc/nikto
/etc/nikto/config
/usr/bin/nikto
/usr/bin/nikto-replay
/usr/share/doc/nikto
/usr/share/doc/nikto/CHANGES.txt
/usr/share/doc/nikto/manual.xml
/usr/share/doc/nikto/nikto.dtd
/usr/share/doc/nikto/nikto_manual.html
/usr/share/licenses/nikto
/usr/share/licenses/nikto/LICENSE.txt
/usr/share/licenses/nikto/database-license.txt
/usr/share/man/man1/nikto.1.gz
/usr/share/nikto
/usr/share/nikto/databases
/usr/share/nikto/databases/db_404_strings
/usr/share/nikto/databases/db_content_search
/usr/share/nikto/databases/db_dictionary
/usr/share/nikto/databases/db_drupal
/usr/share/nikto/databases/db_embedded
/usr/share/nikto/databases/db_favicon
/usr/share/nikto/databases/db_headers
/usr/share/nikto/databases/db_httpoptions
/usr/share/nikto/databases/db_multiple_index
/usr/share/nikto/databases/db_outdated
/usr/share/nikto/databases/db_parked_strings
/usr/share/nikto/databases/db_realms
/usr/share/nikto/databases/db_server_msgs
/usr/share/nikto/databases/db_subdomains
/usr/share/nikto/databases/db_tests
/usr/share/nikto/databases/db_variables
/usr/share/nikto/plugins
/usr/share/nikto/plugins/nikto_apache_expect_xss.plugin
/usr/share/nikto/plugins/nikto_apacheusers.plugin
/usr/share/nikto/plugins/nikto_auth.plugin
/usr/share/nikto/plugins/nikto_cgi.plugin
/usr/share/nikto/plugins/nikto_clientaccesspolicy.plugin
/usr/share/nikto/plugins/nikto_content_search.plugin
/usr/share/nikto/plugins/nikto_cookies.plugin
/usr/share/nikto/plugins/nikto_core.plugin
/usr/share/nikto/plugins/nikto_dictionary_attack.plugin
/usr/share/nikto/plugins/nikto_drupal.plugin
/usr/share/nikto/plugins/nikto_embedded.plugin
/usr/share/nikto/plugins/nikto_favicon.plugin
/usr/share/nikto/plugins/nikto_fileops.plugin
/usr/share/nikto/plugins/nikto_headers.plugin
/usr/share/nikto/plugins/nikto_httpoptions.plugin
/usr/share/nikto/plugins/nikto_ms10_070.plugin
/usr/share/nikto/plugins/nikto_msgs.plugin
/usr/share/nikto/plugins/nikto_multiple_index.plugin
/usr/share/nikto/plugins/nikto_negotiate.plugin
/usr/share/nikto/plugins/nikto_outdated.plugin
/usr/share/nikto/plugins/nikto_parked.plugin
/usr/share/nikto/plugins/nikto_paths.plugin
/usr/share/nikto/plugins/nikto_put_del_test.plugin
/usr/share/nikto/plugins/nikto_report_csv.plugin
/usr/share/nikto/plugins/nikto_report_html.plugin
/usr/share/nikto/plugins/nikto_report_nbe.plugin
/usr/share/nikto/plugins/nikto_report_sqlg.plugin
/usr/share/nikto/plugins/nikto_report_text.plugin
/usr/share/nikto/plugins/nikto_report_xml.plugin
/usr/share/nikto/plugins/nikto_robots.plugin
/usr/share/nikto/plugins/nikto_shellshock.plugin
/usr/share/nikto/plugins/nikto_siebel.plugin
/usr/share/nikto/plugins/nikto_sitefiles.plugin
/usr/share/nikto/plugins/nikto_ssl.plugin
/usr/share/nikto/plugins/nikto_subdomain.plugin
/usr/share/nikto/plugins/nikto_tests.plugin
/usr/share/nikto/templates
/usr/share/nikto/templates/htm_close.tmpl
/usr/share/nikto/templates/htm_end.tmpl
/usr/share/nikto/templates/htm_host_head.tmpl
/usr/share/nikto/templates/htm_host_im.tmpl
/usr/share/nikto/templates/htm_host_item.tmpl
/usr/share/nikto/templates/htm_start.tmpl
/usr/share/nikto/templates/htm_stop.tmpl
/usr/share/nikto/templates/htm_summary.tmpl
/usr/share/nikto/templates/xml_close.tmpl
/usr/share/nikto/templates/xml_end.tmpl
/usr/share/nikto/templates/xml_host_head.tmpl
/usr/share/nikto/templates/xml_host_im.tmpl
/usr/share/nikto/templates/xml_host_item.tmpl
/usr/share/nikto/templates/xml_start.tmpl
/usr/share/nikto/templates/xml_summary.tmpl
References
Summary
In this tutorial we learn how to install nikto
on Rocky Linux 8 using yum and dnf.