Skip to Content
Mastering Linux Security and Hardening - Second Edition
book

Mastering Linux Security and Hardening - Second Edition

by Donald A. Tevault
February 2020
Intermediate to advanced
666 pages
15h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening - Second Edition

Installing and updating Nikto on Linux

Nikto is in the EPEL repository for Red Hat/CentOS 7, while it's in the normal repository for Ubuntu (we're still waiting for it to show up in EPEL 8). Along with the Nikto package itself, you'll also want to install a servers that have been set up with SSL/TLS encryption.

To install on Red Hat/CentOS, use the following command:

sudo yum install nikto perl-Net-SSLeay

To install on Ubuntu, use the following command:

sudo apt install nikto libnet-ssleay-perl

The next thing you'll want to do is update the database of vulnerability signatures. However, at the time of writing, there's a slight bug in the Red Hat/CentOS implementation. For some reason, the docs directory is missing, which means that the update ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
UNIX and Linux System Administration Handbook, 5th Edition

UNIX and Linux System Administration Handbook, 5th Edition

Trent R. Hein, Evi Nemeth, Garth Snyder, Ben Whaley, Dan Mackin

Publisher Resources

ISBN: 9781838981778Supplemental Content