Msfconsole not opening after update

314 views
Skip to first unread message

Ifrah Iman

unread,
Jan 9, 2017, 1:32:46 AM1/9/17
to PentestBox Forum
Hi i installed pentest box in July 2016 so i thought its been a time and i should update it now, so i typed, update all and updated everything. Then i installed one tool netcat through toolsmanager.
Before doing that i was using msfconsole and it was working fine.
However after that Metasploit console is not opening and giving me this error:

First at Update, everything got updated except metasploit. Here is the error it gave me when updating:
Updating: Metasploit
Fetching origin
HEAD is now at 841dada Merge pull request #2 from rapid7/master
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (3/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (4/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most
likely your system doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect
without using SSL, edit your Gemfile sources and change 'https' to 'http'. 


So whenever now i launch msfconsole this error comes:

Bundler could not find compatible versions for gem "rex-registry":
  In Gemfile:
    metasploit-framework x86-mingw32 was resolved to 4.12.20, which depends on
      rex-registry x86-mingw32

Could not find gem 'rex-registry x86-mingw32', which is required by gem 'metasploit-framework x86-mingw32', in any of the sources.

Can i solve the problem without installing Pentest Box all over again -_-

elgoogk...@gmail.com

unread,
Jan 12, 2017, 1:26:41 AM1/12/17
to PentestBox Forum
try : gem install rex-registry


======>
This is mine.

C:\PentestBox\bin\metasploit-framework
> gem install metasploit-payloads
Fetching: metasploit-payloads-1.1.19.gem (100%)
Successfully installed metasploit-payloads-1.1.19
Parsing documentation for metasploit-payloads-1.1.19
Installing ri documentation for metasploit-payloads-1.1.19
Done installing documentation for metasploit-payloads after 3 seconds
1 gem installed

C
:\PentestBox\bin\metasploit-framework
> msfconsole

Bundler could not find compatible versions for gem "metasploit-payloads":

 
In Gemfile:
    metasploit
-framework x86-mingw32 was resolved to 4.12.20,
which depends on
      metasploit
-payloads (= 1.1.13) x86-mingw32

Could
 
not find gem 'metasploit-payloads (= 1.1.13) x86-mingw32', which is required by gem 'metasploit-framework x86-mingw32', in any of the sources.

WTF?

elgoogk...@gmail.com

unread,
Jan 12, 2017, 1:35:30 AM1/12/17
to PentestBox Forum


But ,Try re-installing the pentestbox on a different virtual machine  :

C:\Users\wInd\Desktop
> msfconsole

DL
is deprecated, please use Fiddle

                 _
---------.
             
.' #######   ;."
  .---,.    ;@             @@`;   .---,..
." @@@@@'
.,'@@            @@@@@',.'@@@@ ".
'
-.@@@@@@@@@@@@@          @@@@@@@@@@@@@ @;
   
`.@@@@@@@@@@@@        @@@@@@@@@@@@@@ .'
     "--'.@@@  -.@        @ ,'-   .'--"
          ".@' ; @       @ `
.  ;'
            |@@@@ @@@     @    .
             '
@@@ @@   @@    ,
             
`.@@@@    @@   .
                ',@@     @   ;           _____________
                 (   3 C    )     /|___ / Metasploit! \
                 ;@'. __*__,."    \|--- \_____________/
                  '(.,...."/


       =[ metasploit v4.12.7-dev-bad9c0c                  ]
+ -- --=[ 1549 exploits - 896 auxiliary - 267 post        ]
+ -- --=[ 438 payloads - 38 encoders - 8 nops             ]
+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]

msf >

....





.................hehe


Auto Generated Inline Image 1
Reply all
Reply to author
Forward
0 new messages