Saturday, February 21, 2015

Install metasploit from github on Ubuntu

I need metasploit but download from www.rapid7.com too big, and i don`t need use pro version. So i chosed developer version from: https://github.com/rapid7/metasploit-framework.git
Install dependency package:
#apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre subversion git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev ruby1.9.3 ruby-dev
#gem install wirble sqlite3 bundler
#curl -L https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable --autolibs=enabled --ruby=1.9.3
#source /usr/local/rvm/scripts/rvm
#rvm install ruby-2.1.5
#gem install rake -v '10.4.2'

Clone from github:
#git clone https://github.com/rapid7/metasploit-framework.git
#bundle install
Note: From metasploit 4.11, required ruby >= 2.1
#rvm list knows
#rvm use 2.1 --default
#rvm -v
#chmod o+r /usr/local/rvm/gems/ruby-2.1.5/gems/robots-0.10.1/lib/robots.rb

run with msfconsole now. :)

----------------------------------------------------------
Thanks for reading
--------------------------------------------------------------------------
Security Research
SecurityLab - Linux Lab -- Window and Cisco Lab
to be continued - I will update more.

No comments:

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...