- sudo apt-get install -y ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems
- wget http://updates.metasploit.com/data/releases/framework-4.0.0.tar.bz2
- sudo mkdir /opt/metasploit4
- sudo bunzip framework-4.0.0.tar.bz2
- sudo tar xvf framework-4.0.0.tar
- sudo mv msf3 /opt/metasploit4
- sudo chown -R root:root /opt/metasploit4/msf3
- sudo ln -s /opt/metasploit4/msf3/msf* /usr/local/bin
- cd /opt/metasploit4/msf3
- sudo svn update
- sudo crontab -e -u root # Enter "1 * * * * * /usr/bin/svn update /opt/metasploit4/msf3/ >> /var/log/msf3update.log 2>&1"
- sudo apt-get install -y mysql-server
- sudo apt-get install -y rubygems libmysqlclient-dev
- sudo apt-get install -y ruby-dev
- sudo gem install mysql
References:
wget http://updates.metasploit.com/data/releases/framework-4.0.0.tar.bz2
ReplyDelete--2012-08-01 14:44:06-- http://updates.metasploit.com/data/releases/framework-4.0.0.tar.bz2
Resolving updates.metasploit.com... 184.154.104.2
Connecting to updates.metasploit.com|184.154.104.2|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.metasploit.com/data/releases/framework-4.0.0.tar.bz2 [following]
--2012-08-01 14:44:13-- http://downloads.metasploit.com/data/releases/framework-4.0.0.tar.bz2
Resolving downloads.metasploit.com... 107.6.133.250
Connecting to downloads.metasploit.com|107.6.133.250|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-08-01 14:44:19 ERROR 404: Not Found.
For Step2. this was the result.....Please dont publish such bullshit in future....
Hi Rony,
DeleteThanks for your comment. You are getting the error because download link is broken. I suspect because Rapid7 have updated their website. Additionally, the post is over a year old and since then, we have had updated releases of both Ubuntu and Metasploit.
You can find the latest version of the Metasploit source code at http://downloads.metasploit.com/data/releases/framework-latest.tar.bz2
Also more resent documentation can be located at https://community.rapid7.com/community/metasploit/content?filterID=content~category[documentation]
Cheers
K
rony seems like the kinda person that really doesn't need to be running a tool like this.
ReplyDeleteHi Daniel,
DeleteThanks for the comment.
Regarding Rony's comments, "To each his own"
Cheers
K