Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 108340de68
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.901 kb
require 'formula'
class Metasploit < Formula
homepage 'http://www.metasploit.com/framework/'
url 'http://downloads.metasploit.com/data/releases/framework-4.4.0.tar.bz2'
sha1 '4188c1727364fff857ff1a58cb3f95a5f376cfb1'
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
def install
libexec.install Dir['.svn','armitage','HACKING',"msf*",'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
Jump to Line
Something went wrong with that request. Please try again.