diff options
Diffstat (limited to 'dynamic-layers/meta-perl/recipes-security/nikto/files/location.patch')
-rw-r--r-- | dynamic-layers/meta-perl/recipes-security/nikto/files/location.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dynamic-layers/meta-perl/recipes-security/nikto/files/location.patch b/dynamic-layers/meta-perl/recipes-security/nikto/files/location.patch new file mode 100644 index 0000000..edaa204 --- /dev/null +++ b/dynamic-layers/meta-perl/recipes-security/nikto/files/location.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From d1cb702d5147abea0d3208a4d554c61a6f2decd6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Ellis <scott@jumpnowtek.com> | ||
3 | Date: Fri, 28 Dec 2018 11:08:25 -0500 | ||
4 | Subject: [PATCH] Set custom paths | ||
5 | |||
6 | Upstream Status: Inappropriate | ||
7 | |||
8 | Signed-off-by: Scott Ellis <scott@jumpnowtek.com> | ||
9 | --- | ||
10 | nikto.conf | 10 +++++----- | ||
11 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
12 | |||
13 | diff --git a/program/nikto.conf b/program/nikto.conf | ||
14 | index bf36c58..8c55415 100644 | ||
15 | --- a/nikto.conf | ||
16 | +++ b/nikto.conf | ||
17 | @@ -61,11 +61,11 @@ CIRT=107.170.99.251 | ||
18 | CHECKMETHODS=HEAD GET | ||
19 | |||
20 | # If you want to specify the location of any of the files, specify them here | ||
21 | -# EXECDIR=/opt/nikto # Location of Nikto | ||
22 | -# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir | ||
23 | -# DBDIR=/opt/nikto/databases # Location of database dir | ||
24 | -# TEMPLATEDIR=/opt/nikto/templates # Location of template dir | ||
25 | -# DOCDIR=/opt/nikto/docs # Location of docs dir | ||
26 | +EXECDIR=/usr/bin/nikto # Location of Nikto | ||
27 | +PLUGINDIR=/etc/nikto/plugins # Location of plugin dir | ||
28 | +DBDIR=/etc/nikto/databases # Location of database dir | ||
29 | +TEMPLATEDIR=/etc/nikto/templates # Location of template dir | ||
30 | +DOCDIR=/usr/share/doc/nikto # Location of docs dir | ||
31 | |||
32 | # Default plugin macros | ||
33 | # Remove plugins designed to be run standalone | ||
34 | -- | ||
35 | 2.7.4 | ||
36 | |||