Closed azamet90 closed 4 years ago
Looks like this was caused by a bump in the rails version due to a recent security patch, the predicate that outputs the warning is:
Our current version is now:
4.2.11.3
Due to an update commit from jenkins https://github.com/rapid7/metasploit-framework/commit/3b2290e4972ce15ea6dbaf8a83139c9986f14a0b#diff-e79a60dc6b85309ae70a6ea8261eaf95R107
This requires a fix on our side
Updated @azamet90's original post to ensure that all the Metasploit console output is now shown in an appropriate code view to make it easier to read.
Any estimate ?
@leosimoesp An engineer is looking at updating this file today :+1:
Nice!
@adamgalway-r7 I tested it here. It's ok
Cheers @leosimoesp, thanks for the verification 👍
msfconsole
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
reline (>= 0)
Available/installed versions of this gem:
- 0.1.4
- 0.1.3
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
.:okOOOkdc' 'cdkOOOko:.
.xOOOOOOOOOOOOc cOOOOOOOOOOOOx.
:OOOOOOOOOOOOOOOk, ,kOOOOOOOOOOOOOOO:
'OOOOOOOOOkkkkOOOOO: :OOOOOOOOOOOOOOOOOO'
oOOOOOOOO. .oOOOOoOOOOl. ,OOOOOOOOo
dOOOOOOOO. .cOOOOOc. ,OOOOOOOOx
lOOOOOOOO. ;d; ,OOOOOOOOl
.OOOOOOOO. .; ; ,OOOOOOOO.
cOOOOOOO. .OOc. 'oOO. ,OOOOOOOc
oOOOOOO. .OOOO. :OOOO. ,OOOOOOo
lOOOOO. .OOOO. :OOOO. ,OOOOOl
;OOOO' .OOOO. :OOOO. ;OOOO;
.dOOo .OOOOocccxOOOO. xOOd.
,kOl .OOOOOOOOOOOOO. .dOk,
:kk;.OOOOOOOOOOOOO.cOk:
;kOOOOOOOOOOOOOOOk:
,xOOOOOOOOOOOx,
.lOOOOOOOl.
,dOd,
.
=[ metasploit v5.0.92-dev ]
+ -- --=[ 2026 exploits - 1102 auxiliary - 343 post ]
+ -- --=[ 562 payloads - 45 encoders - 10 nops ]
+ -- --=[ 7 evasion ]
Metasploit tip: Use sessions -1 to interact with the last opened session
this is the new error after update
Try running gem cleanup reline
?
Try running
gem cleanup reline
?
Seconded, I've run a bundle pristine
with latest master and haven't been able to recreate the issue
Try running
gem cleanup reline
?
i did tryed it but same result
Can you paste the output of running it here please? Bit hard to tell what might be going wrong without that.
Can you paste the output of running it here please? Bit hard to tell what might be going wrong without that.
thx for helping me so much:
gem cleanup reline
Cleaning up installed gems...
Clean up complete
azamet@MrRobots ~/.../cehennem/fbi master msfconsole
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
reline (>= 0)
Available/installed versions of this gem:
- 0.1.4
- 0.1.3
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
^C] StaRting the Metasploit Framework console...\
Aborting...
umm try doing this gem install reline-0.1.4
? Otherwise gem uninstall reline-0.1.3
? From the sounds of it you have multiple versions installed which is getting it confused; or you have no reline versions installed at all?
umm try doing this
gem install reline-0.1.4
? Otherwisegem uninstall reline-0.1.3
? From the sounds of it you have multiple versions installed which is getting it confused; or you have no reline versions installed at all?
with your command suggest it was removed actually but with this new command the output is this:
gem install reline-0.1.4
ERROR: Could not find a valid gem 'reline-0.1.4' (>= 0) in any repository
^CERROR: Interrupted
✘ azamet@MrRobots ~/.../cehennem/fbi master ● gem uninstall reline-0.1.3
Gem 'reline-0.1.3' is not installed
umm try doing this
gem install reline-0.1.4
? Otherwisegem uninstall reline-0.1.3
? From the sounds of it you have multiple versions installed which is getting it confused; or you have no reline versions installed at all?with your command suggest it was removed actually but with this new command the output is this:
gem install reline-0.1.4 ERROR: Could not find a valid gem 'reline-0.1.4' (>= 0) in any repository ^CERROR: Interrupted ✘ azamet@MrRobots ~/.../cehennem/fbi master ● gem uninstall reline-0.1.3 Gem 'reline-0.1.3' is not installed
Ah my bad try this instead gem install reline
. Gave you the wrong command :/
gem install reline
yeah before i did tryed this but result is same
gem install reline
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /var/lib/gems/2.7.0 directory.
✘ azamet@MrRobots ~/.../cehennem/lockphish master ● sudo gem install reline
[sudo] password for azamet:
Successfully installed reline-0.1.4
Parsing documentation for reline-0.1.4
Done installing documentation for reline after 0 seconds
1 gem installed
azamet@MrRobots ~/.../cehennem/lockphish master ● msfconsole
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
reline (>= 0)
Available/installed versions of this gem:
- 0.1.4
- 0.1.3
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
^C] Starting the Metasploit Framework console...|
Aborting...
✘ azamet@MrRobots ~/.../cehennem/lockphish master ●
service postgresql start service postgresql status
msfdb init msfconsole msf > db_status
Steps to reproduce
How'd you do it?
Expected behavior
should open normally and should give session
Current behavior
not giving session but giving this error on start:
log file:
System stuff
kali-linux latest
Metasploit version
Framework Version: 5.0.91-dev
I installed Metasploit with: