summaryrefslogtreecommitdiff
path: root/homebrew/nikto/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/nikto/.make.sh-auto')
-rw-r--r--homebrew/nikto/.make.sh-auto12
1 files changed, 12 insertions, 0 deletions
diff --git a/homebrew/nikto/.make.sh-auto b/homebrew/nikto/.make.sh-auto
new file mode 100644
index 000000000..0e56147a6
--- /dev/null
+++ b/homebrew/nikto/.make.sh-auto
@@ -0,0 +1,12 @@
+pkg:setup
+cd "program"
+inreplace "nikto.pl", "/etc/nikto.conf", "#{etc}/nikto.conf"
+inreplace "nikto.conf" do |s|
+s.gsub! "
+s.gsub! "
+"PLUGINDIR=#{pkgshare}/plugins"
+s.gsub! "
+"DBDIR=#{var}/lib/nikto/databases"
+s.gsub! "
+"TEMPLATEDIR=#{pkgshare}/templates"
+s.gsub! "