Showing posts with label rapid7. Show all posts
Showing posts with label rapid7. Show all posts

9/02/2011

Installing Metasploit 4.0.0 on Apple Mac OS X 10.6.8

The installation instructions are quite well documented on the Rapid7 documentation site[1]; But in my usual style of duplicating data on the Internet, I have documented my efforts below. The key requirements of Xcode and macports was already addressed on this particular machine :)

Note: It's important to ensure that any anti-virus (AV) software is temporarily disabled and appropriate scanning exceptions added, this is to prevent the AV from quarenteening the exploits and payloads that some with metasploit.

  1. sudo bash
  2. port selfupdate
  3. port install ruby19 +nosuffix
  4. echo $PATH # Ensure that /opt/local/bin appears before /usr/bin, else edit ~/.bash_profile file and source it; ". ~/.bash_profile" or "source ~/.bash_profile"
  5. port install mysql5-server
  6. gem install mysql
  7. cd /opt
  8. wget http://updates.metasploit.com/data/releases/framework-4.0.0.tar.bz2
  9. bunzip2 framework-4.0.0.tar.bz2
  10. tar xvf framework-4.0.0.tar
  11. cd msf3
  12. svn update
  13. ln -s /opt/msf3/msf* /opt/local/bin/

References:
  1. https://community.rapid7.com/docs/DOC-1037
  2. http://www.metasploit.com/download/

8/23/2011

Installing Metasploit 4.0.0 on Ubuntu 10.04 LTS

Installing metasploit is quite easy. I have documented the installation instructions that I used below, however its just as simple to follow the more comprehensive instructions from the Rapid7/Metasploit site[1] (https://community.rapid7.com/docs/DOC-1296).



  1. sudo apt-get install -y ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems
  2. wget http://updates.metasploit.com/data/releases/framework-4.0.0.tar.bz2
  3. sudo mkdir /opt/metasploit4
  4. sudo bunzip framework-4.0.0.tar.bz2
  5. sudo tar xvf framework-4.0.0.tar
  6. sudo mv msf3 /opt/metasploit4
  7. sudo chown -R root:root /opt/metasploit4/msf3
  8. sudo ln -s /opt/metasploit4/msf3/msf* /usr/local/bin
  9. cd /opt/metasploit4/msf3
  10. sudo svn update
  11. sudo crontab -e -u root # Enter "1 * * * * * /usr/bin/svn update  /opt/metasploit4/msf3/ >> /var/log/msf3update.log 2>&1"
  12. sudo apt-get install -y mysql-server
  13. sudo apt-get install -y rubygems libmysqlclient-dev
  14. sudo apt-get install -y ruby-dev
  15. sudo gem install mysql


References:
  1. https://community.rapid7.com/docs/DOC-1296