summaryrefslogtreecommitdiff
path: root/www/whisker/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-04-06 12:29:40 +0000
committerhubertf <hubertf>2003-04-06 12:29:40 +0000
commitf65f4123f82f7b06d868abeedbce81cbab2b7505 (patch)
tree7002f26b847037a8b49a79ef4a125ced4fadeab1 /www/whisker/patches
parent907ad26aaca649ef772eb21567061152a79fe361 (diff)
downloadpkgsrc-f65f4123f82f7b06d868abeedbce81cbab2b7505.tar.gz
Import whisker-2.1: URL scanner used to search for known vulnerable CGIs on websites
The primary purpose of whisker is to be a URL scanner, which is used to search for known vulnerable CGIs on websites. Whisker does this by both scanning the the CGIs directly as well as crawling the website in order to determine what CGIs are already currently in use. Submitted by adrianp@stindustries.net in pkgsrc-wip
Diffstat (limited to 'www/whisker/patches')
-rw-r--r--www/whisker/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/whisker/patches/patch-aa b/www/whisker/patches/patch-aa
new file mode 100644
index 00000000000..c48cf2ddfaf
--- /dev/null
+++ b/www/whisker/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/06 12:29:40 hubertf Exp $
+
+--- whisker.pl.orig Wed Nov 27 22:13:13 2002
++++ whisker.pl Fri Jan 3 22:42:57 2003
+@@ -25,7 +25,7 @@
+ if($^O =~ /Win32/){
+ $WHISKER_DIR='C:\\program files\\whisker\\';
+ } else {
+- $WHISKER_DIR='/usr/local/share/whisker/';
++ $WHISKER_DIR='@PREFIX@/share/whisker/';
+ }
+ }
+
+@@ -58,7 +58,7 @@
+ eval 'use LW';
+ if($@){ $LW=0;
+ if(-e $WHISKER_DIR.'LW.pm'){
+- eval "require $WHISKER_DIR".'LW.pm';
++ eval "require '$WHISKER_DIR'.'LW.pm'";
+ if(!$@){$LW++;}}
+ } else { $LW++; }
+ if(!$LW){