Thursday, 15 May 2014

Metasploit Update on backtrack 5R3



Hello,

As we all know that metasploit update is recently switched to github from SVN.

We will get an error while updating the 'msfupdate", if it is not configured to clone with the github.

The github cloning process involves so many changes and troubleshooting errors, I have googled a lot to configure and sharing the same, hoping this may helpful for others having all the settings in one place.

Open the terminal and enter the following command.

-> apt-get update && apt-get install metasploit (it will download around 188mb of data)

-> gem install pg -- --with-pg-config=/opt/metasploit/postgresql/bin/pg_config

-> cd /opt/metasploit/ruby/lib/ruby/1.9.1/i686_64-linux/

-> vim rbconfig.rb

-> comment the following line using "#"

CONFIG["LIBRUBYARG_STATIC"] = “-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static”

-> Now copy and paste the following line next to it.

CONFIG["LIBRUBYARG_STATIC"] = “-Wl,-R -Wl,$(libdir) -L$(libdir)

Note: These instructions are applicable for metasploit on backtrack 5R3 however the newer version Kali Linux has the preconfigured set up to update from github directly.

No comments:

Post a Comment