Metasploit-framework: msfconsole doesnt start because of bundler on kali arm7

Created on 18 Feb 2020  路  8Comments  路  Source: rapid7/metasploit-framework

Steps to reproduce

How'd you do it?

  1. runing on arm7 kali on raspberrypi3
  2. when launching the msfconsole command I run into this
    [*] Bundler failed to load and returned this error:

    'cannot load such file -- bundler/setup'

[*] You may need to uninstall or upgrade bundler

Expected behavior

What should happen?
msfconsole should be starting

Current behavior

What happens instead?
it fails to start

You might also want to check the last ~1k lines of
/opt/metasploit/apps/pro/engine/config/logs/framework.log or
~/.msf4/logs/framework.log for relevant stack traces

System stuff

Linux 4.14.71-kali-v7+ #1 SMP Sun Oct 14 00:17:58 UTC 2018 armv7l GNU/Linux

Metasploit version

MSF4 - cant launch msfconsole to have full version
I took it from the kali armv7 repo via apt-get

Get this with the version command in msfconsole (or git log -1 --pretty=oneline for a source install).

I installed Metasploit with:

  • [ ] Kali package via apt
  • [ ] Omnibus installer (nightly)
  • [ ] Commercial/Community installer (from http://www.rapid7.com/products/metasploit/download.jsp)
  • [ ] Source install (please specify ruby version)

OS

What OS are you running Metasploit on?
KALI

Thanks

needs-testing-environment question

Most helpful comment

Installing the specific version of bundler worked for me. Got the version to install from msfdb update while msfconsole only printed the above error^^(in the original issue)

POC:

gem install bundler:1.17.3

image

All 8 comments

Perhaps gem install bundler ?

No I already tried that sorry.. It's not working either, I don't get it :'( and the log show nothing

It might be difficult for us to replicate your exact setup. Added the "needs-testing" label in case a community member can help.

Installing the specific version of bundler worked for me. Got the version to install from msfdb update while msfconsole only printed the above error^^(in the original issue)

POC:

gem install bundler:1.17.3

image

Note: I just did this and it didn't work, put it did work when I did a simple gem install bundler without the version. Obviously, depending on when you're reading this, the version may be different, so may be best to just install the latest.

@zms200 did you try msfdb update prior to installing with bundler? As mentioned above^, the specific version obtained from msfdb update worked.

Hello guys, I solved the problem by doing this : gem install bundler inside the metasploit folder, it worked a few days after I ran into this problem. Thanks for the great support.

Great! Thanks for the update.

Was this page helpful?
0 / 5 - 0 ratings