2010-06-17 02:20:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Metasploit < Formula
|
2010-06-17 02:20:37 +00:00
|
|
|
homepage 'http://www.metasploit.com/framework/'
|
2013-01-11 10:47:18 +00:00
|
|
|
head 'https://github.com/rapid7/metasploit-framework.git'
|
2013-02-16 07:34:32 +00:00
|
|
|
url 'https://github.com/rapid7/metasploit-framework/archive/2013021301.tar.gz'
|
|
|
|
version '4.5.0-2013021301'
|
|
|
|
sha1 '63934228ec316ca6c2313b151eab6e3bd91f5508'
|
2011-06-05 19:52:32 +00:00
|
|
|
|
2010-06-17 02:20:37 +00:00
|
|
|
def install
|
2013-01-11 10:47:18 +00:00
|
|
|
libexec.install Dir["msf*"]
|
|
|
|
libexec.install 'armitage', 'HACKING', 'data', 'documentation',
|
|
|
|
'external', 'lib', 'modules', 'plugins',
|
|
|
|
'scripts', 'test', 'tools'
|
2012-03-10 06:48:05 +00:00
|
|
|
bin.install_symlink Dir["#{libexec}/msf*","#{libexec}/armitage"]
|
2010-06-17 02:20:37 +00:00
|
|
|
end
|
|
|
|
end
|