Metasploit-framework: Metasploit bcrypt Issue (Windows)

Created on 3 Aug 2020  路  4Comments  路  Source: rapid7/metasploit-framework

Steps to reproduce

Windows 10 2004 build 19041.388
CommandoVM version 2020.2

  1. Unable to run Metasploit latest build installed via MSI installer downloaded directly from windows.metasploit.com.
  2. I get this error when trying to run msfconsole:

Bundler could not find compatible versions for gem "bcrypt":
In Gemfile:
metasploit-framework x64-mingw32 was resolved to 5.0.101, which depends on
bcrypt (= 3.1.12) x64-mingw32

Could not find gem 'bcrypt (= 3.1.12)', which is required by gem 'metasploit-framework', in any of the sources.

Expected behavior

Msfconsole should run

Current behavior

Msfconsole does not run

System stuff

Metasploit version

Metasploit-framework v5.0.101

I installed Metasploit with:

  • [ ] Kali package via apt
  • [ ] Omnibus installer (nightly)
  • [x] 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?

Windows 10 2004 build 19041.388
CommandoVM version 2020.2

2020-08-02 22_39_26-Window

bug

Most helpful comment

Just solved this according to this article

Change the file:
\metasploit-framework\embedded\framework\metasploit-framework.gemspec, line 56
from: spec.add_runtime_dependency 'bcrypt', '3.1.12'
to: spec.add_runtime_dependency 'bcrypt', '~> 3.1.12'

All 4 comments

Potentially will be resolved by #13894

Just solved this according to this article

Change the file:
\metasploit-framework\embedded\framework\metasploit-framework.gemspec, line 56
from: spec.add_runtime_dependency 'bcrypt', '3.1.12'
to: spec.add_runtime_dependency 'bcrypt', '~> 3.1.12'

@Melody15 That worked, thanks!

It worked.Thanks a lot....

Was this page helpful?
0 / 5 - 0 ratings