File: 03_no_init_ssl.patch

package info (click to toggle)
nikto 1%3A2.1.5-3.1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 2,444 kB
  • sloc: perl: 5,600; makefile: 12
file content (35 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Don't allow to choose SSL engine.

It would need to ship the modified version of libwhisker2.

Index: nikto/nikto.conf
===================================================================
--- nikto.orig/nikto.conf
+++ nikto/nikto.conf
@@ -70,12 +70,3 @@ DOCDIR=/usr/share/docs/nikto			# Locatio
 # Default plugin macros
 @@MUTATE=dictionary;subdomain
 @@DEFAULT=@@ALL;-@@MUTATE;tests(report:500)
-
-#Choose SSL libs 
-# Options: 
-# SSLeay        - use Net::SSLeay 
-# SSL           - use Net::SSL 
-# auto          - automatically choose whats available 
-#                 (SSLeay wins if both are available) 
-LW_SSL_ENGINE=auto
-
Index: nikto/nikto.pl
===================================================================
--- nikto.orig/nikto.pl
+++ nikto/nikto.pl
@@ -61,9 +61,6 @@ $VARIABLES{'GMTOFFSET'} = gmt_offset();
 use LW2;                   ### Change this line to use a different installed version
 use JSON::PP;
 
-#set SSL Engine
-LW2::init_ssl_engine($CONFIGFILE{'LW_SSL_ENGINE'});
-
 my ($a, $b) = split(/\./, $LW2::VERSION);
 die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);