File nikto-config.patch of Package nikto
--- a/program/docs/nikto.1
+++ b/program/docs/nikto.1
@@ -296,17 +296,17 @@
 .RE
 .RE
 .PP
-\fI${NIKTO_DIR}/plugins/db*\fR
+\fI/var/lib/nikto/databases/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/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/templates\fR
 .RS 4
 Contains the templates for nikto\'s output formats\&.
 .RE
--- a/program/nikto.conf
+++ b/program/nikto.conf
@@ -61,11 +61,11 @@
 CHECKMETHODS=HEAD 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
 @@MUTATE=dictionary;subdomain