exploitdb 2018-11-06 (#33940)
This commit is contained in:
parent
87e6e9e66b
commit
9e5bf087b0
1 changed files with 7 additions and 7 deletions
|
@ -2,9 +2,9 @@ class Exploitdb < Formula
|
|||
desc "The official Exploit Database"
|
||||
homepage "https://www.exploit-db.com/"
|
||||
url "https://github.com/offensive-security/exploit-database.git",
|
||||
:tag => "2018-08-18",
|
||||
:revision => "16744756bc5f01071041e2a03a30732cde65efc4"
|
||||
version "2018-08-18"
|
||||
:tag => "2018-11-06",
|
||||
:revision => "363500a603389fc5ebfca441e328229a12700ca7"
|
||||
version "2018-11-06"
|
||||
head "https://github.com/offensive-security/exploit-database.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
@ -13,16 +13,16 @@ class Exploitdb < Formula
|
|||
inreplace "searchsploit",
|
||||
"rc_file=\"\"", "rc_file=\"#{etc}/searchsploit_rc\""
|
||||
|
||||
optpath = opt_share/"exploit-database"
|
||||
optpath = opt_share/"exploitdb"
|
||||
inreplace ".searchsploit_rc" do |s|
|
||||
s.gsub! "\"/opt/exploit-database\"", optpath
|
||||
s.gsub! "\"/opt/exploit-database-papers\"", "#{optpath}-papers"
|
||||
s.gsub! "\"/opt/exploitdb\"", optpath
|
||||
s.gsub! "\"/opt/exploitdb-papers\"", "#{optpath}-papers"
|
||||
end
|
||||
|
||||
bin.install "searchsploit"
|
||||
etc.install ".searchsploit_rc" => "searchsploit_rc"
|
||||
|
||||
upshare = share/"exploit-database"
|
||||
upshare = pkgshare
|
||||
upshare.install %w[.git exploits files_exploits.csv files_shellcodes.csv
|
||||
shellcodes]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue