Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 292312 | Differences between
and this patch

Collapse All | Expand All

(-)nikto.pl.orig (-4 / +2 lines)
Lines 49-55 Link Here
49
$NIKTO{'DIV'}        = "-" x 75;
49
$NIKTO{'DIV'}        = "-" x 75;
50
$NIKTO{'version'}    = "2.1.1";
50
$NIKTO{'version'}    = "2.1.1";
51
$NIKTO{'name'}       = "Nikto";
51
$NIKTO{'name'}       = "Nikto";
52
$NIKTO{'configfile'} = "/etc/nikto.conf";    ### Change this line if your setup is having trouble finding it
52
$NIKTO{'configfile'} = "/etc/nikto/nikto.conf";    ### Change this line if your setup is having trouble finding it
53
53
54
# read the --config option
54
# read the --config option
55
{
55
{
Lines 85-93 Link Here
85
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
85
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
86
nprint("T:$starttime: Starting", "d");
86
nprint("T:$starttime: Starting", "d");
87
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
87
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
88
require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
88
use LW2;
89
90
# use LW2;                   ### Change this line to use a different installed version
91
89
92
($a, $b) = split(/\./, $LW2::VERSION);
90
($a, $b) = split(/\./, $LW2::VERSION);
93
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
91
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);

Return to bug 292312