install dependencies
apt -y install screen autoconf bison build-essential curl git-core libapr1 libaprutil1 libcurl4-openssl-dev libgmp3-dev libpcap-dev libpq-dev libreadline6-dev libsqlite3-dev libssl-dev libsvn1 libtool libxml2 libxml2-dev libxslt-dev libyaml-dev locate ncurses-dev openssl wget xsel zlib1g zlib1g-dev ruby-dev
clone repository
cd /usr/share && sudo git clone https://github.com/rapid7/metasploit-framework
rvm
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -L https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
echo "source /etc/profile.d/rvm.sh" >> /root/.profile
cd metasploit-framework
rvm install ruby-2.4.2
gems
cd ..
cd metasploit-framework
gem install bundler
bundle install
start
./msfconsole
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit