[nikto] New patch for for nikto

Huzaifa Sidhpurwala huzaifas at fedoraproject.org
Tue Sep 18 10:46:12 UTC 2012


commit 126fc4597080b31fdb375d648c4964178c8033fc
Author: Huzaifa Sidhpurwala <huzaifas at redhat.com>
Date:   Tue Sep 18 16:08:48 2012 +0530

    New patch for for nikto

 nikto-libwhisker2.patch |   29 ++++++++++++-----------------
 1 files changed, 12 insertions(+), 17 deletions(-)
---
diff --git a/nikto-libwhisker2.patch b/nikto-libwhisker2.patch
index d83665d..f3852fc 100644
--- a/nikto-libwhisker2.patch
+++ b/nikto-libwhisker2.patch
@@ -1,22 +1,17 @@
-Patch to use system-wide installed libwhisker2
-diff -ru nikto-2.1.4/nikto.pl nikto-2.1.4.new/nikto.pl
---- nikto-2.1.4/nikto.pl	2011-03-28 02:36:38.000000000 +0200
-+++ nikto-2.1.4.new/nikto.pl	2011-03-28 02:35:33.000000000 +0200
-@@ -6,7 +6,7 @@
- use Getopt::Long;
- Getopt::Long::Configure('no_ignore_case');
- 
--# use LW2;                   ### Change this line to use a different installed version
-+use LW2;                   ### Change this line to use a different installed version
- 
- ###############################################################################
- #                               Nikto                                         #
-@@ -85,7 +85,7 @@
+diff -ru nikto-2.1.5/nikto.pl nikto-2.1.5.new/nikto.pl
+--- nikto-2.1.5/nikto.pl	2012-09-18 16:03:18.858811310 +0530
++++ nikto-2.1.5.new/nikto.pl	2012-09-18 16:05:17.954814058 +0530
+@@ -56,11 +56,11 @@
+ setup_dirs();
  require "$CONFIGFILE{'PLUGINDIR'}/nikto_core.plugin";
  nprint("T:" . localtime($COUNTERS{'scan_start'}) . ": Starting", "d");
- require "$CONFIGFILE{'PLUGINDIR'}/nikto_single.plugin";
 -require "$CONFIGFILE{'PLUGINDIR'}/LW2.pm";
 +#require "$CONFIGFILE{'PLUGINDIR'}/LW2.pm";
+ require "$CONFIGFILE{'PLUGINDIR'}/JSON-PP.pm";
+ $VARIABLES{'GMTOFFSET'} = gmt_offset();
+ 
+-# use LW2;                   ### Change this line to use a different installed version
++use LW2;                   ### Change this line to use a different installed version
  
- my ($a, $b) = split(/\./, $LW2::VERSION);
- die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
+ #set SSL Engine
+ LW2::init_ssl_engine($CONFIGFILE{'LW_SSL_ENGINE'});


More information about the scm-commits mailing list