BT5 how to upgrade MSF to git

Source: Internet
Author: User

Due to the unflattering operation efficiency of Kali in virtual machines, it is determined to upgrade MSF in BT5. The main purpose of the upgrade is that the built-in MSF of bt5r3 is updated using SVN, however, the new version of MSF has stopped updating through SVN. Instead, you must reinstall it. I found a lot of ways on the Internet. I saw that the upgrade was successful in my post, but I was always unable to install it successfully because it was stuck in PG (0.15.0, I personally think the reason is that MSF does not use the built-in Ruby of BT5, but uses the built-in Ruby. Its built-in version is 1.9.1, which is very old ...... Therefore, upgrading the ruby version of the system will not help, but follow the steps below to update MSF to the latest version. When running msfupdate, you can use git to update the system.
1. APT-Get update
2. APT-Get install metasploit
3. Modify the file:/opt/metasploit/Ruby/lib/Ruby/1.9.1/i686-linux/rbconfig. Rb
Changed the line => config ["librubyarg_static"] = "-wl,-r-wl, $ (libdir)-L $ (ruby_so_name) -Static "by => config [" librubyarg_static "] ="-wl,-r-wl, $ (libdir)-L $ (libdir) "(actually remove-L $ (ruby_so_name)-static)
4. Switch to/opt/metasploit/msf3 and run/opt/metasploit/Ruby/bin/bundle install
5. msfupdate
The test is successful. It will no longer be stuck in PG (0.15.0) and cannot be installed successfully.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.