2010-06-17 02:20:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Metasploit < Formula
|
2011-05-17 17:30:00 +00:00
|
|
|
url "http://updates.metasploit.com/data/releases/framework-3.7.1.tar.bz2"
|
2010-06-17 02:20:37 +00:00
|
|
|
homepage 'http://www.metasploit.com/framework/'
|
2011-05-17 17:30:00 +00:00
|
|
|
sha1 '9a104bcacc8ecf683f5df16613da19076c81413c'
|
|
|
|
|
|
|
|
head "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn
|
2010-06-17 02:20:37 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir["msf*",'data','external','lib','modules','plugins','scripts','test','tools']
|
|
|
|
bin.mkpath
|
|
|
|
Dir["#{libexec}/msf*"].each {|f| ln_s f, bin}
|
|
|
|
end
|
|
|
|
end
|