lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 26 lines 949 B view raw
1diff --color -ur a/program/nikto.pl b/program/nikto.pl 2--- a/program/nikto.pl 2021-01-30 12:05:54.915072538 +0100 3+++ b/program/nikto.pl 2021-01-30 12:36:42.877729231 +0100 4@@ -223,7 +223,8 @@ 5 # Guess Nikto current directory 6 my $NIKTODIR = abs_path($0); 7 chomp($NIKTODIR); 8- $NIKTODIR =~ s#[\\/]nikto.pl$##; 9+ $NIKTODIR =~ s#[\\/]bin[\\/]\.nikto-wrapped$##; 10+ 11 12 # Guess user's home directory -- to support Windows 13 foreach my $var (split(/ /, "HOME USERPROFILE")) { 14@@ -231,10 +232,10 @@ 15 } 16 17 # Read the conf files in order (previous values are over-written with each, if multiple found) 18- push(@CF,"$NIKTODIR/nikto.conf.default"); 19+ push(@CF,"$NIKTODIR/etc/nikto.conf.default"); 20 push(@CF,"/etc/nikto.conf"); 21 push(@CF,"$home/nikto.conf"); 22- push(@CF,"$NIKTODIR/nikto.conf"); 23+ push(@CF,"$NIKTODIR/etc/nikto.conf"); 24 push(@CF,"nikto.conf"); 25 push(@CF,"$VARIABLES{'configfile'}"); 26