FS#75353 - [metasploit] msfconsole does not work
Attached to Project:
Community Packages
Opened by Tommy Zhang (T-J-M) - Sunday, 17 July 2022, 11:28 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 18 July 2022, 19:14 GMT
Opened by Tommy Zhang (T-J-M) - Sunday, 17 July 2022, 11:28 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 18 July 2022, 19:14 GMT
|
Details
Description:
After recent system upgrades, msfconsole stopped working. This might be a result of ruby-reline with version 0.3.1 breaking dependencies of reline (0.2.5) specified in /opt/metasploit/Gemfile.lock Additional info: * package version(s) metasploit 6.2.5-1 ruby-reline 0.3.1-1 * config and/or log files etc. ``` [tjm@ArchPad metasploit]$ msfconsole Could not find reline-0.2.5 in any of the sources Run `bundle install` to install missing gems. [tjm@ArchPad metasploit]$ ``` Steps to reproduce: 1. Install Metasploit from pacman 2. Run command `msfconsole` |
This task depends upon
Closed by Levente Polyak (anthraxx)
Monday, 18 July 2022, 19:14 GMT
Reason for closing: Fixed
Additional comments about closing: 6.2.7-1
Monday, 18 July 2022, 19:14 GMT
Reason for closing: Fixed
Additional comments about closing: 6.2.7-1
Comment by
Levente Polyak (anthraxx) - Monday,
18 July 2022, 17:57 GMT
The error message is misleading and has to do with devendoring
reline from ruby into dedicated stdlib meta packages. For vendored
dependencies, bundler assumed them as system provided and did not
vendor them into metasploit. The fix is a simple rebuild of
metasploit, which makes bundler pick up reline and bake it into
the vendor dir of metasploit