Skip to content

Instantly share code, notes, and snippets.

@danrossi
Created April 20, 2014 21:51
Show Gist options
  • Save danrossi/11126172 to your computer and use it in GitHub Desktop.
Save danrossi/11126172 to your computer and use it in GitHub Desktop.
Metasploit Install For OSX
export PATH=/opt/local/bin:/opt/local/msf3:/opt/local/lib/postgresql84/bin:$PATH
# download ruby and postgresql. postgres of mysql is required it wont work with sqlite ?
sudo port install ruby19 +nosuffix postgresql84-server
# install pg gem
sudo gem install pg
# select default ruby
sudo port select --set ruby ruby19
# download metasploit framework sources
wget http://downloads.metasploit.com/data/releases/framework-latest.tar.bz2 -O - | tar -xj
# move to the opt location
mv msf3 /opt/local/
cd /opt/local/msf3
# install gem bundles
bundle install
msfconsole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment