pkgsrc/security/nikto/patches/patch-aa
xtraeme d259bef697 Initial import of nikto-1.32 from pkgsrc-wip, packaged by Adrian Portelli.
Nikto is a web server scanner which performs comprehensive tests against web
servers for multiple items, including over 2200 potentially dangerous
files/CGIs, versions on over 140 servers, and problems on over 210 servers.
Scan items and plugins are frequently updated and can be automatically
updated (if desired).
2003-12-05 17:45:23 +00:00

13 lines
690 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/12/05 17:45:24 xtraeme Exp $
--- plugins/nikto_core.plugin.orig Mon Sep 15 00:09:43 2003
+++ plugins/nikto_core.plugin Mon Sep 15 00:10:51 2003
@@ -859,7 +859,7 @@
print "+ Retrieving 'CHANGES.txt'\n";
(my $RES, $CONTENT) = fetch("$serverdir/CHANGES.txt","GET");
if (($CONTENT ne "") && ($RES eq 200)) {
- open(OUT,">$NIKTO{plugindir}/../docs/CHANGES.txt") || die print "+ ERROR: Unable to open '$NIKTO{plugindir}/../CHANGES.txt' for write: $@\n";
+ open(OUT,">$NIKTO{plugindir}/../docs/CHANGES.txt") || die print "+ ERROR: Unable to open '$NIKTO{plugindir}/../docs/CHANGES.txt' for write: $@\n";
print OUT $CONTENT;
close(OUT);
}