diff options
Diffstat (limited to 'homebrew/nikto')
-rw-r--r-- | homebrew/nikto/.beer | 26 | ||||
-rw-r--r-- | homebrew/nikto/.make.sh-auto | 12 | ||||
-rw-r--r-- | homebrew/nikto/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/nikto/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/nikto/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/nikto/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/nikto/download.sh | 1 |
7 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/nikto/.beer b/homebrew/nikto/.beer new file mode 100644 index 000000000..14b2b7906 --- /dev/null +++ b/homebrew/nikto/.beer @@ -0,0 +1,26 @@ +{ + "name": "Nikto", + "description": "Web server scanner", + "url": "https://github.com/sullo/nikto/archive/2.1.6.tar.gz", + "mirror": null, + "homepage": "https://cirt.net/nikto2", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "cd \"program\" do", + "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! \"" + ], + "version": "2.1.6", + "file": "nikto.rb" +}
\ No newline at end of file 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! " diff --git a/homebrew/nikto/_metadata/description b/homebrew/nikto/_metadata/description new file mode 100644 index 000000000..5bde2d8ff --- /dev/null +++ b/homebrew/nikto/_metadata/description @@ -0,0 +1 @@ +Web server scanner diff --git a/homebrew/nikto/_metadata/homepage b/homebrew/nikto/_metadata/homepage new file mode 100644 index 000000000..701e45b04 --- /dev/null +++ b/homebrew/nikto/_metadata/homepage @@ -0,0 +1 @@ +https://cirt.net/nikto2 diff --git a/homebrew/nikto/_metadata/name b/homebrew/nikto/_metadata/name new file mode 100644 index 000000000..f9d298e59 --- /dev/null +++ b/homebrew/nikto/_metadata/name @@ -0,0 +1 @@ +Nikto diff --git a/homebrew/nikto/_metadata/version b/homebrew/nikto/_metadata/version new file mode 100644 index 000000000..399088bf4 --- /dev/null +++ b/homebrew/nikto/_metadata/version @@ -0,0 +1 @@ +2.1.6 diff --git a/homebrew/nikto/download.sh b/homebrew/nikto/download.sh new file mode 100755 index 000000000..77e788248 --- /dev/null +++ b/homebrew/nikto/download.sh @@ -0,0 +1 @@ +wget https://github.com/sullo/nikto/archive/2.1.6.tar.gz
\ No newline at end of file |