metasploit 4.5.0 Update 2013010902
Closes Homebrew/homebrew#17128. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
728122c771
commit
7ff5dccebf
1 changed files with 8 additions and 16 deletions
|
@ -2,25 +2,17 @@ require 'formula'
|
|||
|
||||
class Metasploit < Formula
|
||||
homepage 'http://www.metasploit.com/framework/'
|
||||
url 'http://downloads.metasploit.com/data/releases/framework-4.5.0.tar.bz2'
|
||||
sha1 '13c3e4ef5265ecb5b6303d39ca1347982b782886'
|
||||
url 'https://github.com/rapid7/metasploit-framework/archive/2013010902.tar.gz'
|
||||
version '4.5.0-2013010902'
|
||||
sha1 '2bcde6e6209e428fb18195c381597d462b00acf5'
|
||||
|
||||
head "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn
|
||||
|
||||
# Metasploit's tarball comes with a full .svn checkout.
|
||||
# Don't clean these folders, so users can "svn up" to update
|
||||
# metasploit in-place, which apparently is standard for this project.
|
||||
skip_clean :all
|
||||
head 'https://github.com/rapid7/metasploit-framework.git'
|
||||
|
||||
def install
|
||||
libexec.install Dir['.svn','armitage','HACKING',"msf*",'data','documentation','external','lib','modules','plugins','scripts','test','tools']
|
||||
libexec.install Dir["msf*"]
|
||||
libexec.install 'armitage', 'HACKING', 'data', 'documentation',
|
||||
'external', 'lib', 'modules', 'plugins',
|
||||
'scripts', 'test', 'tools'
|
||||
bin.install_symlink Dir["#{libexec}/msf*","#{libexec}/armitage"]
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
Metasploit can be updated in-place by doing:
|
||||
cd `brew --prefix metasploit`/libexec/
|
||||
svn up
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue