Closed filebe777 closed 5 years ago
Hi Can you check if you can run the below command in your Kali Linux ? Does it return any errors ?
/usr/share/metasploit-framework/msfconsole
It ran with the following error. root@welshman:~# /usr/share/metasploit-framework/msfconsole [-] Failed to connect to the database: FATAL: password authentication failed for user "msf" FATAL: password authentication failed for user "msf"
Metasploit Park, System Security Interface Version 4.0.5, Alpha E Ready...
waiting for your response ..plsss.
There appears to be some issues with your installation of Metasploit framework. Are you able to try metasploitHelper on a new installation of Kali/Metasploit framework ? Thanks
I ran metasploitHelper on a new installation of Kali and this is what i got.... so much error in between .. see below
~/msfrpc/python-msfrpc/metasploitHelper# python msfHelper.py -a 154.8.131.171 [] Launching Metasploit msfrpcd [] MSGRPC starting on 127.0.0.1:55552 (NO SSL):Msg... [] URI: /api/ [] MSGRPC backgrounding at 2018-07-24 18:42:53 -0800... [] Reading from msfHelper.db [] Running Nmap against target: 154.8.131.171 Starting Nmap 7.70 ( https://nmap.org ) at 2018-07-24 18:42 AKDT Nmap scan report for 154.8.131.171 Host is up (0.43s latency). Not shown: 8304 filtered ports Some closed ports may be reported as filtered due to --defeat-rst-ratelimit PORT STATE SERVICE VERSION 80/tcp open tcpwrapped 443/tcp open ssl/https? 1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at https://nmap.org/cgi-bin/submit.cgi?new-service : SF-Port443-TCP:V=7.70%T=SSL%I=7%D=7/24%Time=5B57EF5F%P=x86_64-pc-linux-gnu SF:%r(tor-versions,135,"HTTP/1.1\x20400\x20Bad\x20Request\r\nDate:\x20Tue SF:,\x2024\x20Jul\x202018\x2014:31:59\x20GMT\r\nContent-Type:\x20text/html SF:\r\nContent-Length:\x20166\r\nConnection:\x20close\r\nServer:\x20dae\r\ SF:n\r\n\r\n
How do i solve this in kali linux?
** Finding MSF Modules which TARGETURI is set to / *** Test Results from Metasploit Modules Please wait ...
<Thread:0x00007f7519486e68@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00007f7541326258@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 7: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 6: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 5: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:ingets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:in
getc': stream closed in another thread (IOError)<Thread:0x00007f75410d13e0@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 7: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 6: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 5: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:ingets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:in
getc': stream closed in another thread (IOError)<Thread:0x00007f7518df0478@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00005567f3896948@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00005567f395b270@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00007f7520372c00@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00005567f3b37c38@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 6: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 5: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:56:in `gets': no implicit conversion of nil into String (TypeError)<Thread:0x00007f7518226840@/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:93 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last): 7: from /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in
block in spawn' 6: from /usr/share/metasploit-framework/lib/msf/ui/web/console.rb:72:in
block in initialize' 5: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:191:inrun' 4: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:375:in
get_input_line' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:151:inpgets' 2: from /usr/share/metasploit-framework/lib/rex/ui/text/bidirectional_pipe.rb:121:in
gets' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:ingets' /usr/share/metasploit-framework/lib/rex/ui/text/input/buffer.rb:53:in
getc': stream closed in another thread (IOError)