File nikto-config.patch of Package nikto
diff --color --color -Naur nikto-2.5.0.ori/program/docs/nikto.1 nikto-2.5.0/program/docs/nikto.1
--- nikto-2.5.0.ori/program/docs/nikto.1 2023-12-03 17:16:14.000000000 +0100
+++ nikto-2.5.0/program/docs/nikto.1 2023-12-04 12:21:54.928268269 +0100
@@ -1,9 +1,9 @@
.\" Title: nikto
-.\" Author:
+.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 01/19/2010
-.\" Manual:
-.\" Source:
+.\" Manual:
+.\" Source:
.\"
.TH "NIKTO" "1" "01/19/2010" "" ""
.\" disable hyphenation
@@ -291,17 +291,17 @@
.RE
.RE
.PP
-\fI${NIKTO_DIR}/plugins/db*\fR
+\fI/var/lib/nikto/databases/plugins/db*\fR
.RS 4
db files are the databases that nikto uses to check for vulnerabilities and issues within the web server\&.
.RE
.PP
-\fI${NIKTO_DIR}/plugins/*\&.plugin\fR
+\fI/var/lib/nikto/databases/plugins/*\&.plugin\fR
.RS 4
All nikto\'s plugins exist here\&. Nikto itself is just a wrapper script to manage CLI and pass through to the plugins\&.
.RE
.PP
-\fI${NIKTO_DIR}/templates\fR
+\fI/var/lib/nikto/databases/templates\fR
.RS 4
Contains the templates for nikto\'s output formats\&.
.RE
diff --color --color -Naur nikto-2.5.0.ori/program/nikto.conf.default nikto-2.5.0/program/nikto.conf.default
--- nikto-2.5.0.ori/program/nikto.conf.default 2023-12-03 17:16:14.000000000 +0100
+++ nikto-2.5.0/program/nikto.conf.default 2023-12-04 12:23:48.385873478 +0100
@@ -56,30 +56,31 @@
# Cookies: send cookies with all requests
# Multiple can be set by separating with a semi-colon, e.g.:
-# "cookie1=cookie value";"cookie2=cookie val"
+# "cookie1=cookie value";"cookie2=cookie val"
#STATIC-COOKIE="name=value";"something=nothing";
-# The below allows you to vary which HTTP methods are used to check whether an HTTP(s) server
+# The below allows you to vary which HTTP methods are used to check whether an HTTP(s) server
# is running. Some web servers, such as the autopsy web server do not implement the HEAD method
CHECKMETHODS=GET
# If you want to specify the location of any of the files, specify them here
-# EXECDIR=/opt/nikto # Location of Nikto
-# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir
-# DBDIR=/opt/nikto/databases # Location of database dir
-# TEMPLATEDIR=/opt/nikto/templates # Location of template dir
-# DOCDIR=/opt/nikto/docs # Location of docs dir
+
+EXECDIR=/usr/bin/nikto # Location of Nikto
+PLUGINDIR=/var/lib/nikto/plugins # Location of plugin dir
+DBDIR=/var/lib/nikto/databases # Location of database dir
+TEMPLATEDIR=/var/lib/nikto/templates # Location of template dir
+DOCDIR=/usr/share/doc/packages/nikto # Location of docs dir
# Default plugin macros
# Remove plugins designed to be run standalone
@@EXTRAS=dictionary;siebel;embedded
@@DEFAULT=@@ALL;-@@EXTRAS;tests(report:500)
-# Choose SSL libs:
-# SSLeay - use Net::SSLeay
-# SSL - use Net::SSL
-# auto - automatically choose what's available
-# (SSLeay wins if both are available)
+# Choose SSL libs:
+# SSLeay - use Net::SSLeay
+# SSL - use Net::SSL
+# auto - automatically choose what's available
+# (SSLeay wins if both are available)
LW_SSL_ENGINE=auto
# Number of failures before giving up
@@ -89,4 +90,3 @@
# Accessible IPv6 host for -check6 flag only
CHECK6HOST=ipv6.google.com
CHECK6PORT=443
-